Nova Resource:Tools.zppixbot/SAL

From Wikitech

2021-03-05

  • 10:01 wm-bot: <rhinosf1> clean a bunch of junk up

2021-03-02

  • 22:16 wm-bot: <rhinosf1> MariaDB [(none)]> DROP DATABASE s53093__wiki;
  • 22:16 wm-bot: <rhinosf1> MariaDB [(none)]> DROP DATABASE s53093__quotes;

2021-02-15

  • 12:58 MacFan4000: <RhinosF1> revoked Zppix access due to loss of access to replacement

2020-07-03

  • 21:44 RhinosF1: decom sopel.bot

2020-07-02

  • 15:45 MacFan4000: restart due to downtime
  • 09:05 RhinosF1: tools.zppixbot@tools-sgebastion-08:~$ crontab -ir

2020-07-01

  • 09:22 RhinosF1: moved meetbot stuff to new host

2020-06-30

  • 22:12 RhinosF1: deploy web
  • 21:58 RhinosF1: deploy web
  • 11:58 RhinosF1: delete wiki
  • 11:27 RhinosF1: redirect zppixbotwiki to bots.miraheze.org
  • 09:11 RhinosF1: close ZppixBotWiki

2020-06-26

  • 09:45 RhinosF1: update complete -- T254246
  • 09:33 RhinosF1: update python for bot (not cron) to py37 -- T254246

2020-06-25

  • 09:56 RhinosF1: update done
  • 09:30 RhinosF1: updating /wiki/ to 1.34.2

2020-06-24

  • 19:45 MacFan4000: restarting for config/code change
  • 15:34 MacFan4000: restarting for config/code change

2020-06-23

  • 16:47 MacFan4000: restarting for config change
  • 14:49 MacFan4000: rm -rf credentials.txt (superseded by default.cfg)
  • 14:39 MacFan4000: restarting for config change
  • 14:37 MacFan4000: restarting for config/code changes

2020-06-22

  • 15:46 wm-bot: <zppixbot> auto-update@website: Synced website repo in 45.s
  • 14:20 RhinosF1: removed dschultz (Examknow) from search console

2020-06-21

  • 21:24 RhinosF1: reset & updated mhphab config T255922
  • 21:18 RhinosF1: reset & updated status.py config T255922

2020-06-20

  • 23:16 RhinosF1: scrambled email&pw for a user
  • 23:08 RhinosF1: restart all pods to unfallout T255926
  • 21:39 RhinosF1: deploy a status config change (temp due to fallout) and add new twitter api key --T255922
  • 18:34 RhinosF1: revoke access of EK for ToU vio

2020-06-18

  • 22:20 RhinosF1: rm default.remind.db - corrupted
  • 21:56 RhinosF1: started deployment & cron back -- T255763
  • 21:49 RhinosF1: stop running ddtrace for T255763
  • 21:46 RhinosF1: stop sopel & cron to reset pip, pyc, and mmdb -- T255763
  • 13:42 wm-bot: <rhinosf1> redeployed v7 with a sketchy trace tool to attempt to do something about T255763
  • 11:56 wm-bot: <rhinosf1> switch pod to running ddtrace-run for some tests
  • 10:36 wm-bot: <rhinosf1> reset pycache due to update rollback
  • 08:29 wm-bot: <rhinosf1> Restart - Release Version 7 (cf T253381)

2020-06-17

  • 18:02 MacFan4000: removing reminder that I just added and restarting
  • 14:31 wm-bot: <zppixbot> auto-update@website: Synced website repo in 50.s
  • 14:16 wm-bot: <zppixbot> auto-update@website: Synced website repo in 45.s
  • 13:18 MacFan4000: restarting for new module/code changes and created mysql database for quotes

2020-06-16

  • 15:46 wm-bot: <zppixbot> auto-update@website: Synced website repo in 50.s

2020-06-15

  • 16:43 MacFan4000: restart for config/code changes

