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

[Package Update] Preserved Older Versions getting Huge beause Cache is Included #300

Open
exside opened this issue Jul 26, 2018 · 0 comments

Comments

@exside
Copy link

exside commented Jul 26, 2018

I recently discovered that the <hash>.preserved.0.zip files for older versions of Gallery in the packages directory are getting gigantic (several GB, yes, a site with a lot of images...), so I wondered why...

It wasn't long until I discovered, that the package manager would just backup/preserve the assets/components/gallery folder, which includes the cache folder, which can get quite large in size...

I think this folder should be moved elsewhere for that reason or at least an installation option should be provided that makes the user aware of this (e.g. tell user to change cache path on installation because of that...). Maybe there is also an option in the transport manager to ignore certain folders when updating?

It actually goes so far, that the installation fails with MySQL server has gone away ... errors because the zipping of the cache folder takes so much time due to the size, just moving the cache folder one level up for the time of update/installation solves the issue.

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

1 participant