I try get Nextcloud running on my Synology NAS with changed uid/gid, because I have some folders included where I have no permissions with the default user ā33ā.
Did anyone manage to get it working?
As soon as I change the user I get multple issues which causes the app to not getting startet:
nextcloud | (13)Permission denied: AH00072: make_sock: could not bind to address 0.0.0.0:80
nextcloud | AH00558: apache2: Could not reliably determine the serverās fully qualified domain name, using 192.168.48.4. Set the āServerNameā directive globally to suppress this message
1: I managed to get over it when I mount a empty redis-session.ini into the container with the correct permissions.
Thanks for your replay. Tried you solution still dying with the error:
nextcloud-dev | Configuring Redis as session handler
nextcloud-dev | Initializing nextcloud 28.0.2.5 ...
nextcloud-dev | New nextcloud instance
nextcloud-dev | Initializing finished
nextcloud-dev | => Searching for scripts (*.sh) to run, located in the folder: /docker-entrypoint-hooks.d/before-starting
nextcloud-dev | AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.24.0.5. Set the 'ServerName' directive globally to suppress this message
nextcloud-dev | (13)Permission denied: AH00072: make_sock: could not bind to address 0.0.0.0:80
nextcloud-dev | no listening sockets available, shutting down
nextcloud-dev | AH00015: Unable to open logs
nextcloud-dev exited with code 1
this is a different one. honestly I have no idea why this happens. I tested with version 27 but I think it works with 28 as wellā¦ my compose doesnāt look really different:
initially I was thinking port 80 is the problem (as you canāt bind this port as non-root) but in my case it seems to work as well! at the moment my test instance is broken after moving to another hardwareā¦ but I will check later if it works with v28 a well.