2020-06-11

  • 23:53 MacFan4000: restarting again
  • 23:47 MacFan4000: restarting for config/code changes
  • 22:31 wm-bot: <zppixbot> auto-update@website: Synced website repo in 39.s
  • 13:45 RhinosF1: added sitemap.xml to search console
  • 13:33 wm-bot: <zppixbot> auto-update@website: Synced website repo in 95.s
  • 13:16 wm-bot: <zppixbot> auto-update@website: Synced website repo in 45.s

2020-06-10

  • 22:09 MacFan4000: restarting for code/config changes T255077
  • 22:03 RhinosF1: rmv RO T255060
  • 21:44 Texas: chmod -R g+w $HOME
  • 21:30 RhinosF1: enable category tree + set 2FA rights up, clean up LS.php - then run git pull, update.php and composer update --no-dev T255060
  • 21:29 RhinosF1: wiki to read-only for T255060
  • 21:06 RhinosF1: - added sitenotice for T255060
  • 18:45 wm-bot: <zppixbot> auto-update@website: Synced website repo in 46.s
  • 18:31 MacFan4000: remove read-only T255024
  • 18:27 MacFan4000: got short URLs working after more editing of LocalSettings and .lighttpd.conf T255024
  • 18:05 MacFan4000: update $wgArticlePath + add RewriteRules in .lighttpd.conf and restart webservice T255024
  • 18:01 MacFan4000: update $wgScriptPath T255024
  • 17:53 MacFan4000: mv wiki w T255024
  • 17:50 MacFan4000: git pull in public_html/wiki T255024
  • 17:46 MacFan4000: wiki to read-only T255024

2020-06-09

  • 12:07 wm-bot: <rhinosf1> restart webservice as canonical

2020-06-08

  • 18:16 wm-bot: <zppixbot> auto-update@website: Synced website repo in 43.s
  • 17:23 wm-bot: <zppix1> re-enable reload
  • 17:14 MacFan4000: restarted for code changes
  • 15:57 wm-bot: <zppixbot> auto-update@website: Synced website repo in 1.5s
  • 12:34 wm-bot84: <rhinosf1> auto deploy failed to log but I just had a patch ran to update the website
  • 12:16 RhinosF1: replace crontab with "*/15 0,8-23 * * * /usr/bin/jsub -N cron-27 -once -quiet /data/project/zppixbot/bin/python3 /data/project/zppixbot/ZppixBot/deploy.py > /data/project/zppixbot/deploy.log"
  • 10:08 wm-bot84: <rhinosf1> auto-update@website: Synced website repo in 1.0s
  • 10:07 wm-bot84: <rhinosf1> auto-update@website: Synced website repo in 1.0s
  • 10:07 wm-bot84: <rhinosf1> auto-update@website: Synced website repo in 1.0s
  • 10:04 wm-bot84: <rhinosf1> auto-update@website: Synced website repo in 1.4s
  • 09:52 RhinosF1: manually install https://git.io/JfDWA
  • 08:30 RhinosF1: tools.zppixbot@interactive:~$ python3.7 -m venv zbpy37
  • 08:19 RhinosF1: restarting to apply changes for T254348

2020-06-07

  • 21:18 RhinosF1: tools.zppixbot@tools-sgebastion-07:~/ZppixBot/public_html/Font-Awesome$ git submodule update
  • 21:15 RhinosF1: git pull && cd public_html/Font-Awesome && git submodule init

2020-06-06

  • 21:16 Texas: kubectl delete pods --all

2020-06-05

  • 22:45 Texas: kubectl delete pods --all
  • 22:28 Texas: remove junky reminder entries
  • 22:18 MacFan4000: restarting for code and config changes
  • 21:56 Texas: chmod o-r default.cfg
  • 21:53 Texas: chmod a-r default.cfg
  • 21:27 Texas: kubectl delete pods --all

