I have been running the docker image of Nextcloud for years (not AiO) and just tried to upgrade it from 26 to 27. I performed the upgrade as usual, by taking down the container, pulling the new version, and putting it up again (has worked flawlessly previously).
But this time, I get the following error message for my app container:
Can you post your Docker compose file? Are you relying on Storage Drivers/the container’s writable layer rather than named volumes for your persistent storage? overlay2 has problems with rename() calls…
Thanks for answering. I am relying on both named volumes and “linked storage” (forgot how it’s called exactly) and the .htaccess is in fact not a named volume… Should put it in a named volume?
Warning: my compose file is probably not optimized and ugly, I scrambled it together a while ago from online sources without really understanding and never took the time to update it…
comment the line with the link to the .htaccess in the docker-compose file,
start the container once and wait until init is completed,
stop the container and then uncomment the line
start the container again.
The update to 27 has worked… still not sure how to deal with this normally and hope the problem will be solved when it comes to migrating to the next version!