Nextcloud All-in-One docker installation is failing

I am trying to run Nextcloud All-in-One inside a docker container by following the instructions at: https://github.com/nextcloud/all-in-one

When I attempt to connect to the management console, the web page just hangs after login.

I get this log from the container:

Initial startup of Nextcloud All-in-One complete!
You should be able to open the Nextcloud AIO Interface now on port 8080 of this server!
E.g. https://internal.ip.of.this.server:8080
:warning: Important: do always use an ip-address if you access this port and not a domain as HSTS might block access to it later!
If your server has port 80 and 8443 open and you point a domain to your server, you can get a valid certificate automatically by opening the Nextcloud AIO Interface via:
https://your-domain-that-points-to-this-server.tld:8443

INF ts=1713373052.3191056 msg=using provided configuration config_file=/Caddyfile config_adapter=
[17-Apr-2024 16:57:32] NOTICE: fpm is running, pid 145
[17-Apr-2024 16:57:32] NOTICE: ready to handle connections
[Wed Apr 17 16:57:32.419750 2024] [mpm_event:notice] [pid 135:tid 136698922875656] AH00489: Apache/2.4.58 (Unix) OpenSSL/3.1.4 configured – resuming normal operations
[Wed Apr 17 16:57:32.419814 2024] [core:notice] [pid 135:tid 136698922875656] AH00094: Command line: ‘httpd -D FOREGROUND’
NOTICE: PHP message: Could not start domaincheck container: Could not start container nextcloud-aio-domaincheck: Server error: POST http://localhost/v1.41/containers/nextcloud-aio-domaincheck/start resulted in a 500 Internal Server Error response:
{“message”:"driver failed programming external connectivity on endpoint nextcloud-aio-domaincheck (271d83fc1270f6368bfe3 (truncated…)

I see in portainer that the nextcloud-aio-domaincheck container was created and exited, but I can’t see any logs for it.

So, how can I diagnose this? Or does anyone know what I am doing wrong?

TIA,

Mike.

Here is the command I used to start the container(s):

sudo docker run
–init
–sig-proxy=false
–name nextcloud-aio-mastercontainer
–restart always
–publish 6080:80
–publish 6081:8080
–publish 6443:8443
–env NEXTCLOUD_DATADIR=“nextcloud_aio_nextcloud_datadir”
–volume nextcloud_aio_mastercontainer:/mnt/docker-aio-config
–volume /var/run/docker.sock:/var/run/docker.sock:ro
nextcloud/all-in-one:latest

Can’t believe I left that out…

Hi, apparently a different service is already running on your server that needs port 443. see all-in-one/reverse-proxy.md at main · nextcloud/all-in-one · GitHub how to get aio running in that case

I ended up adding:

    --env APACHE_PORT=11000 \

to my startup command.

Thanks,

Mike.