You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Hardware: Raspberry 4 with data folder on an external SSD HDD.
YunoHost version: 11.2.10
I have access to my server: Through SSH & through the webadmin
Are you in a special context or did you perform some particular tweaking on your YunoHost instance?: yes
External HDD mounted on /home/yunohost.app/nextcloud is mounted on the external HDD, but I'm not sure this has an impact.
The data folder is >400Gb, with many small files so this can take a very long time to chmod...
If upgrading, current package version: In my example 27.1.4ynh1 to 28.0.2ynh1 but I assume this may happen in any situation.
Steps to reproduce
Have a big data folder
Try to upgrade the app through the webadmin
Wait
Once time out occurs, check the version of the instance & the package with yunohost app info nextcloud => the package is still at the old version
Connect to the nextcloud instance and check the nextcloud version => it's the version from the new package.
Logs
Here is the end of the log of the upgrade from the webadmin (it's just stop there):
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.
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: