User:KrinkleBot
Toolforge is part of Wikimedia Cloud Services and subject to the Cloud Services End User Terms of use.
KrinkleBot is a bot that keeps Commons:Auto-protected files up to date. Check last edits to determine whether the bot is working. It is scheduled to automatically run once every 10-20 minutes.
Operators:
In case of Toolforge job failure
[edit ]If the continuous fileprotectionsync
process got stuck somehow within the Toolforge jobs system (wikitech:Help:Toolforge/Jobs framework), then follow the below instructions to get things back on track.
First, log in to the server.
$ sshlogin.toolforge.org $ becomekrinklebot
Then, inspect the logs. Were they recently modified?
$ ls-lfileprotectionsync.* -rw-rw---- 1 tools.krinklebot tools.krinklebot 48719 Oct 14 22:52 fileprotectionsync.err -rw-rw---- 1 tools.krinklebot tools.krinklebot 82040 Oct 14 22:52 fileprotectionsync.out
Check to see if there is a fileprotectionsync job scheduled or running:
Scheduled:
$ toolforgejobslist Job name: Job type: Status: ------------------ ---------------------- ---------------------------------------- fileprotectionsync schedule: */10 * * * * Last schedule time: 2023年09月19日T01:50:00Z
Running:
$ toolforgejobslist Job name: Job type: Status: ------------------ ---------------------- --------------- fileprotectionsync schedule: */10 * * * * Running for 58s
If a job has been running for more than a few minutes, try restarting it:
$ toolforgejobsrestartfileprotectionsync
If that doesn't work, or there is no fileprotectionsync job scheduled at all, reload the job.
$ toolforgejobsload~/src/fileprotectionsync/jobs.yaml--jobfileprotectionsync
The bot should now automatically resume within 10 minutes (per the cronjob schedule).
Re-install
[edit ]See https://gerrit.wikimedia.org/g/labs/tools/fileprotectionsync#setup
See also
[edit ]- Toolforge account: krinklebot
- Source code of fileprotectionsync
- Gerrit Code Review: fileprotectionsync
- k8s-status
- Commons:Bots/Requests/KrinkleBot: Bot flag granted for AWB tasks.
- Commons:Bots/Requests/KrinkleBot (2): Sysop flag granted for Commons:Auto-protected files.