Upgrade stuck - rsync failure

Environment:

  • Upgrade Nextcloud Server version 34.0.4 → 35.0.2
  • running NC as Container
  • MariaDB 11.8 - also Container
  • Container running on a Synology

Problem:

During the upgrade from 34.0.4 to 35.0.2 i run in the failure message

“rsync: [generator] delete_file: rmdir(custom_tmp) failed: Device or resource busy (16)”

So the upgrade cant finish and service is in maintenance and cant be used.

What i try:

  • The folder custom_tmp exist and is removable (if i remove this folder manualy and restart container than folder will be created new) .
  • I switched back to 34.0.4 - but DB Shema is always 35.x - so this is not running anymore (a lot of missing tables and unknown tables)
  • working on CLI in NC Container is nearly impossible because of internal container restart
  • I cant found a "force"upgrade nor a skip of the rsync…

I have no idea what i can try. Any hints?

best regards,

Mike

Hello,

i found the problem, but can’t explain the reason.

I moved the custom_tmp to an external persistant folder (speeds up temp operations…), in YAML file

- /volume1/docker/nextcloud/tmp:/var/www/html/custom_tmp

In V34.x it works but not in 35.x. After i removed the mapping the container start.

I have no idea why this happens…

best regards,
Mike