-
Notifications
You must be signed in to change notification settings - Fork 67
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
Time out during upgrade due to huge data folder lead to incoherent package #666
Comments
I love the 666 issue number :) |
The web interface times out, but the upgrade should continue to run in the background without issue |
Well, I also thought so. But from what I had on my system it does not : All files in |
i manually tested by closing my tab during the yesterday's nextcloud upgrade and it completed smoothly in background without the webpage openned so i'm confused |
I'm trying to reproduce the issue on a VM, will keep you posted. |
Describe the bug
When upgrading a nextcloud instance, the line find $data_dir/data/ -type f -print0 | xargs -r0 chmod 0640 can take a very long time if the data folder is big.
This leads to time-out when an upgrade is performed from the web admin interface and left the package broken as the upgrade process just stop mid-way.
This does not happen from command line.
Please refer to this thread.
Context
/home/yunohost.app/nextcloud
is mounted on the external HDD, but I'm not sure this has an impact.ynh1 to 28.0.2ynh1 but I assume this may happen in any situation.Steps to reproduce
Logs
Here is the end of the log of the upgrade from the webadmin (it's just stop there):
The text was updated successfully, but these errors were encountered: