Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can. ![]()
The Basics
- Nextcloud Server version (e.g., 29.x.x):
32.0.2
- Operating system and version (e.g., Ubuntu 24.04):
Raspbian trixie
- Is this the first time you’ve seen this error? (Yes / No):
No, it happens every update
- Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
Docker image nextcloud:fpm-alpine
Summary of the issue you are facing:
Following the documented update method, I pull the latest version of the Docker image nextcloud:fpm-alpine, then rebuild my own derived image and recreate the container with docker-compose up --build -d
The env variable NEXTCLOUD_UPDATE is set to 1 in order to trigger the update procedure in /entrypoint.sh, which copies the codebase from the image path /usr/src/nextcloud to the Docker volume mounted in /var/www/html.
After the update, all apps installed via the web interface are gone and have to be reinstalled.
As far as I can tell, this is because the update procedure is coded to exclude the folder /var/www/html/custom_apps/ from being overwritten (via the exclusion list at /upgrade.exclude), but when I install apps in the web interface, they are installed to the folder /var/www/html/apps, which is not excluded, and which gets overwritten by the rsync –delete command.
I suspect that my installation is somehow misconfigured and should be installing apps to custom_apps/ instead, but I don’t see how to change this or why it’s not the default.
Steps to replicate it (hint: details matter!):
[See above]