Iāve created a nextcloud stack within Portainer and Iām having issues accessing the webui. It seems to be a common issue but unable to troubleshoot from previous forum correspondence.
Initializing nextcloud 26.0.2.1 ...
New nextcloud instance
Initializing finished
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 192.168.32.3. Set the 'ServerName' directive globally to suppress this message
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 192.168.32.3. Set the 'ServerName' directive globally to suppress this message
[Wed Jun 07 00:41:20.739036 2023] [mpm_prefork:notice] [pid 1] AH00163: Apache/2.4.56 (Debian) PHP/8.2.6 configured -- resuming normal operations
[Wed Jun 07 00:41:20.739067 2023] [core:notice] [pid 1] AH00094: Command line: 'apache2 -D FOREGROUND'
links directive is deprecated you should consider using default network (every -compose file get a default network āfor freeā no need to configure anything) - but Iām unsure you need compose format 3.x or at least 2.2
exposing 443:443 on Nextcloud container is pontless
as it doesnāt ship a TLS cert so you canāt connect to the container using TLS
and the container doesnāt listen on :443 (only :80) - use reverse proxy like traefik, nginx or other to setup āTLS terminationā
I would recommend starting with official examples which use redis for file locking and shows much better technique of environment variables configuration using db.env file or use AiO for best results.
I donāt know Portainer maybe you are limited there but I would recommend against using plain ānextcloudā image (which corresponds to ā:latestā) - better define specific version tag e.g. ānextcloud:26.0.2ā so you remain in control of the upgrade process (at least for major versions).
Thanks - it looked like if I changed the port it would boot up the Web UI but I came across another error.
Iāve scrapped that docker-compose and the idea of storing Nextcloud data on a NFS share for now, and would just try and get it installed and have a play around.
Iāve loaded the below docker-compose up but Iām not getting a ācreate an admin accountā prompt when it was spun up. Itās expecting me to already have an account to login toā¦