2020-06-04

  • 15:50 MacFan4000: git pull in public_html/wiki
  • 15:45 MacFan4000: restarting web service as php7.3
  • 15:02 MacFan4000: restart for config and code changes
  • 14:00 RhinosF1: 14:15:15 <RhinosF1> !log tools.zppixbot turn logo back on
  • 09:40 RhinosF1: remove logo after test for https://phabricator.wikimedia.org/T254432#6191935
  • 09:27 wm-bot: <rhinosf1> deploy a bunch of changes so I can test the new logo on the wiki
  • 00:20 MacFan4000: restarting for code and config changes

2020-06-03

  • 22:21 Texas: kubectl delete pods sopeltest.bot-6876f8c6b4-svmw5
  • 22:19 Texas: git pull
  • 20:38 MacFan4000: restart for config changes
  • 19:23 MacFan4000: tools.zppixbot@tools-sgebastion-07:~/public_html/wiki$ php maintenance/createAndPromote.php --bureaucrat --sysop Reception123 ******** --force
  • 19:06 Texas: kubectl delete pods sopel.bot-5f889d7cbf-qj4p7
  • 19:05 Texas: git pull
  • 16:56 Texas: php createAndPromote.php --bureaucrat --sysop Examknow ****
  • 16:18 wm-bot: <dschultz> kubectl delete pods --all
  • 16:16 wm-bot: <dschultz> run sopel restart
  • 16:15 wm-bot: <dschultz> Add nick Texas to bot admins
  • 15:51 MacFan4000: restarting for module change

2020-06-02

  • 20:59 Zppix: add Examknow to maintainers
  • 20:46 MacFan4000: add me to admins and reboot
  • 20:40 Zppix: Add MacFan4000 to maintainers
  • 10:17 RhinosF1: cleanup 129 133 171 293 301 (orphan nickname & id, not in above list)
  • 10:08 RhinosF1: run dbclean.py using {P11346} for T254154 END
  • 10:06 RhinosF1: run dbclean.py using {P11346} for T254154 START

2020-06-01

  • 21:15 RhinosF1: .sopel/welcome.db>CREATE TABLE chanops ( id INTEGER PRIMARY key autoincrement, nick VARCHAR(20), chan VARCHAR(20) ); for T254166
  • 21:10 RhinosF1: add *.db to sopel/.gitignore
  • 13:30 RhinosF1: ran select nick_id from nick_values where value < 1546300800 and key = "seen_timestamp" on default.db to generate P11346 for T254154
  • 12:40 RhinosF1: deleting 54 orphan accounts that don't have any attached values
  • 10:08 RhinosF1: END MAINT -- T254046
  • 10:00 RhinosF1: sopel.bot re-created for T254046
  • 09:56 RhinosF1: webservice --backend=kubernetes php7.2 start --canonical for T254046
  • 09:55 RhinosF1: revert sitenotice for T254046
  • 09:45 RhinosF1: empty pycache and switch to new deployment config
  • 09:34 RhinosF1: tar+gzip sopel logs, empty non sopel rubbish
  • 09:31 RhinosF1: cleaned known_users
  • 09:27 RhinosF1: cleaned up channel_values
  • 09:26 RhinosF1: dropped channels noot watched from seen database
  • 09:01 RhinosF1: deleted sopel.bot deployment and stopped webservice - START T254046
  • 08:17 RhinosF1: upload starter-new.sh and switched sopelbot.yaml foor T254046
  • 07:46 RF1dle: add notice for T254046 to wiki index about

2020-05-29

  • 21:24 wm-bot: <rhinosf1> sync done
  • 21:23 wm-bot: <rhinosf1> syncing to deploy 599873 -- T233993

2020-05-28

  • 10:21 RhinosF1: Known inconsistency in git - unable to pull changes (NOW RESOLVED)
  • 10:20 RhinosF1: Known inconsistency in git - unable to pull changes

