and I get an error Job for nextcloud-nginx.service failed because the control process exited with error code.
I assume that is because nginx wants to access the volume nextcloud-app-data as well
/home/nextcloud1/.config/systemd/user/nextcloud-nginx.service
ExecStart=/usr/bin/podman run ...... --volumes-from nextcloud-app:rw,z ${NGINX_IMAGE}
In /mnt/NextCloud/ are files after that (the usual nextcloud content) => nextcloud1 can write there
Could you please give me a hint, how to deal with that?
(the same procedure without runagent -m nextcloud1 podman volume create --opt=device=/mnt/NextCloud/ --opt=type=bind nextcloud-app-data works without error)
journalctl --user -xeu nextcloud-nginx.service
**Hint: You are currently not seeing messages from the system.**
**Users in groups 'adm', 'systemd-journal', 'wheel' can see all messages.**
**Pass -q to turn off this notice.**
**No journal files were opened due to insufficient permissions.**
[1:nextcloud4:nextcloud-app] rsync: [receiver] chown "/var/www/html/apps/cloud_federation_api/l10n/.pl.js.jaEHfm" failed: Operation not permitted (1)
I can see these files on my mounted share:
ls -l /mnt/NextCloud/apps/cloud_federation_api/l10n/pl.js
-rw-------. 1 nextcloud4 nextcloud4 664 May 26 12:15 /mnt/NextCloud/apps/cloud_federation_api/l10n/pl.js
I verified that at my nextcloud5 instance that does not change the volume:
ls -l /home/nextcloud5/.local/share/containers/storage/volumes/nextcloud-app-data/_data/
....
-rw-r--r--. 1 427761 427761 4103 May 26 09:26 index.php
drwxr-xr-x. 6 427761 427761 125 May 26 09:26 lib
-rw-r--r--. 1 nextcloud5 nextcloud5 0 May 26 09:26 nextcloud-init-sync.lock
-rwxr-xr-x. 1 427761 427761 283 May 26 09:26 occ
drwxr-xr-x. 2 427761 427761 55 May 26 09:26 ocs
....
… only one file belongs to nextcloud5 all others to 427761
so I chown all but nextcloud-init-sync.lock to 427761 in my nextcloud4
=> no success “many” files and folders go back to owner nextcloud4 when I run api-cli run configure-module...
=> testfolder belongs to owner of parent folder (nextcloud#)
2.) config of additional containers that are startet by nextcloud# [1:nextcloud#:podman] Error: lsetxattr /home/nextcloud#/.local/share/containers/storage/volumes/nextcloud-app-data/_data/.htaccess: operation not supported
podman is not aware of the --opt=device=/mnt/NextCloud/ --opt=type=bind nextcloud-app-data change