Hi all,
I am trying to install Nextcloud AIO docker in my Unraid system, where the duckdns and swag docker is also running.
My unraid has the ip 192.168.0.90 and the docker compose for the Nextcloud AIO docker is the following:
docker run
-d
--name='nextcloud-aio-mastercontainer'
--net='bridge'
-e TZ="Europe/Berlin"
-e HOST_OS="Unraid"
-e HOST_HOSTNAME="UnRaidBirgit"
-e HOST_CONTAINERNAME="nextcloud-aio-mastercontainer"
-e 'APACHE_PORT'='11000'
-e 'NEXTCLOUD_DATADIR'='/mnt/disk2/NextCloud AIO/data'
-l net.unraid.docker.managed=dockerman
-l net.unraid.docker.webui='http://[IP]'
-l net.unraid.docker.icon='https://github.com/Muwahhidun/logo/raw/main/nextcloud-aio-logo.png'
-p '8080:8080/tcp'
-v 'nextcloud_aio_mastercontainer':'/mnt/docker-aio-config':'rw'
-v '/var/run/docker.sock':'/var/run/docker.sock':'ro' 'nextcloud/all-in-one:latest'
77665e740835f8e23a8783f84ed7120e971ef0869f5e91e78f624fb484e4be5b
The command finished successfully!
In my router I did the following Port Forwarding:
192.168.0.90 โ 3478 TCP + UDP for Nextcloud Talk
192.168.0.90 โ 443 TCP (extern) to 11000
192.168.0.90 โ 8080 TCP to 8080
192.168.0.90 โ 8443 TCP to 8443
If I open https://192.168.0.90:8080/containers or https://xxx.duckdns.org:8080 I can see the web gui of Nextcloud, but if I try to submit the domain I get the following error:
Domain does not point to this server or the reverse proxy is not configured correctly. See the mastercontainer logs for more details. ('sudo docker logs -f nextcloud-aio-mastercontainer')
The log says the following:
Trying to fix docker.sock permissions internally...
Creating docker group internally with id 281
WARNING: No swap limit support
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
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
{"level":"info","ts":1687900741.0010414,"msg":"using provided configuration","config_file":"/Caddyfile","config_adapter":""}
[27-Jun-2023 21:19:01] NOTICE: fpm is running, pid 135
[27-Jun-2023 21:19:01] NOTICE: ready to handle connections
[Tue Jun 27 21:19:01.006415 2023] [mpm_event:notice] [pid 130:tid 23168945732424] AH00489: Apache/2.4.57 (Unix) OpenSSL/3.1.1 configured -- resuming normal operations
[Tue Jun 27 21:19:01.006428 2023] [core:notice] [pid 130:tid 23168945732424] AH00094: Command line: 'httpd -D FOREGROUND'
Deleting duplicate sessions
NOTICE: PHP message: The response of the connection attempt to "https://XXX.duckdns.org:443" was:
NOTICE: PHP message: Expected was: d5ce1af6eed1d9a01942e946baac08f0e90c6f7b3279ff34
NOTICE: PHP message: The error message was: OpenSSL/3.1.1: error:0A00010B:SSL routines::wrong version number
How can I solve the issue?
BR
Franz