2020-05-27

  • 11:47 RhinosF1: git pull & kubectl pods delete --all to sync pip3

2020-05-21

  • 10:40 wm-bot: <rhinosf1> drop remind and use sopel default

2020-05-20

  • 10:08 RhinosF1: drop abuse.py & reboot

2020-05-12

  • 12:37 wm-bot: <rhinosf1> load Timeless
  • 12:35 wm-bot: <rhinosf1> Drop Skin:Modern and Skin:Cologne_Blue - no longer part of core
  • 11:21 RhinosF1: update mediawiki instance
  • 09:00 wm-bot: <rhinosf1> rolling back T250861

2020-05-05

  • 09:22 RhinosF1: rolling restart bots for config update

2020-04-22

  • 17:59 wm-bot: <zppix1> restart to pickup new API key

2020-04-19

  • 20:09 wm-bot: <zppix1> restart to pick up new config changes

2020-04-14

2020-04-13

  • 14:20 RhinosF1: update gerrit description for labs/tools/zppixbot - T250074

2020-04-06

  • 08:29 RhinosF1: wiki out of read only
  • 08:26 RhinosF1: wiki to read only, updating all submodules: 'tools.zppixbot@tools-sgebastion-07:~/ZppixBot/public_html/wiki$ git submodule foreach git pull origin REL1_34'

2020-04-03

  • 22:12 RhinosF1: restarted webservice due to update after fiddling with git - now updating submodules, then composer
  • 21:57 RhinosF1: stopping webservice for now
  • 21:35 RhinosF1: reset and force the above due to conflict crazy
  • 21:19 RhinosF1: tools.zppixbot@tools-sgebastion-07:~/ZppixBot/public_html/wiki$ git pull
  • 21:15 RhinosF1: START - MediaWiki Upgrade - T249368

2020-04-02

  • 10:17 RhinosF1: strace requested on zppixbot tool as well - T248960

2020-03-27

  • 10:10 wm-bot: <rhinosf1> rhinosf1 - tar + gzip old raw sopel logs

2020-03-25

  • 11:48 wm-bot: <rhinosf1> rebooted bot, config change
  • 11:38 RhinosF1: turn on log_raw

2020-03-23

  • 23:37 wm-bot59: <rhinosf1> restore abuse.py as it seems to be missing (which is causing logspam) and reboot bot to clear reload error

2020-03-19

  • 22:10 wm-bot: <rhinosf1> gzip access.log and cron errors as they're getting large per -cloud advice
  • 21:55 bd808: `sudo chown tools.zppixbot:tools.zppixbot /data/project/zppixbot/.sopel/ZppixBot-chat.freenode.net.known_users.db` per IRC discussion with RhinosF1

2020-03-18

  • 16:46 wm-bot: <zppix1> disable cron jobs

2020-03-17

  • 22:11 PartyRhino: accidentally moved (rather than copied) know users database, recovered db

2020-03-04

2020-03-03

  • 22:28 wm-bot: <zppix1> add wikibugs to ignore list and restart bot to deploy

2020-03-02

  • 17:06 wm-bot: <root> Hard restart of webservice. Running Pod and requiested version in service.manifest did not match.

2020-03-01

  • 01:15 wm-bot: <root> Migrated custom /data/project/zppixbot/k8s/sopelbot.yaml deployment to 2020 Kubernetes cluster

2020-02-28

  • 19:13 wm-bot: <root> Migrated to 2020 Kubernetes cluster

2020-02-25

  • 21:52 wm-bot: <zppix1> pruned botadmins config var and restarted bot to deploy

2020-02-24

  • 22:29 RhinosF1: ZppixBotWiki update done & unlocked db/removed site notice - reset my own password as it keeps saying incorrect
  • 21:56 RhinosF1: Wiki to read only & starting update for mediawiki & extensions to 1.34
  • 21:43 RhinosF1: prepping upgrades for zppixbotwiki to 1.34
  • 16:19 RhinosF1: change logging_level from DEBUG --> INFO

