Open Krakinou opened 4 months ago
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 /etc/yunohost/apps/nextcloud
were from previous version.
When upgrading from command line, all files were updated to last version.
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.Steps to reproduce
Logs
Here is the end of the log of the upgrade from the webadmin (it's just stop there):