The Basics
- Nextcloud Server version (e.g., 29.x.x):
- 31.0.1
- Operating system and version (e.g., Ubuntu 24.04):
- Kubuntu 24.04
- Web server and version (e.g, Apache 2.4.25):
- didn’t know how to check
- Reverse proxy and version _(e.g. nginx 1.27.2)
- nginx 2.12.3
- PHP version (e.g, 8.3):
- 8.3.19
- Is this the first time you’ve seen this error? (Yes / No):
- Yes
- When did this problem seem to first start?
- After I fixed some other issues with my installation
- Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
- Nextcloud docker image in a docker compose stack
- Are you using CloudfIare, mod_security, or similar? (Yes / No)
- No
- Filesystem?
- ext4
Summary of the issue you are facing:
I’m running into an issue with the nextcloud docker image in my docker compose stack. The stack consists of nextcloud, mariadb, redis and nginx, and all of them seem to be running fine, except nextcloud. When i run docker compose up, nextcloud throws many versions of the same error:
rsync: [generator] chown "/var/www/html/dist/updatenotification-view-changelog-page.js.map.license" failed: Operation not permitted (1)
Keep in mind I’m new to linux. So if I understand correctly, chown is the command to change ownership of files. So those errors sound like permission problems to me, but I have no idea why they pop up.
Log entries
Nextcloud
2025-03-17 02:28:27 rsync: [generator] chown "/var/www/html/dist/core-legacy-unified-search.js.map.license" failed: Operation not permitted (1)
2025-03-17 02:28:27 rsync: [generator] chown "/var/www/html/dist/core-login.js.map.license" failed: Operation not permitted (1)
2025-03-17 02:28:27 rsync: [generator] chown "/var/www/html/dist/core-main.js.map.license" failed: Operation not permitted (1)
2025-03-17 02:28:27 rsync: [generator] chown "/var/www/html/dist/core-maintenance.js.map.license" failed: Operation not permitted (1)
2025-03-17 02:28:28 rsync: [generator] chown "/var/www/html/dist/core-public-page-menu.js.map.license" failed: Operation not permitted (1)
2025-03-17 02:28:28 rsync: [generator] chown "/var/www/html/dist/core-public.js.map.license" failed: Operation not permitted (1)
2025-03-17 02:28:28 rsync: [generator] chown "/var/www/html/dist/core-recommendedapps.js.map.license" failed: Operation not permitted (1)
2025-03-17 02:28:28 rsync: [generator] chown "/var/www/html/dist/core-systemtags.js.map.license" failed: Operation not permitted (1)
2025-03-17 02:28:28 rsync: [generator] chown "/var/www/html/dist/core-unified-search.js.map.license" failed: Operation not permitted (1)
2025-03-17 02:28:28 rsync: [generator] chown "/var/www/html/dist/core-unsupported-browser-redirect.js.map.license" failed: Operation not permitted (1)
2025-03-17 02:28:28 rsync: [generator] chown "/var/www/html/dist/core-unsupported-browser.js.map.license" failed: Operation not permitted (1)
2025-03-17 02:28:28 rsync: [generator] chown "/var/www/html/dist/dashboard-main.js.map.license" failed: Operation not permitted (1)
2025-03-17 02:28:28 rsync: [generator] chown "/var/www/html/dist/dav-settings-admin-caldav.js.map.license" failed: Operation not permitted (1)
2025-03-17 02:28:28 rsync: [generator] chown "/var/www/html/dist/dav-settings-personal-availability.js.map.license" failed: Operation not permitted (1)
2025-03-17 02:28:28 rsync: [generator] chown "/var/www/html/dist/federatedfilesharing-external.js.map.license" failed: Operation not permitted (1)
2025-03-17 02:28:28 rsync: [generator] chown "/var/www/html/dist/federatedfilesharing-vue-settings-admin.js.map.license" failed: Operation not permitted (1)
2025-03-17 02:28:28 rsync: [generator] chown "/var/www/html/dist/federatedfilesharing-vue-settings-personal.js.map.license" failed: Operation not permitted (1)
2025-03-17 02:28:28 rsync: [generator] chown "/var/www/html/dist/files-init.js.map.license" failed: Operation not permitted (1)
2025-03-17 02:28:28 rsync: [generator] chown "/var/www/html/dist/files-main.js.map.license" failed: Operation not permitted (1)
2025-03-17 02:28:28 rsync: [generator] chown "/var/www/html/dist/files-reference-files.js.map.license" failed: Operation not permitted (1)
2025-03-17 02:28:28 rsync: [generator] chown "/var/www/html/dist/files-search.js.map.license" failed: Operation not permitted (1)
2025-03-17 02:28:28 rsync: [generator] chown "/var/www/html/dist/files-settings-personal.js.map.license" failed: Operation not permitted (1)
2025-03-17 02:28:28 rsync: [generator] chown "/var/www/html/dist/files-sidebar.js.map.license" failed: Operation not permitted (1)
2025-03-17 02:28:28 rsync: [generator] chown "/var/www/html/dist/files_external-init.js.map.license" failed: Operation not permitted (1)
2025-03-17 02:28:28 rsync: [generator] chown "/var/www/html/dist/files_external-settings.js.map.license" failed: Operation not permitted (1)
2025-03-17 02:28:28 rsync: [generator] chown "/var/www/html/dist/files_reminders-init.js.map.license" failed: Operation not permitted (1)
2025-03-17 02:28:28 rsync: [generator] chown "/var/www/html/dist/files_sharing-additionalScripts.js.map.license" failed: Operation not permitted (1)
2025-03-17 02:28:28 rsync: [generator] chown "/var/www/html/dist/files_sharing-collaboration.js.map.license" failed: Operation not permitted (1)
2025-03-17 02:28:28 rsync: [generator] chown "/var/www/html/dist/files_sharing-files_sharing_tab.js.map.license" failed: Operation not permitted (1)
2025-03-17 02:28:28 rsync: [generator] chown "/var/www/html/dist/files_sharing-init-public.js.map.license" failed: Operation not permitted (1)
2025-03-17 02:28:28 rsync: [generator] chown "/var/www/html/dist/files_sharing-init.js.map.license" failed: Operation not permitted (1)
2025-03-17 02:28:28 rsync: [generator] chown "/var/www/html/dist/files_sharing-main.js.map.license" failed: Operation not permitted (1)
2025-03-17 02:28:28 rsync: [generator] chown "/var/www/html/dist/files_sharing-personal-settings.js.map.license" failed: Operation not permitted (1)
2025-03-17 02:28:28 rsync: [generator] chown "/var/www/html/dist/files_sharing-public-file-request.js.map.license" failed: Operation not permitted (1)
2025-03-17 02:28:28 rsync: [generator] chown "/var/www/html/dist/files_trashbin-init.js.map.license" failed: Operation not permitted (1)
2025-03-17 02:28:28 rsync: [generator] chown "/var/www/html/dist/files_versions-files_versions.js.map.license" failed: Operation not permitted (1)
2025-03-17 02:28:28 rsync: [generator] chown "/var/www/html/dist/oauth2-oauth2.js.map.license" failed: Operation not permitted (1)
2025-03-17 02:28:28 rsync: [generator] chown "/var/www/html/dist/profile-main.js.map.license" failed: Operation not permitted (1)
2025-03-17 02:28:28 rsync: [generator] chown "/var/www/html/dist/settings-apps-view-4529.js.map.license" failed: Operation not permitted (1)
2025-03-17 02:28:28 rsync: [generator] chown "/var/www/html/dist/settings-apps.js.map.license" failed: Operation not permitted (1)
2025-03-17 02:28:28 rsync: [generator] chown "/var/www/html/dist/settings-declarative-settings-forms.js.map.license" failed: Operation not permitted (1)
2025-03-17 02:28:28 rsync: [generator] chown "/var/www/html/dist/settings-legacy-admin.js.map.license" failed: Operation not permitted (1)
2025-03-17 02:28:28 rsync: [generator] chown "/var/www/html/dist/settings-users-3239.js.map.license" failed: Operation not permitted (1)
2025-03-17 02:28:28 rsync: [generator] chown "/var/www/html/dist/settings-vue-settings-admin-ai.js.map.license" failed: Operation not permitted (1)
2025-03-17 02:28:28 rsync: [generator] chown "/var/www/html/dist/settings-vue-settings-admin-basic-settings.js.map.license" failed: Operation not permitted (1)
2025-03-17 02:28:28 rsync: [generator] chown "/var/www/html/dist/settings-vue-settings-admin-delegation.js.map.license" failed: Operation not permitted (1)
2025-03-17 02:28:28 rsync: [generator] chown "/var/www/html/dist/settings-vue-settings-admin-security.js.map.license" failed: Operation not permitted (1)
2025-03-17 02:28:28 rsync: [generator] chown "/var/www/html/dist/settings-vue-settings-admin-sharing.js.map.license" failed: Operation not permitted (1)
2025-03-17 02:28:28 rsync: [generator] chown "/var/www/html/dist/settings-vue-settings-apps-users-management.js.map.license" failed: Operation not permitted (1)
2025-03-17 02:28:28 rsync: [generator] chown "/var/www/html/dist/settings-vue-settings-nextcloud-pdf.js.map.license" failed: Operation not permitted (1)
2025-03-17 02:28:28 rsync: [generator] chown "/var/www/html/dist/settings-vue-settings-personal-info.js.map.license" failed: Operation not permitted (1)
2025-03-17 02:28:28 rsync: [generator] chown "/var/www/html/dist/settings-vue-settings-personal-password.js.map.license" failed: Operation not permitted (1)
2025-03-17 02:28:28 rsync: [generator] chown "/var/www/html/dist/settings-vue-settings-personal-security.js.map.license" failed: Operation not permitted (1)
2025-03-17 02:28:28 rsync: [generator] chown "/var/www/html/dist/settings-vue-settings-personal-webauthn.js.map.license" failed: Operation not permitted (1)
2025-03-17 02:28:28 rsync: [generator] chown "/var/www/html/dist/sharebymail-vue-settings-admin-sharebymail.js.map.license" failed: Operation not permitted (1)
2025-03-17 02:28:28 rsync: [generator] chown "/var/www/html/dist/systemtags-admin.js.map.license" failed: Operation not permitted (1)
2025-03-17 02:28:28 rsync: [generator] chown "/var/www/html/dist/systemtags-init.js.map.license" failed: Operation not permitted (1)
2025-03-17 02:28:28 rsync: [generator] chown "/var/www/html/dist/theming-admin-theming.js.map.license" failed: Operation not permitted (1)
2025-03-17 02:28:28 rsync: [generator] chown "/var/www/html/dist/theming-personal-theming.js.map.license" failed: Operation not permitted (1)
2025-03-17 02:28:28 rsync: [generator] chown "/var/www/html/dist/twofactor_backupcodes-settings.js.map.license" failed: Operation not permitted (1)
2025-03-17 02:28:28 rsync: [generator] chown "/var/www/html/dist/updatenotification-init.js.map.license" failed: Operation not permitted (1)
2025-03-17 02:28:28 rsync: [generator] chown "/var/www/html/dist/updatenotification-update-notification-legacy.js.map.license" failed: Operation not permitted (1)
2025-03-17 02:28:28 rsync: [generator] chown "/var/www/html/dist/updatenotification-updatenotification.js.map.license" failed: Operation not permitted (1)
2025-03-17 02:28:28 rsync: [generator] chown "/var/www/html/dist/updatenotification-view-changelog-page.js.map.license" failed: Operation not permitted (1)
2025-03-17 02:28:28 rsync: [generator] chown "/var/www/html/dist/user-status-modal-5133.js.map.license" failed: Operation not permitted (1)
2025-03-17 02:28:28 rsync: [generator] chown "/var/www/html/dist/user_status-menu.js.map.license" failed: Operation not permitted (1)
2025-03-17 02:28:28 rsync: [generator] chown "/var/www/html/dist/weather_status-weather-status.js.map.license" failed: Operation not permitted (1)
2025-03-17 02:28:28 rsync: [generator] chown "/var/www/html/dist/workflowengine-workflowengine.js.map.license" failed: Operation not permitted (1)
It’s all the same, same error every time, and all files this applies to are in /var/www/html.
(No config file, it wasn’t created it, this is literally immediately after running nextcloud the first time).