[19:20:05] !log toolsbeta live-hacking toolsbeta-proxy-1 with https://gerrit.wikimedia.org/r/#/c/operations/puppet/+/579952 (T234617) [19:20:15] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Toolsbeta/SAL [19:20:16] T234617: Toolforge. introduce new domain toolforge.org - https://phabricator.wikimedia.org/T234617 [21:47:02] I think when I was syncing stuff the other day I broke more [21:47:09] I now keep getting: [21:47:11] 21:43:48 [2020-03-19 21:43:47,628] sopel.bot            ERROR    - Unexpected error ([Errno 13] Permission denied: '/data/project/zppixbot/.sopel/ZppixBot-chat.freenode.net.known_users.db') from nagger at 2020-03-19 21:43:47.628839. Message was: https://webchat.freenode.netTraceback (most recent call last):  File "/data/project/zppixbot/lib/python3.5/site-packages/sopel/bot.py", line 590, in call    exit_code = [21:47:11] func(sopel, trigger)  File "/data/project [21:47:36] Anyone know what I broke in the ZppixBot tool [21:48:02] RhinosF1: sounds like file system permissions [21:48:23] maybe your workflow is not great for managing remote files :/ [21:49:05] bd808: I accidentally moved the dB rather than copied it and then restored things. [21:49:10] -rw-r--r-- 1 rhinosf1 tools.zppixbot-test 32K Mar 17 21:29 /data/project/zppixbot/.sopel/ZppixBot-chat.freenode.net.known_users.db [21:49:24] Yeah that needs to be the whole tool I think [21:49:26] the write permission is only for your ssh user and not for the tool [21:49:38] Exactly, how do I fix? [21:49:55] `take /data/project/zppixbot/.sopel/ZppixBot-chat.freenode.net.known_users.db` should fix it [21:50:18] take is our local command to chown files to the calling tool [21:52:37] https://www.irccloud.com/pastebin/eMYOn0IJ/ [21:52:40] bd808: ^ [21:53:07] oh sweet fancy moses [21:53:23] so how did you do this in the first place RhinosF1? [21:53:48] I can fix it, but I would rather not repeat undoing your file permissions issues once a week [21:54:45] Moved the db from zppixbot to zppixbot-test instead of copied, duplicated it and then moved it back to the right tool and changed the name to the right one [21:55:20] bd808: thanks and I'll try and work on improving our file management. [21:55:39] !log tools.zppixbot `sudo chown tools.zppixbot:tools.zppixbot /data/project/zppixbot/.sopel/ZppixBot-chat.freenode.net.known_users.db` per IRC discussion with RhinosF1 [21:55:41] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools.zppixbot/SAL [21:58:34] bd808: Thanks, I'll remember not to break db's again and warn zppix as well as the other 2 times were them. [22:10:46] !log tools.zppixbot gzip access.log and cron errors as they're getting large per -cloud advice [22:10:48] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools.zppixbot/SAL [23:18:12] !log toolsbeta Shut down toolsbeta-puppet(db-01|master-02) - T241719 [23:18:15] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Toolsbeta/SAL [23:18:15] T241719: Migrate remaining self-hosted puppet masters to Puppet 5 / facter 3 - https://phabricator.wikimedia.org/T241719