Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cleanup.sh has not run since February 2024 #216

Open
AntiCompositeNumber opened this issue Aug 19, 2024 · 4 comments
Open

cleanup.sh has not run since February 2024 #216

AntiCompositeNumber opened this issue Aug 19, 2024 · 4 comments

Comments

@AntiCompositeNumber
Copy link
Contributor

anticomposite@tools-bastion-13:/data/project/croptool$ tail cleanup.out 
2024-02-03 13:17 Deleted 44 files
2024-02-03 14:17 Deleted 172 files
2024-02-03 15:17 Deleted 76 files
2024-02-03 16:17 Deleted 61 files
2024-02-03 17:17 Deleted 138 files
2024-02-03 18:17 Deleted 94 files
2024-02-03 19:17 Deleted 114 files
2024-02-03 20:17 Deleted 72 files
2024-02-03 22:17 Deleted 402 files
2024-02-03 23:17 Deleted 141 files
anticomposite@tools-bastion-13:/data/project/croptool$ ls -l cleanup.err 
-rw-r--r-- 1 tools.croptool tools.croptool 465084 Aug 19 16:17 cleanup.err
anticomposite@tools-bastion-13:/data/project/croptool$ tail cleanup.err 
/bin/sh: 1: ./jobs/cleanup.sh: Permission denied
/bin/sh: 1: ./jobs/cleanup.sh: Permission denied
/bin/sh: 1: ./jobs/cleanup.sh: Permission denied
/bin/sh: 1: ./jobs/cleanup.sh: Permission denied
/bin/sh: 1: ./jobs/cleanup.sh: Permission denied
/bin/sh: 1: ./jobs/cleanup.sh: Permission denied
/bin/sh: 1: ./jobs/cleanup.sh: Permission denied
/bin/sh: 1: ./jobs/cleanup.sh: Permission denied
/bin/sh: 1: ./jobs/cleanup.sh: Permission denied
/bin/sh: 1: ./jobs/cleanup.sh: Permission denied
anticomposite@tools-bastion-13:/data/project/croptool$ ls -l jobs/cleanup.sh 
-rw-rw-r-- 1 tools.croptool tools.croptool 78 Feb  3  2024 jobs/cleanup.sh
@sohomdatta1
Copy link
Contributor

@AntiCompositeNumber I think it's being run (the setup is different now, there is a service that pings https://croptool.toolforge.org/api/server-cleanup which then does the cleanup inside the container).

@sohomdatta1
Copy link
Contributor

-rw-r--r-- 1 tools.croptool tools.croptool 70 Aug 20 03:14 last_cleanup.log

@AntiCompositeNumber
Copy link
Contributor Author

Then https://wikitech.wikimedia.org/wiki/Tool:CropTool should be updated and whatever is filling up cleanup.err with permission errors should be turned off.

@sohomdatta1
Copy link
Contributor

Minimally updated the wikitech page, maybe @danmichaelo will be able to help with the toolforge configuration error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants