Tool:Itwiki-orfanizzabot
Phabricator project: #tool-itwiki-orfanizzabot
Appearance
| Website | https://it.wikipedia.org/wiki/Utente:OrfanizzaBot |
| Description | Tools in use by w:it:Utente:OrfanizzaBot |
| Keywords | itwiki |
| Author(s) | (Valerio_Bozzolantalk) |
| Maintainer(s) | Valerio Bozzolan, Sakretsu, etc. (View all) |
| Source code | https://gitlab.wikimedia.org/valeriobozzolan/mediawiki-orphanizer-bot |
| License | GNU Affero General Public License 3.0 or later |
| Issues | Open tasks · Report a bug |
| Admin log | Nova Resource:Tools.orfanizzabot/SAL |
Access the Tool (production)
Requirements:
- read Help:Toolforge
- be listed in the maintainers (https://toolsadmin.wikimedia.org/tools/id/itwiki-orfanizzabot)
To access the tool:
ssh login.toolforge.org become itwiki-orfanizzabot
Homepage with some public bot logs
Known Kubernetes jobs
To know all the registered Kubernetes jobs, run the command toolforge-jobs list. Example output:
$ toolforge-jobs list +----------------------+------------------------+-------------------+ | Job name: | Job type: | Status: | +----------------------+------------------------+-------------------+ | itwiki-orphanizerbot | scheduled: */3 * * * * | Running for 7m16s | +----------------------+------------------------+-------------------+
More information about Kubernetes itself in Wikimedia Toolforge:
Jobs Backup
In case of nuclear disasters, the jobs can be restored from this Yaml dump obtained from toolforge jobs dump > dump.yaml and that can be restored with toolforge jobs load dump.yaml from this content:
$ toolforge jobs dump - command: ./repository/orphanize.php --warmup=120 --delay=9 --cooldown=50 --no-interaction image: php8.4 name: itwiki-orphanizerbot schedule: '*/3 * * * *'
Troubleshooting
If something does not work, try restarting something. Example:
toolforge-jobs restart itwiki-orphanizerbot
Server Admin Log
To add a line here, just type this command from Toolforge:
dologmsg <something>
All SAL lines:
Nova Resource:Tools.itwiki-orfanizzabot/SAL (new lines)
Nova Resource:Tools.itwiki/SAL (legacy lines)