2020-02-12

  • 23:30 RhinosF1: unlocked wikidb T240898 (updated most things and got it working)
  • 22:42 RhinosF1: 1.31.6 - 1.32 latest commit failed - trying using git reset --hard and hoping
  • 22:32 RhinosF1: upgrading using git pull && update.php to each major version in turn + composer
  • 22:10 RhinosF1: Upload and prep mediawiki for T240898
  • 22:02 RhinosF1: restart webservice as php7.3
  • 21:47 RhinosF1: ZppixBotWiki to read only and begin PHP Upgrade — T240898

2020-01-14

  • 14:23 Zppix: delete pod to attempt force restart due to openstack upgrade (T241347)

2020-01-01

  • 15:34 Zppix: add RhinosF1 as a maintainer

2019-10-07

  • 17:29 Zppix: kubectl delete pods —all

2019-09-22

  • 13:35 Zppix: cleanup ZppixZppixBot-chat.freenode.net.tell.db

2019-09-19

  • 19:05 Zppix: rm GeoLite* to investigate T233346

2019-09-16

  • 02:35 Zppix: removing MacFan4000 as a maintainer due to inactivity and lack of accountability.
  • 02:07 Zppix: upgrade python to 3.5.3 and sopel to 6.9.9 (after some frustration)

2019-05-22

  • 11:43 Zppix: remove a unneeded reminder (requested by a user)

2019-05-11

  • 22:02 Zppix: prune logs in .sopel/logs/

2019-05-02

  • 22:10 Zppix: deployed 5a089f2 & reloaded bot

2019-02-26

  • 19:14 Zppix: Restarting bot for config change

2019-02-08

  • 21:28 MacFan4000: moving Cron from trusty to stretch

2018-11-14

  • 23:35 MacFan4000: reenabling welcome module (no spam for awhile)

2018-07-26

  • 16:23 MacFan4000: restarted

2018-04-11

  • 21:49 MacFan4000: restart due to lots of joins/quits today

2018-04-09

  • 21:53 MacFan4000: Restarted to remove temp help module and autoupdate to latest sopel version

2018-03-25

  • 18:29 MacFan4000: restarted to add to a channel

2018-03-01

  • 01:22 MacFan4000: Restarted a few times for .tell cancelation/module update

2018-01-15

  • 20:57 MacFan4000: #wiki-dev-africa -> #wikimedia-dev-africa in .sopel/default.cfg & restart for config changes

2018-01-06

  • 17:40 MacFan4000: restarted a few times to test canceling reminders.

2018-01-05

  • 21:59 MacFan4000: restarted for config changes
  • 15:05 MacFan4000: restarted for config changes

2017-12-23

  • 14:14 MacFan4000: pulling in new changes for zppixbot T182252

2017-12-22

  • 19:00 Zppix: Updated maintainer list via striker, added macfan400, removed a inactive mantainer

2017-12-20

  • 19:54 Zppix: restarted bot to stop duplicate reminder msgs being sent

2017-12-15

2017-12-13

  • 01:29 Zppix: Deploying Gerrit:397992
  • 01:26 Zppix: Restart due to config change
  • 01:06 Zppix: Created a main bot channel #ZppixBot

2017-12-12

  • 20:22 Zppix: attempted changing k8s config to python image from the python2 image, didnt work due to k8s sopelbot.yaml's setup, will create a task to update the venv in the tools files (/envs/*)

2017-12-04

2017-11-29

  • 23:27 Zppix: cleared reminders.db file.

2017-08-07

  • 19:32 Zppix: Adding Reception123 to maintainers list.

2017-07-08

  • 18:36 Zppix: restarting to clear up some of the bot's cache

2016-12-17

  • 20:22 Zppix: restarted web service to clear cache

2016-11-03

  • 11:57 Zppix|mobile: updating public_html from gerrit repo