Hello all, this is my first time setting up and installing the Nextcloud AIO container on unraid. I have been prodding at this for a few days now and have been unable to successfully get it running. I keep receiving the error copy pasted below. All other containers except for Apache and Nexcloud start.
https://imgur.com/nmakcJH
I will paste screenshots of my current setup as well. If you see anything wrong please let me know but I am completely stumped on this.
unRAID mastercontainer Docker Setup
NGINX Proxy Manager Setup
https://i.imgur.com/XR96pvC.png
Nextcloud mastercontainer Error Logs
Trying to fix docker.sock permissions internally…
Creating docker group internally with id 281
…+…+…+…+…+…+…+…+…+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++…+…+…+…+…+…+…+…+…+…+…+…+…+.+…+…+.+…+…+…+.+…+…+…+…+…+…+…+…+…+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++…+…+…+…+…+…+…+…+…+…+…+.+…+.+…+…+…+…+…+…+…+…+…+…+…+.+…+…+…+…+…+…+…+…+…+…+…+…+…+…+.+…+…+…+…+…+…+…+…+…+…+…+…+…+…+.+…+…+…+…+…+…+…+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
…+…+…+…+…+…+…+…+…+…+…+…+…+…+…+…+…+…+…+.+…+…+…+…+.+…+.+…+…+…+…+.+…+…+…+.+…+…+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++…+…+…+…+…+.+…+…+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++…+…+…+…+…+…+…+…+…+…+…+…+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
e[0;92mInitial 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:8443e[0m
{“level”:“info”,“ts”:1686878806.2671976,“msg”:“using provided configuration”,“config_file”:“/Caddyfile”,“config_adapter”:“”}
[16-Jun-2023 01:26:46] NOTICE: fpm is running, pid 138
[16-Jun-2023 01:26:46] NOTICE: ready to handle connections
NOTICE: PHP message: 404 Not Found
Type: Slim\Exception\HttpNotFoundException
4
Message: Not found.
File: /var/www/docker-aio/php/vendor/slim/slim/Slim/Middleware/RoutingMiddleware.php
Line: 76
Trace: #0 /var/www/docker-aio/php/vendor/slim/slim/Slim/Routing/RouteRunner.php(56): Slim\Middleware\RoutingMiddleware->performRouting(Object(GuzzleHttp\Psr7\ServerRequest))
#1 /var/www/docker-aio/php/vendor/slim/csrf/src/Guard.php(476): Slim\Routing\RouteRunner->handle(Object(GuzzleHttp\Psr7\ServerRequest))
#2 /var/www/docker-aio/php/vendor/slim/slim/Slim/MiddlewareDispatcher.php(168): Slim\Csrf\Guard->process(Object(GuzzleHttp\Psr7\ServerRequest), Object(Slim\Routing\RouteRunner))
#3 /var/www/docker-aio/php/vendor/slim/twig-view/src/TwigMiddleware.php(115): Psr\Http\Server\RequestHandlerInterface@anonymous->handle(Object(GuzzleHttp\Psr7\ServerRequest))
#4 /var/www/docker-aio/php/vendor/slim/slim/Slim/MiddlewareDispatcher.php(121): Slim\Views\TwigMiddleware->process(Object(GuzzleHttp\Psr7\ServerRequest), Object(Psr\Http\Server\RequestHandlerInterface@anonymous))
#5 /var/www/docker-aio/php/src/Middleware/AuthMiddleware.php(38): Psr\Http\Server\RequestHandlerInterface@anonymous->handle(Object(GuzzleHttp\Psr7\ServerRequest))
#6 /var/www/docker-aio/php/vendor/slim/slim/Slim/MiddlewareDispatcher.php(269): AIO\Middleware\AuthMiddleware->__invoke(Object(GuzzleHttp\Psr7\ServerRequest), Object(Psr\Http\Server\RequestHandlerInterface@anonymous))
#7 /var/www/docker-aio/php/vendor/slim/slim/Slim/Middleware/ErrorMiddleware.php(76): Psr\Http\Server\RequestHandlerInterface@anonymous->handle(Object(GuzzleHttp\Psr7\ServerRequest))
#8 /var/www/docker-aio/php/vendor/slim/slim/Slim/MiddlewareDispatcher.php(121): Slim\Middleware\ErrorMiddleware->process(Object(GuzzleHttp\Psr7\ServerRequest), Object(Psr\Http\Server\RequestHandlerInterface@anonymous))
#9 /var/www/docker-aio/php/vendor/slim/slim/Slim/MiddlewareDispatcher.php(65): Psr\Http\Server\RequestHandlerInterface@anonymous->handle(Object(GuzzleHttp\Psr7\ServerRequest))
#10 /var/www/docker-aio/php/vendor/slim/slim/Slim/App.php(199): Slim\MiddlewareDispatcher->handle(Object(GuzzleHttp\Psr7\ServerRequest))
#11 /var/www/docker-aio/php/vendor/slim/slim/Slim/App.php(183): Slim\App->handle(Object(GuzzleHttp\Psr7\ServerRequest))
#12 /var/www/docker-aio/php/public/index.php(181): Slim\App->run()
#13 {main}
Thank you for the quick response szaimen.
That guide is the one I followed. Do you have any other insight into the error I am receiving? I can attempt to go through that guide again. I like to believe I am decently versed in unRAID but this one has me stumped. Maybe it is a permissions issue?
Ah I see. Can you post the nextcloud container logs here?
The logs posted above in the ticket are the logs I am getting when the Nextcloud and Apache containers fail to start. I will copy them here below!
Trying to fix docker.sock permissions internally…
> ## Creating docker group internally with id 281
> …+…+…+…+…+…+…+…+…+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*…+…+…+…+…+…+…+…+…+…+…+…+…+.+…+…+.+…+…+…+.+…+…+…+…+…+…+…+…+…+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*…+…+…+…+…+…+…+…+…+…+…+.+…+.+…+…+…+…+…+…+…+…+…+…+…+.+…+…+…+…+…+…+…+…+…+…+…+…+…+…+.+…+…+…+…+…+…+…+…+…+…+…+…+…+…+.+…+…+…+…+…+…+…+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> …+…+…+…+…+…+…+…+…+…+…+…+…+…+…+…+…+…+…+.+…+…+…+…+.+…+.+…+…+…+…+.+…+…+…+.+…+…+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*…+…+…+…+…+.+…+…+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*…+…+…+…+…+…+…+…+…+…+…+…+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>
>
>
> e[0;92mInitial 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](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:8443e[0m
> {“level”:“info”,“ts”:1686878806.2671976,“msg”:“using provided configuration”,“config_file”:“/Caddyfile”,“config_adapter”:“”}
> [16-Jun-2023 01:26:46] NOTICE: fpm is running, pid 138
> [16-Jun-2023 01:26:46] NOTICE: ready to handle connections
> NOTICE: PHP message: 404 Not Found
> Type: Slim\Exception\HttpNotFoundException
>
>
>
> 4
> Message: Not found.
> File: /var/www/docker-aio/php/vendor/slim/slim/Slim/Middleware/RoutingMiddleware.php
> Line: 76
> Trace: #0 /var/www/docker-aio/php/vendor/slim/slim/Slim/Routing/RouteRunner.php(56): Slim\Middleware\RoutingMiddleware->performRouting(Object(GuzzleHttp\Psr7\ServerRequest))
> #1 /var/www/docker-aio/php/vendor/slim/csrf/src/Guard.php(476): Slim\Routing\RouteRunner->handle(Object(GuzzleHttp\Psr7\ServerRequest))
> #2 /var/www/docker-aio/php/vendor/slim/slim/Slim/MiddlewareDispatcher.php(168): Slim\Csrf\Guard->process(Object(GuzzleHttp\Psr7\ServerRequest), Object(Slim\Routing\RouteRunner))
> #3 /var/www/docker-aio/php/vendor/slim/twig-view/src/TwigMiddleware.php(115): Psr\Http\Server\RequestHandlerInterface@anonymous->handle(Object(GuzzleHttp\Psr7\ServerRequest))
> #4 /var/www/docker-aio/php/vendor/slim/slim/Slim/MiddlewareDispatcher.php(121): Slim\Views\TwigMiddleware->process(Object(GuzzleHttp\Psr7\ServerRequest), Object(Psr\Http\Server\RequestHandlerInterface@anonymous))
> #5 /var/www/docker-aio/php/src/Middleware/AuthMiddleware.php(38): Psr\Http\Server\RequestHandlerInterface@anonymous->handle(Object(GuzzleHttp\Psr7\ServerRequest))
> #6 /var/www/docker-aio/php/vendor/slim/slim/Slim/MiddlewareDispatcher.php(269): AIO\Middleware\AuthMiddleware->__invoke(Object(GuzzleHttp\Psr7\ServerRequest), Object(Psr\Http\Server\RequestHandlerInterface@anonymous))
> #7 /var/www/docker-aio/php/vendor/slim/slim/Slim/Middleware/ErrorMiddleware.php(76): Psr\Http\Server\RequestHandlerInterface@anonymous->handle(Object(GuzzleHttp\Psr7\ServerRequest))
> #8 /var/www/docker-aio/php/vendor/slim/slim/Slim/MiddlewareDispatcher.php(121): Slim\Middleware\ErrorMiddleware->process(Object(GuzzleHttp\Psr7\ServerRequest), Object(Psr\Http\Server\RequestHandlerInterface@anonymous))
> #9 /var/www/docker-aio/php/vendor/slim/slim/Slim/MiddlewareDispatcher.php(65): Psr\Http\Server\RequestHandlerInterface@anonymous->handle(Object(GuzzleHttp\Psr7\ServerRequest))
> #10 /var/www/docker-aio/php/vendor/slim/slim/Slim/App.php(199): Slim\MiddlewareDispatcher->handle(Object(GuzzleHttp\Psr7\ServerRequest))
> #11 /var/www/docker-aio/php/vendor/slim/slim/Slim/App.php(183): Slim\App->handle(Object(GuzzleHttp\Psr7\ServerRequest))
> #12 /var/www/docker-aio/php/public/index.php(181): Slim\App->run()
> #13 {main}
No, I mean the logs from the nextcloud-aio-nextcloud container. The logs that you posted are unrelated to the actual problem.
You can get the logs that I need e.g. with sudo docker logs nextcloud-aio-nextcloud
Ah I see, going back through the guide It is not letting me change these variables. I am signed in through FTP as root user. I cannot change the Owner and Group of the folder I created to the 33 and 33 that it needs to be. Do you have any insight?

Also here are the logs you requested. Just getting this over and over again.
rd authentication failed for user "oc_nextcloud"
Waiting for the database to start...
psql: error: connection to server at "nextcloud-aio-database" (172.18.0.4), port 5432 failed: FATAL: password authentication failed for user "oc_nextcloud"
Waiting for the database to start...
psql: error: connection to server at "nextcloud-aio-database" (172.18.0.4), port 5432 failed: FATAL: password authentication failed for user "oc_nextcloud"
Waiting for the database to start...
psql: error: connection to server at "nextcloud-aio-database" (172.18.0.4), port 5432 failed: FATAL: password authentication failed for user "oc_nextcloud"
Waiting for the database to start...
psql: error: connection to server at "nextcloud-aio-database" (172.18.0.4), port 5432 failed: FATAL: password authentication failed for user "oc_nextcloud"
Waiting for the database to start...
psql: error: connection to server at "nextcloud-aio-database" (172.18.0.4), port 5432 failed: FATAL: password authentication failed for user "oc_nextcloud"
Waiting for the database to start...
psql: error: connection to server at "nextcloud-aio-database" (172.18.0.4), port 5432 failed: FATAL: password authentication failed for user "oc_nextcloud"
Waiting for the database to start...
I see. Can you also post the output of sudo docker logs nextcloud-aio-database
Getting this over and over again
2023-06-17 17:40:48.397 CDT [29494] FATAL: password authentication failed for user "oc_nextcloud"
2023-06-17 17:40:48.397 CDT [29494] DETAIL: Connection matched pg_hba.conf line 100: "host all all all scram-sha-256"
2023-06-17 17:40:53.414 CDT [29495] FATAL: password authentication failed for user "oc_nextcloud"
2023-06-17 17:40:53.414 CDT [29495] DETAIL: Connection matched pg_hba.conf line 100: "host all all all scram-sha-256"
2023-06-17 17:40:58.431 CDT [29496] FATAL: password authentication failed for user "oc_nextcloud"
2023-06-17 17:40:58.431 CDT [29496] DETAIL: Connection matched pg_hba.conf line 100: "host all all all scram-sha-256"
2023-06-17 17:41:03.449 CDT [29497] FATAL: password authentication failed for user "oc_nextcloud"
2023-06-17 17:41:03.449 CDT [29497] DETAIL: Connection matched pg_hba.conf line 100: "host all all all scram-sha-256"
2023-06-17 17:41:08.466 CDT [29506] FATAL: password authentication failed for user "oc_nextcloud"
2023-06-17 17:41:08.466 CDT [29506] DETAIL: Connection matched pg_hba.conf line 100: "host all all all scram-sha-256"
2023-06-17 17:41:13.483 CDT [29507] FATAL: password authentication failed for user "oc_nextcloud"
2023-06-17 17:41:13.483 CDT [29507] DETAIL: Connection matched pg_hba.conf line 100: "host all all all scram-sha-256"
2023-06-17 17:41:18.501 CDT [29509] FATAL: password authentication failed for user "oc_nextcloud"
2023-06-17 17:41:18.501 CDT [29509] DETAIL: Connection matched pg_hba.conf line 100: "host all all all scram-sha-256"
2023-06-17 17:41:23.519 CDT [29510] FATAL: password authentication failed for user "oc_nextcloud"
2023-06-17 17:41:23.519 CDT [29510] DETAIL: Connection matched pg_hba.conf line 100: "host all all all scram-sha-256"
But is this the whole log? Nothing else?
Yessir, I just restarted the container to see again.
023-06-17 19:49:03.317 CDT [12] LOG: starting PostgreSQL 15.3 on x86_64-pc-linux-musl, compiled by gcc (Alpine 12.2.1_git20220924-r10) 12.2.1 20220924, 64-bit
2023-06-17 19:49:03.317 CDT [12] LOG: listening on IPv4 address "0.0.0.0", port 5432
2023-06-17 19:49:03.317 CDT [12] LOG: listening on IPv6 address "::", port 5432
2023-06-17 19:49:03.322 CDT [12] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
2023-06-17 19:49:03.331 CDT [22] LOG: database system was shut down at 2023-06-17 18:23:36 CDT
2023-06-17 19:49:03.343 CDT [12] LOG: database system is ready to accept connections
2023-06-17 19:49:13.347 CDT [27] FATAL: password authentication failed for user "oc_nextcloud"
2023-06-17 19:49:13.347 CDT [27] DETAIL: Connection matched pg_hba.conf line 100: "host all all all scram-sha-256"
2023-06-17 19:49:18.369 CDT [29] FATAL: password authentication failed for user "oc_nextcloud"
2023-06-17 19:49:18.369 CDT [29] DETAIL: Connection matched pg_hba.conf line 100: "host all all all scram-sha-256"
2023-06-17 19:49:23.388 CDT [30] FATAL: password authentication failed for user "oc_nextcloud"
2023-06-17 19:49:23.388 CDT [30] DETAIL: Connection matched pg_hba.conf line 100: "host all all all scram-sha-256"
2023-06-17 19:49:28.407 CDT [31] FATAL: password authentication failed for user "oc_nextcloud"
2023-06-17 19:49:28.407 CDT [31] DETAIL: Connection matched pg_hba.conf line 100: "host all all all scram-sha-256"
2023-06-17 19:49:33.425 CDT [40] FATAL: password authentication failed for user "oc_nextcloud"
2023-06-17 19:49:33.425 CDT [40] DETAIL: Connection matched pg_hba.conf line 100: "host all all all scram-sha-256"
2023-06-17 19:49:38.442 CDT [42] FATAL: password authentication failed for user "oc_nextcloud"
2023-06-17 19:49:38.442 CDT [42] DETAIL: Connection matched pg_hba.conf line 100: "host all all all scram-sha-256"
root@QballServer:~#
Hm… So for me it looks like the initial installation failed and then you moved the datadir which obviously does not fix the initial install. Can you reset AIO properly by following GitHub - nextcloud/all-in-one: Nextcloud AIO stands for Nextcloud All-in-One and provides easy deployment and maintenance with most features included in this one Nextcloud instance. and try again?
I will give this a try and report back to you.
Thank you for this. After doing the reset and fiddling with some more settings, I was able to get the NeXT cloud AIO container working just fine. If if I have anymore issues I will open a new ticket / post up. Have a good day!
1 Like