-
Notifications
You must be signed in to change notification settings - Fork 1k
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
scripts/maintenance.sh --no-dry-run
fails to clear deleted datasets and others from the database
#15221
Comments
@jdavcs Is this related to the Alembic migration? |
No, it's not because of Alembic, it's a byproduct of the move to declarative mapping. I'll fix this. |
xref #14972 (same cause) |
Duplicate of #14972. |
I have tried the fix in #15222 and it works in the sense that it doesn't produce an error, however my database disk is very much still full even though I have deleted most stuff referenced there (in terms of histories and datasets in the UI and on disk):
either the maintenance is not deleting what needs to be deleted or there is some flushing needed to be triggered? Could you reopen @nsoranzo since my issue is not about the script failing but whether that is the correct way or not of freeing up disk space for the postgres database. At least that was the purpose of the title, I reckon that the description doesn't put the same emphasis 😂 . |
@pcm32 That is a different issue than what's in the bug description, I'd open a new one. Any way nothing is deleted from the database so you are looking in the wrong place. |
Describe the bug
Execution of:
fails the
delete_datasets
section with:Galaxy Version and/or server at which you observed the bug
Galaxy Version: 22.05
Commit: 3b068ee
To Reproduce
Steps to reproduce the behavior:
/galaxy/server
or equivalentbash scripts/maintenance.sh --no-dry-run --days 1
Expected behavior
No error of the scripts and reduction of space being used by Postgres.
Additional context
galaxyproject/galaxy-helm#401
I detected this because I saw errors related to the database and it being in recovery mode (probably because it reached a full disk).
The text was updated successfully, but these errors were encountered: