[/details]
Nextcloud version (eg, 29.0.5): Nextcloud AIO v9.7.0
Operating system and version (eg, Ubuntu 24.04): 24.04
Apache or nginx version (eg, Apache 2.4.25): Nginx 1.26.1
PHP version (eg, 8.3): PHP 8.1.2-1ubuntu2.19 on nginx server, not installed on nextcloud server as is only running nextcloud docker aio
The issue you are facing:
this is a fresh install of Nextcloud docker AIO
when i visit the domain ive set for nextcloud i get 400 bad request making it unusable
this is in the nginx access logs
192.168.5.246 - - [28/Oct/2024:02:35:22 +0000] "GET /favicon.ico HTTP/2.0" 400 15 "https://redacted/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36"
to get the ip for aio-nextcloud
sudo docker inspect -f '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' e0a53bb34c81 172.18.0.12
ran from inside the apache container
73dd99c04105:/usr/local/apache2$ wget -qO- http://localhost:9000 wget: can't connect to remote host: Connection refused 73dd99c04105:/usr/local/apache2$ wget -qO- http://172.18.0.12:9000 wget: error getting response: Connection reset by peer
ran from nginx server nc -z 192.168.70.40 11000; echo $? 0
Is this the first time you’ve seen this error? (Y/N): Y
Steps to replicate it:
The output of your Nextcloud log in Admin > Logging:
PASTE HERE
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
PASTE HERE
The output of your Apache/nginx/system log in /var/log/____
:
Connection to nextcloud-aio-nextcloud (172.18.0.12) 9000 port [tcp/*] succeeded!
[Mon Oct 28 02:34:42.919238 2024] [mpm_event:notice] [pid 33:tid 33] AH00489: Apache/2.4.62 (Unix) configured -- resuming normal operations
[Mon Oct 28 02:34:42.919516 2024] [core:notice] [pid 33:tid 33] AH00094: Command line: '/usr/local/apache2/bin/httpd -D FOREGROUND'
{"level":"info","ts":1730082882.9754755,"msg":"using config from file","file":"/tmp/Caddyfile"}
{"level":"info","ts":1730082882.9817705,"msg":"adapted config to JSON","adapter":"caddyfile"}
Output errors in nextcloud.log in /var/www/ or as admin user in top right menu, filtering for errors. Use a pastebin service if necessary.
2024-10-28T02:16:08.202188211Z [Mon Oct 28 02:16:08.199186 2024] [proxy_http:error] [pid 277:tid 293] (20014)Internal error (specific information not available): [client 192.168.5.246:62848] AH01102: error reading status line from remote server 127.0.0.1:8000, referer: https://192.168.70.40:8080/containers
2024-10-28T02:19:39.247330470Z NOTICE: PHP message: 404 Not Found
2024-10-28T02:19:39.247423723Z Type: Slim\Exception\HttpNotFoundException
2024-10-28T02:19:39.247458234Z Code: 404
2024-10-28T02:19:39.247492128Z Message: Not found.
2024-10-28T02:19:39.247522782Z File: /var/www/docker-aio/php/vendor/slim/slim/Slim/Middleware/RoutingMiddleware.php
2024-10-28T02:19:39.247612294Z Line: 76
2024-10-28T02:19:39.247644905Z Trace: #0 /var/www/docker-aio/php/vendor/slim/slim/Slim/Routing/RouteRunner.php(62): Slim\Middleware\RoutingMiddleware->performRouting(Object(GuzzleHttp\Psr7\ServerRequest))
2024-10-28T02:19:39.247680736Z #1 /var/www/docker-aio/php/vendor/slim/csrf/src/Guard.php(482): Slim\Routing\RouteRunner->handle(Object(GuzzleHttp\Psr7\ServerRequest))
2024-10-28T02:19:39.247715384Z #2 /var/www/docker-aio/php/vendor/slim/slim/Slim/MiddlewareDispatcher.php(177): Slim\Csrf\Guard->process(Object(GuzzleHttp\Psr7\ServerRequest), Object(Slim\Routing\RouteRunner))
2024-10-28T02:19:39.247754605Z #3 /var/www/docker-aio/php/vendor/slim/twig-view/src/TwigMiddleware.php(117): Psr\Http\Server\RequestHandlerInterface@anonymous->handle(Object(GuzzleHttp\Psr7\ServerRequest))
2024-10-28T02:19:39.247791039Z #4 /var/www/docker-aio/php/vendor/slim/slim/Slim/MiddlewareDispatcher.php(129): Slim\Views\TwigMiddleware->process(Object(GuzzleHttp\Psr7\ServerRequest), Object(Psr\Http\Server\RequestHandlerInterface@anonymous))
2024-10-28T02:19:39.247825084Z #5 /var/www/docker-aio/php/src/Middleware/AuthMiddleware.php(36): Psr\Http\Server\RequestHandlerInterface@anonymous->handle(Object(GuzzleHttp\Psr7\ServerRequest))
2024-10-28T02:19:39.247862358Z #6 /var/www/docker-aio/php/vendor/slim/slim/Slim/MiddlewareDispatcher.php(280): AIO\Middleware\AuthMiddleware->__invoke(Object(GuzzleHttp\Psr7\ServerRequest), Object(Psr\Http\Server\RequestHandlerInterface@anonymous))
2024-10-28T02:19:39.247903539Z #7 /var/www/docker-aio/php/vendor/slim/slim/Slim/Middleware/ErrorMiddleware.php(77): Psr\Http\Server\RequestHandlerInterface@anonymous->handle(Object(GuzzleHttp\Psr7\ServerRequest))
2024-10-28T02:19:39.247942750Z #8 /var/www/docker-aio/php/vendor/slim/slim/Slim/MiddlewareDispatcher.php(129): Slim\Middleware\ErrorMiddleware->process(Object(GuzzleHttp\Psr7\ServerRequest), Object(Psr\Http\Server\RequestHandlerInterface@anonymous))
2024-10-28T02:19:39.247982948Z #9 /var/www/docker-aio/php/vendor/slim/slim/Slim/MiddlewareDispatcher.php(73): Psr\Http\Server\RequestHandlerInterface@anonymous->handle(Object(GuzzleHttp\Psr7\ServerRequest))
2024-10-28T02:19:39.248022995Z #10 /var/www/docker-aio/php/vendor/slim/slim/Slim/App.php(209): Slim\MiddlewareDispatcher->handle(Object(GuzzleHttp\Psr7\ServerRequest))
2024-10-28T02:19:39.248089601Z #11 /var/www/docker-aio/php/vendor/slim/slim/Slim/App.php(193): Slim\App->handle(Object(GuzzleHttp\Psr7\ServerRequest))
2024-10-28T02:19:39.248117214Z #12 /var/www/docker-aio/php/public/index.php(186): Slim\App->run()
2024-10-28T02:19:39.248142215Z #13 {main}
2024-10-28T02:19:39.248166843Z Tips: To display error details in HTTP response set "displayErrorDetails" to true in the ErrorHandler constructor.