Open your nextcloud button don't redirects me

Support intro

Sorry to hear you’re facing problems. :slightly_frowning_face:

The community help forum (help.nextcloud.com) is for home and non-enterprise users. Support is provided by other community members on a best effort / “as available” basis. All of those responding are volunteering their time to help you.

If you’re using Nextcloud in a business/critical setting, paid and SLA-based support services can be accessed via portal.nextcloud.com where Nextcloud engineers can help ensure your business keeps running smoothly.

Getting help

In order to help you as efficiently (and quickly!) as possible, please fill in as much of the below requested information as you can.

Before clicking submit: Please check if your query is already addressed via the following resources:

(Utilizing these existing resources is typically faster. It also helps reduce the load on our generous volunteers while elevating the signal to noise ratio of the forums otherwise arising from the same queries being posted repeatedly).

Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can. :heart:

The Basics

  • Nextcloud Server version (e.g., 29.x.x):
    • version: 31.0.1.2
  • Operating system and version (e.g., Ubuntu 24.04):
    • Linux mint
  • Web server and version (e.g, Apache 2.4.25):
    • nginx/1.27.4
  • Reverse proxy and version _(e.g. nginx 1.27.2)
    • replace me
  • PHP version (e.g, 8.3):
    • PHP 8.3.17 (cli)
  • Is this the first time you’ve seen this error? (Yes / No):
    • no
  • When did this problem seem to first start?
    • On first try to login
  • Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
    • AIO
  • Are you using CloudfIare, mod_security, or similar? (Yes / No)
    • no

Summary of the issue you are facing:

I’ve setup next and nginx as reverse proxy through docker. After I enter my domain name in browser I got to nextcloud page, choose to update containers and then was redirected to https://stascloud.duckdns.org/containers here I have a button “Open your Nextcloud” everytime I press it new tab opens but on the same link https://stascloud.duckdns.org/containers. So I can’t enter app.

Log entries

Nextcloud

Please provide the log entries from your Nextcloud log that are generated during the time of problem (via the Copy raw option from Administration settings->Logging screen or from your nextcloud.log located in your data directory). Feel free to use a pastebin/gist service if necessary.

Trying to fix docker.sock permissions internally...
Creating docker group internally with id 127
.+..............+...+....+...+.....+......+.......+..+...+...+....+...+..+.............+++++++++++++++++++++++++++++++++++++++++++++*..+....+..+....+...+.....+.+..+...+.+.....+....+.....+++++++++++++++++++++++++++++++++++++++++++++*.+...............+...............+............+.+....................+....+...+++++
.......+..+.+...+++++++++++++++++++++++++++++++++++++++++++++*.....+......+.+...+.........+..+....+..+++++++++++++++++++++++++++++++++++++++++++++*..........+.....+......+............+................+..+...+.......+...+..+...+.+......+..+...............+.+......+......+..+......+..................................+......+.....+....+.....+......+.........+.......+......+........+...............+......+.........+....+........+............+.+......+........+.+.........+..+................+...+..+..........+.........+.....+......+...+.........+.......+........+...+............+............+...+.............+.........+..............+.+......+.....+...+.......+...+..............+...............+......+....+...+..+.+...........+......+.........+.............+........+...+....+...+...+..............+.......+.........+...........+.+..+.......+.....................+..+................+.........+......+......+.....+......+..........+........+.+..........................+..........+........+...............+....+..+....+.........+......+.................+.......+..+..........+......+..+.......+......+..+............+....+..+.........+....+...............+....................+..........+.....+++++
-----
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
⚠️ 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
[14-Mar-2025 22:35:03] NOTICE: fpm is running, pid 156
[14-Mar-2025 22:35:03] NOTICE: ready to handle connections
{"level":"info","ts":1741991703.0781088,"msg":"using config from file","file":"/Caddyfile"}
{"level":"info","ts":1741991703.080492,"msg":"adapted config to JSON","adapter":"caddyfile"}
[Fri Mar 14 22:35:03.086904 2025] [mpm_event:notice] [pid 146:tid 146] AH00489: Apache/2.4.62 (Unix) OpenSSL/3.3.3 configured -- resuming normal operations
[Fri Mar 14 22:35:03.087162 2025] [core:notice] [pid 146:tid 146] AH00094: Command line: 'httpd -D FOREGROUND'
Total reclaimed space: 0B
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
⚠️ 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
[15-Mar-2025 08:57:28] NOTICE: fpm is running, pid 144
[15-Mar-2025 08:57:28] NOTICE: ready to handle connections
[Sat Mar 15 08:57:28.374683 2025] [mpm_event:notice] [pid 139:tid 139] AH00489: Apache/2.4.62 (Unix) OpenSSL/3.3.3 configured -- resuming normal operations
[Sat Mar 15 08:57:28.374724 2025] [core:notice] [pid 139:tid 139] AH00094: Command line: 'httpd -D FOREGROUND'
{"level":"info","ts":1742029048.392721,"msg":"using config from file","file":"/Caddyfile"}
{"level":"info","ts":1742029048.3940237,"msg":"adapted config to JSON","adapter":"caddyfile"}
NOTICE: PHP message: 404 Not Found
Type: Slim\Exception\HttpNotFoundException
Code: 404
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(62): Slim\Middleware\RoutingMiddleware->performRouting(Object(GuzzleHttp\Psr7\ServerRequest))
#1 /var/www/docker-aio/php/vendor/slim/csrf/src/Guard.php(482): Slim\Routing\RouteRunner->handle(Object(GuzzleHttp\Psr7\ServerRequest))
#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))
#3 /var/www/docker-aio/php/vendor/slim/twig-view/src/TwigMiddleware.php(117): Psr\Http\Server\RequestHandlerInterface@anonymous->handle(Object(GuzzleHttp\Psr7\ServerRequest))
#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))
#5 /var/www/docker-aio/php/src/Middleware/AuthMiddleware.php(36): Psr\Http\Server\RequestHandlerInterface@anonymous->handle(Object(GuzzleHttp\Psr7\ServerRequest))
#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))
#7 /var/www/docker-aio/php/vendor/slim/slim/Slim/Middleware/ErrorMiddleware.php(77): Psr\Http\Server\RequestHandlerInterface@anonymous->handle(Object(GuzzleHttp\Psr7\ServerRequest))
#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))
#9 /var/www/docker-aio/php/vendor/slim/slim/Slim/MiddlewareDispatcher.php(73): Psr\Http\Server\RequestHandlerInterface@anonymous->handle(Object(GuzzleHttp\Psr7\ServerRequest))
#10 /var/www/docker-aio/php/vendor/slim/slim/Slim/App.php(209): Slim\MiddlewareDispatcher->handle(Object(GuzzleHttp\Psr7\ServerRequest))
#11 /var/www/docker-aio/php/vendor/slim/slim/Slim/App.php(193): Slim\App->handle(Object(GuzzleHttp\Psr7\ServerRequest))
#12 /var/www/docker-aio/php/public/index.php(190): Slim\App->run()
#13 {main}
Tips: To display error details in HTTP response set "displayErrorDetails" to true in the ErrorHandler constructor.
NOTICE: PHP message: 404 Not Found
Type: Slim\Exception\HttpNotFoundException
Code: 404
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(62): Slim\Middleware\RoutingMiddleware->performRouting(Object(GuzzleHttp\Psr7\ServerRequest))
#1 /var/www/docker-aio/php/vendor/slim/csrf/src/Guard.php(482): Slim\Routing\RouteRunner->handle(Object(GuzzleHttp\Psr7\ServerRequest))
#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))
#3 /var/www/docker-aio/php/vendor/slim/twig-view/src/TwigMiddleware.php(117): Psr\Http\Server\RequestHandlerInterface@anonymous->handle(Object(GuzzleHttp\Psr7\ServerRequest))
#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))
#5 /var/www/docker-aio/php/src/Middleware/AuthMiddleware.php(36): Psr\Http\Server\RequestHandlerInterface@anonymous->handle(Object(GuzzleHttp\Psr7\ServerRequest))
#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))
#7 /var/www/docker-aio/php/vendor/slim/slim/Slim/Middleware/ErrorMiddleware.php(77): Psr\Http\Server\RequestHandlerInterface@anonymous->handle(Object(GuzzleHttp\Psr7\ServerRequest))
#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))
#9 /var/www/docker-aio/php/vendor/slim/slim/Slim/MiddlewareDispatcher.php(73): Psr\Http\Server\RequestHandlerInterface@anonymous->handle(Object(GuzzleHttp\Psr7\ServerRequest))
#10 /var/www/docker-aio/php/vendor/slim/slim/Slim/App.php(209): Slim\MiddlewareDispatcher->handle(Object(GuzzleHttp\Psr7\ServerRequest))
#11 /var/www/docker-aio/php/vendor/slim/slim/Slim/App.php(193): Slim\App->handle(Object(GuzzleHttp\Psr7\ServerRequest))
#12 /var/www/docker-aio/php/public/index.php(190): Slim\App->run()
#13 {main}
Tips: To display error details in HTTP response set "displayErrorDetails" to true in the ErrorHandler constructor.
NOTICE: PHP message: 404 Not Found
Type: Slim\Exception\HttpNotFoundException
Code: 404
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(62): Slim\Middleware\RoutingMiddleware->performRouting(Object(GuzzleHttp\Psr7\ServerRequest))
#1 /var/www/docker-aio/php/vendor/slim/csrf/src/Guard.php(482): Slim\Routing\RouteRunner->handle(Object(GuzzleHttp\Psr7\ServerRequest))
#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))
#3 /var/www/docker-aio/php/vendor/slim/twig-view/src/TwigMiddleware.php(117): Psr\Http\Server\RequestHandlerInterface@anonymous->handle(Object(GuzzleHttp\Psr7\ServerRequest))
#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))
#5 /var/www/docker-aio/php/src/Middleware/AuthMiddleware.php(36): Psr\Http\Server\RequestHandlerInterface@anonymous->handle(Object(GuzzleHttp\Psr7\ServerRequest))
#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))
#7 /var/www/docker-aio/php/vendor/slim/slim/Slim/Middleware/ErrorMiddleware.php(77): Psr\Http\Server\RequestHandlerInterface@anonymous->handle(Object(GuzzleHttp\Psr7\ServerRequest))
#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))
#9 /var/www/docker-aio/php/vendor/slim/slim/Slim/MiddlewareDispatcher.php(73): Psr\Http\Server\RequestHandlerInterface@anonymous->handle(Object(GuzzleHttp\Psr7\ServerRequest))
#10 /var/www/docker-aio/php/vendor/slim/slim/Slim/App.php(209): Slim\MiddlewareDispatcher->handle(Object(GuzzleHttp\Psr7\ServerRequest))
#11 /var/www/docker-aio/php/vendor/slim/slim/Slim/App.php(193): Slim\App->handle(Object(GuzzleHttp\Psr7\ServerRequest))
#12 /var/www/docker-aio/php/public/index.php(190): Slim\App->run()
#13 {main}
Tips: To display error details in HTTP response set "displayErrorDetails" to true in the ErrorHandler constructor.
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
⚠️ 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
[15-Mar-2025 09:53:22] NOTICE: fpm is running, pid 146
[15-Mar-2025 09:53:22] NOTICE: ready to handle connections
{"level":"info","ts":1742032402.7724254,"msg":"using config from file","file":"/Caddyfile"}
[Sat Mar 15 09:53:22.774362 2025] [mpm_event:notice] [pid 136:tid 136] AH00489: Apache/2.4.62 (Unix) OpenSSL/3.3.3 configured -- resuming normal operations
[Sat Mar 15 09:53:22.774406 2025] [core:notice] [pid 136:tid 136] AH00094: Command line: 'httpd -D FOREGROUND'
{"level":"info","ts":1742032402.7739043,"msg":"adapted config to JSON","adapter":"caddyfile"}
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
⚠️ 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
[15-Mar-2025 09:57:33] NOTICE: fpm is running, pid 138
[15-Mar-2025 09:57:33] NOTICE: ready to handle connections
[Sat Mar 15 09:57:33.563665 2025] [mpm_event:notice] [pid 133:tid 133] AH00489: Apache/2.4.62 (Unix) OpenSSL/3.3.3 configured -- resuming normal operations
[Sat Mar 15 09:57:33.564560 2025] [core:notice] [pid 133:tid 133] AH00094: Command line: 'httpd -D FOREGROUND'
{"level":"info","ts":1742032653.5860538,"msg":"using config from file","file":"/Caddyfile"}
{"level":"info","ts":1742032653.5872657,"msg":"adapted config to JSON","adapter":"caddyfile"}

Web server / Reverse Proxy

The output of your Apache/nginx/system log in /var/log/____:

07.173.151.223 - - [15/Mar/2025:11:44:18 +0000] "GET / HTTP/1.1" 307 3243 "-" "Mozilla/5.0 (iPhone; CPU iPhone OS 17_4_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/123.0.6312.52 Mobile/15E148 Safari/604.1"
94.176.93.35 - - [15/Mar/2025:11:44:18 +0000] "GET /_next/static/css/7bc2427c4bda9db9.css HTTP/1.1" 200 10810 "https://hoarder.stascloud.duckdns.org/signin" "Mozilla/5.0 (iPhone; CPU iPhone OS 17_4_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/123.0.6312.52 Mobile/15E148 Safari/604.1"
152.39.232.210 - - [15/Mar/2025:11:44:18 +0000] "GET /_next/static/chunks/webpack-13cf34048edb0930.js HTTP/1.1" 200 2201 "https://hoarder.stascloud.duckdns.org/signin" "Mozilla/5.0 (iPhone; CPU iPhone OS 17_4_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/123.0.6312.52 Mobile/15E148 Safari/604.1"
94.176.93.35 - - [15/Mar/2025:11:44:19 +0000] "GET /_next/static/chunks/1528-ca5ca3ba473a9cfe.js HTTP/1.1" 200 31860 "https://hoarder.stascloud.duckdns.org/signin" "Mozilla/5.0 (iPhone; CPU iPhone OS 17_4_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/123.0.6312.52 Mobile/15E148 Safari/604.1"
152.39.197.207 - - [15/Mar/2025:11:44:19 +0000] "GET /_next/static/chunks/1dd3208c-7bfb9938a3f069cd.js HTTP/1.1" 200 53827 "https://hoarder.stascloud.duckdns.org/signin" "Mozilla/5.0 (iPhone; CPU iPhone OS 17_4_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/123.0.6312.52 Mobile/15E148 Safari/604.1"
152.39.233.13 - - [15/Mar/2025:11:44:19 +0000] "GET /_next/static/chunks/main-app-7dd56bb3b36d6f66.js HTTP/1.1" 200 473 "https://hoarder.stascloud.duckdns.org/signin" "Mozilla/5.0 (iPhone; CPU iPhone OS 17_4_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/123.0.6312.52 Mobile/15E148 Safari/604.1"
107.173.151.223 - - [15/Mar/2025:11:44:19 +0000] "GET /signin HTTP/1.1" 200 10708 "-" "Mozilla/5.0 (iPhone; CPU iPhone OS 17_4_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/123.0.6312.52 Mobile/15E148 Safari/604.1"
152.39.232.210 - - [15/Mar/2025:11:44:19 +0000] "GET /_next/static/chunks/3368-fe90ea9e5c20b0b5.js HTTP/1.1" 200 16136 "https://hoarder.stascloud.duckdns.org/signin" "Mozilla/5.0 (iPhone; CPU iPhone OS 17_4_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/123.0.6312.52 Mobile/15E148 Safari/604.1"
168.151.132.244 - - [15/Mar/2025:11:44:19 +0000] "GET /_next/static/chunks/417-fbb06f5afa34f4ac.js HTTP/1.1" 200 23405 "https://hoarder.stascloud.duckdns.org/signin" "Mozilla/5.0 (iPhone; CPU iPhone OS 17_4_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/123.0.6312.52 Mobile/15E148 Safari/604.1"
152.39.233.13 - - [15/Mar/2025:11:44:19 +0000] "GET /_next/static/chunks/8505-afa836e5d649c8b1.js HTTP/1.1" 200 1973 "https://hoarder.stascloud.duckdns.org/signin" "Mozilla/5.0 (iPhone; CPU iPhone OS 17_4_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/123.0.6312.52 Mobile/15E148 Safari/604.1"
94.176.93.35 - - [15/Mar/2025:11:44:19 +0000] "GET /_next/static/chunks/9931-f2f21741f4050efc.js HTTP/1.1" 200 14475 "https://hoarder.stascloud.duckdns.org/signin" "Mozilla/5.0 (iPhone; CPU iPhone OS 17_4_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/123.0.6312.52 Mobile/15E148 Safari/604.1"
207.199.139.201 - - [15/Mar/2025:11:44:19 +0000] "GET /_next/static/chunks/4387-b8a83afb7ce53003.js HTTP/1.1" 200 9558 "https://hoarder.stascloud.duckdns.org/signin" "Mozilla/5.0 (iPhone; CPU iPhone OS 17_4_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/123.0.6312.52 Mobile/15E148 Safari/604.1"
107.173.151.223 - - [15/Mar/2025:11:44:19 +0000] "GET /_next/static/css/7bc2427c4bda9db9.css HTTP/1.1" 200 10810 "https://hoarder.stascloud.duckdns.org/signin" "Mozilla/5.0 (iPhone; CPU iPhone OS 17_4_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/123.0.6312.52 Mobile/15E148 Safari/604.1"
107.173.151.223 - - [15/Mar/2025:11:44:19 +0000] "GET /_next/static/media/a34f9d1faa5f3315-s.p.woff2 HTTP/1.1" 200 48556 "https://hoarder.stascloud.duckdns.org/signin" "Mozilla/5.0 (iPhone; CPU iPhone OS 17_4_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/123.0.6312.52 Mobile/15E148 Safari/604.1"
152.39.232.210 - - [15/Mar/2025:11:44:19 +0000] "GET /_next/static/chunks/4017-dbe6b633ff140a4d.js HTTP/1.1" 200 13668 "https://hoarder.stascloud.duckdns.org/signin" "Mozilla/5.0 (iPhone; CPU iPhone OS 17_4_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/123.0.6312.52 Mobile/15E148 Safari/604.1"
94.176.93.35 - - [15/Mar/2025:11:44:19 +0000] "GET /_next/static/chunks/7961-edd43db42fbdeb90.js HTTP/1.1" 200 9330 "https://hoarder.stascloud.duckdns.org/signin" "Mozilla/5.0 (iPhone; CPU iPhone OS 17_4_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/123.0.6312.52 Mobile/15E148 Safari/604.1"
152.39.233.13 - - [15/Mar/2025:11:44:19 +0000] "GET /_next/static/chunks/3249-dff4fd46810c173f.js HTTP/1.1" 200 4156 "https://hoarder.stascloud.duckdns.org/signin" "Mozilla/5.0 (iPhone; CPU iPhone OS 17_4_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/123.0.6312.52 Mobile/15E148 Safari/604.1"
152.39.197.207 - - [15/Mar/2025:11:44:19 +0000] "GET /_next/static/chunks/app/layout-461e45843d514c0e.js HTTP/1.1" 200 4054 "https://hoarder.stascloud.duckdns.org/signin" "Mozilla/5.0 (iPhone; CPU iPhone OS 17_4_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/123.0.6312.52 Mobile/15E148 Safari/604.1"
168.151.132.244 - - [15/Mar/2025:11:44:19 +0000] "GET /_next/static/chunks/1270-26997ae55f203f58.js HTTP/1.1" 200 12621 "https://hoarder.stascloud.duckdns.org/signin" "Mozilla/5.0 (iPhone; CPU iPhone OS 17_4_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/123.0.6312.52 Mobile/15E148 Safari/604.1"
152.39.232.210 - - [15/Mar/2025:11:44:19 +0000] "GET /_next/static/chunks/app/signin/page-1514c1537860dd38.js HTTP/1.1" 200 6844 "https://hoarder.stascloud.duckdns.org/signin" "Mozilla/5.0 (iPhone; CPU iPhone OS 17_4_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/123.0.6312.52 Mobile/15E148 Safari/604.1"
107.173.151.223 - - [15/Mar/2025:11:44:19 +0000] "GET /_next/static/chunks/webpack-13cf34048edb0930.js HTTP/1.1" 200 2201 "https://hoarder.stascloud.duckdns.org/signin" "Mozilla/5.0 (iPhone; CPU iPhone OS 17_4_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/123.0.6312.52 Mobile/15E148 Safari/604.1"
152.39.197.207 - - [15/Mar/2025:11:44:19 +0000] "GET /_next/static/chunks/2768.83d712764e8ba331.js HTTP/1.1" 200 3480 "https://hoarder.stascloud.duckdns.org/signin" "Mozilla/5.0 (iPhone; CPU iPhone OS 17_4_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/123.0.6312.52 Mobile/15E148 Safari/604.1"
107.173.151.223 - - [15/Mar/2025:11:44:19 +0000] "GET /_next/static/chunks/1dd3208c-7bfb9938a3f069cd.js HTTP/1.1" 200 53835 "https://hoarder.stascloud.duckdns.org/signin" "Mozilla/5.0 (iPhone; CPU iPhone OS 17_4_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/123.0.6312.52 Mobile/15E148 Safari/604.1"
107.173.151.223 - - [15/Mar/2025:11:44:19 +0000] "GET /_next/static/chunks/1528-ca5ca3ba473a9cfe.js HTTP/1.1" 200 31860 "https://hoarder.stascloud.duckdns.org/signin" "Mozilla/5.0 (iPhone; CPU iPhone OS 17_4_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/123.0.6312.52 Mobile/15E148 Safari/604.1"
107.173.151.223 - - [15/Mar/2025:11:44:19 +0000] "GET /_next/static/chunks/main-app-7dd56bb3b36d6f66.js HTTP/1.1" 200 473 "https://hoarder.stascloud.duckdns.org/signin" "Mozilla/5.0 (iPhone; CPU iPhone OS 17_4_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/123.0.6312.52 Mobile/15E148 Safari/604.1"
107.173.151.223 - - [15/Mar/2025:11:44:19 +0000] "GET /_next/static/chunks/417-fbb06f5afa34f4ac.js HTTP/1.1" 200 23405 "https://hoarder.stascloud.duckdns.org/signin" "Mozilla/5.0 (iPhone; CPU iPhone OS 17_4_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/123.0.6312.52 Mobile/15E148 Safari/604.1"
152.39.232.210 - - [15/Mar/2025:11:44:19 +0000] "GET /favicon.ico HTTP/1.1" 200 15114 "https://hoarder.stascloud.duckdns.org/signin" "Mozilla/5.0 (iPhone; CPU iPhone OS 17_4_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/123.0.6312.52 Mobile/15E148 Safari/604.1"
107.173.151.223 - - [15/Mar/2025:11:44:19 +0000] "GET /_next/static/chunks/8505-afa836e5d649c8b1.js HTTP/1.1" 200 1973 "https://hoarder.stascloud.duckdns.org/signin" "Mozilla/5.0 (iPhone; CPU iPhone OS 17_4_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/123.0.6312.52 Mobile/15E148 Safari/604.1"
107.173.151.223 - - [15/Mar/2025:11:44:19 +0000] "GET /_next/static/chunks/3368-fe90ea9e5c20b0b5.js HTTP/1.1" 200 16136 "https://hoarder.stascloud.duckdns.org/signin" "Mozilla/5.0 (iPhone; CPU iPhone OS 17_4_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/123.0.6312.52 Mobile/15E148 Safari/604.1"
152.39.197.207 - - [15/Mar/2025:11:44:19 +0000] "GET /manifest.json HTTP/1.1" 200 474 "https://hoarder.stascloud.duckdns.org/signin" "Mozilla/5.0 (iPhone; CPU iPhone OS 17_4_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/123.0.6312.52 Mobile/15E148 Safari/604.1"
107.173.151.223 - - [15/Mar/2025:11:44:20 +0000] "GET /_next/static/chunks/9931-f2f21741f4050efc.js HTTP/1.1" 200 14475 "https://hoarder.stascloud.duckdns.org/signin" "Mozilla/5.0 (iPhone; CPU iPhone OS 17_4_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/123.0.6312.52 Mobile/15E148 Safari/604.1"
107.173.151.223 - - [15/Mar/2025:11:44:20 +0000] "GET /_next/static/chunks/4387-b8a83afb7ce53003.js HTTP/1.1" 200 9558 "https://hoarder.stascloud.duckdns.org/signin" "Mozilla/5.0 (iPhone; CPU iPhone OS 17_4_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/123.0.6312.52 Mobile/15E148 Safari/604.1"
107.173.151.223 - - [15/Mar/2025:11:44:20 +0000] "GET /_next/static/chunks/4017-dbe6b633ff140a4d.js HTTP/1.1" 200 13668 "https://hoarder.stascloud.duckdns.org/signin" "Mozilla/5.0 (iPhone; CPU iPhone OS 17_4_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/123.0.6312.52 Mobile/15E148 Safari/604.1"
107.173.151.223 - - [15/Mar/2025:11:44:20 +0000] "GET /_next/static/chunks/app/layout-461e45843d514c0e.js HTTP/1.1" 200 4054 "https://hoarder.stascloud.duckdns.org/signin" "Mozilla/5.0 (iPhone; CPU iPhone OS 17_4_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/123.0.6312.52 Mobile/15E148 Safari/604.1"
107.173.151.223 - - [15/Mar/2025:11:44:20 +0000] "GET /_next/static/chunks/1270-26997ae55f203f58.js HTTP/1.1" 200 12622 "https://hoarder.stascloud.duckdns.org/signin" "Mozilla/5.0 (iPhone; CPU iPhone OS 17_4_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/123.0.6312.52 Mobile/15E148 Safari/604.1"
107.173.151.223 - - [15/Mar/2025:11:44:20 +0000] "GET /_next/static/chunks/7961-edd43db42fbdeb90.js HTTP/1.1" 200 9330 "https://hoarder.stascloud.duckdns.org/signin" "Mozilla/5.0 (iPhone; CPU iPhone OS 17_4_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/123.0.6312.52 Mobile/15E148 Safari/604.1"
107.173.151.223 - - [15/Mar/2025:11:44:20 +0000] "GET /_next/static/chunks/3249-dff4fd46810c173f.js HTTP/1.1" 200 4156 "https://hoarder.stascloud.duckdns.org/signin" "Mozilla/5.0 (iPhone; CPU iPhone OS 17_4_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/123.0.6312.52 Mobile/15E148 Safari/604.1"
107.173.151.223 - - [15/Mar/2025:11:44:20 +0000] "GET /_next/static/chunks/app/signin/page-1514c1537860dd38.js HTTP/1.1" 200 6850 "https://hoarder.stascloud.duckdns.org/signin" "Mozilla/5.0 (iPhone; CPU iPhone OS 17_4_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/123.0.6312.52 Mobile/15E148 Safari/604.1"
107.173.151.223 - - [15/Mar/2025:11:44:20 +0000] "GET /_next/static/chunks/2768.83d712764e8ba331.js HTTP/1.1" 200 3480 "https://hoarder.stascloud.duckdns.org/signin" "Mozilla/5.0 (iPhone; CPU iPhone OS 17_4_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/123.0.6312.52 Mobile/15E148 Safari/604.1"
107.173.151.223 - - [15/Mar/2025:11:44:20 +0000] "GET /manifest.json HTTP/1.1" 200 474 "https://hoarder.stascloud.duckdns.org/signin" "Mozilla/5.0 (iPhone; CPU iPhone OS 17_4_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/123.0.6312.52 Mobile/15E148 Safari/604.1"
107.173.151.223 - - [15/Mar/2025:11:44:20 +0000] "GET /favicon.ico HTTP/1.1" 200 15114 "https://hoarder.stascloud.duckdns.org/signin" "Mozilla/5.0 (iPhone; CPU iPhone OS 17_4_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/123.0.6312.52 Mobile/15E148 Safari/604.1"
95.67.114.140 - - [15/Mar/2025:11:44:27 +0000] "GET /apps/richdocuments/settings/fonts.json HTTP/1.1" 302 0 "-" "COOLWSD HTTP Agent 24.04.12.4"
95.67.114.140 - - [15/Mar/2025:11:45:28 +0000] "GET /apps/richdocuments/settings/fonts.json HTTP/1.1" 302 0 "-" "COOLWSD HTTP Agent 24.04.12.4"
95.67.114.140 - - [15/Mar/2025:11:46:28 +0000] "GET /apps/richdocuments/settings/fonts.json HTTP/1.1" 302 0 "-" "COOLWSD HTTP Agent 24.04.12.4"
95.217.53.158 - - [15/Mar/2025:11:46:33 +0000] "GET /containers HTTP/1.1" 302 0 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.0 Safari/605.1.15"
95.67.114.140 - - [15/Mar/2025:11:46:36 +0000] "GET /index.php/204 HTTP/1.1" 301 169 "-" "Mozilla/5.0 (Android) Nextcloud-android/3.31.0"
95.67.114.140 - - [15/Mar/2025:11:46:36 +0000] "GET /index.php/204 HTTP/1.1" 302 0 "-" "Mozilla/5.0 (Android) Nextcloud-android/3.31.0"
95.67.114.140 - - [15/Mar/2025:11:46:36 +0000] "GET / HTTP/1.1" 302 0 "-" "Mozilla/5.0 (Android) Nextcloud-android/3.31.0"
95.67.114.140 - - [15/Mar/2025:11:46:36 +0000] "GET /login HTTP/1.1" 200 1532 "-" "Mozilla/5.0 (Android) Nextcloud-android/3.31.0"
95.67.114.140 - - [15/Mar/2025:11:47:28 +0000] "GET /apps/richdocuments/settings/fonts.json HTTP/1.1" 302 0 "-" "COOLWSD HTTP Agent 24.04.12.4"
112.162.218.225 - - [15/Mar/2025:11:47:33 +0000] "GET / HTTP/1.0" 301 169 "-" "curl/7.88.1"
95.67.114.140 - - [15/Mar/2025:11:48:28 +0000] "GET /apps/richdocuments/settings/fonts.json HTTP/1.1" 302 0 "-" "COOLWSD HTTP Agent 24.04.12.4"

Configuration

Nginx

  GNU nano 7.2                                nginx/nginx.conf                                         
worker_processes auto;

events {
    worker_connections 1024;
}

http {
    server {
        listen 80;
        server_name stascloud.duckdns.org;

        # Redirect HTTP to HTTPS
        return 301 https://$host$request_uri;
    }

    server {
        listen 443 ssl;
        server_name stascloud.duckdns.org;

        ssl_certificate /etc/letsencrypt/live/stascloud.duckdns.org/fullchain.pem;
        ssl_certificate_key /etc/letsencrypt/live/stascloud.duckdns.org/privkey.pem;

        # Security headers
        add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
        add_header X-Content-Type-Options nosniff;
        add_header X-XSS-Protection "1; mode=block";
        add_header X-Robots-Tag none;
        add_header X-Download-Options noopen;
        add_header X-Permitted-Cross-Domain-Policies none;

        # Proxy to Nextcloud AIO
        location / {
            proxy_pass https://nextcloud-aio-mastercontainer:8080;
            proxy_set_header Host $host;
            proxy_set_header X-Real-IP $remote_addr;
            proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
            proxy_set_header X-Forwarded-Proto $scheme;
            proxy_set_header X-Forwarded-Host $host;
            proxy_set_header X-Forwarded-Port $server_port;

            # Disable SSL verification for self-signed certificates
            proxy_ssl_verify off;
        }
    }

    server {
        listen 443 ssl;
        server_name hoarder.stascloud.duckdns.org;

        ssl_certificate /etc/letsencrypt/live/stascloud.duckdns.org/fullchain.pem;
        ssl_certificate_key /etc/letsencrypt/live/stascloud.duckdns.org/privkey.pem;

        # Proxy to Hoarder
        location / {
            proxy_pass http://web:3000;
            proxy_set_header Host $host;
            proxy_set_header X-Real-IP $remote_addr;
            proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
            proxy_set_header X-Forwarded-Proto $scheme;
        }
    }

    server {
        listen 443 ssl;
        server_name dashy.stascloud.duckdns.org;

        ssl_certificate /etc/letsencrypt/live/stascloud.duckdns.org/fullchain.pem;
        ssl_certificate_key /etc/letsencrypt/live/stascloud.duckdns.org/privkey.pem;

        # Proxy to Dashy
        location / {
            proxy_pass http://dashy:80;
            proxy_set_header Host $host;
            proxy_set_header X-Real-IP $remote_addr;
            proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
            proxy_set_header X-Forwarded-Proto $scheme;
        }
    }

    server {
        listen 8443 ssl;
        server_name stascloud.duckdns.org;

        ssl_certificate /etc/letsencrypt/live/stascloud.duckdns.org/fullchain.pem;
        ssl_certificate_key /etc/letsencrypt/live/stascloud.duckdns.org/privkey.pem;

        location / {
            proxy_pass https://nextcloud-aio-mastercontainer:8080;
            proxy_set_header Host $host:$server_port;
            proxy_set_header X-Real-IP $remote_addr;
            proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
            proxy_set_header X-Forwarded-Proto $scheme;

            # Disable SSL verification for self-signed certificates
            proxy_ssl_verify off;
        }
    }
}

docker-compose.yml

services:
  # Hoarder services
  web:
    image: ghcr.io/hoarder-app/hoarder:${HOARDER_VERSION:-release}
    restart: unless-stopped
    volumes:
      - hoarder_data:/data
    ports:
      - 3000:3000
    env_file:
      - .env
    environment:
      MEILI_ADDR: http://meilisearch:7700
      BROWSER_WEB_URL: http://chrome:9222
      # OPENAI_API_KEY: ...  # Uncomment and add your OpenAI API key if needed
      DATA_DIR: /data  # DON'T CHANGE THIS
    depends_on:
      - chrome
      - meilisearch

  chrome:
    image: gcr.io/zenika-hub/alpine-chrome:123
    restart: unless-stopped
    command:
      - --no-sandbox
      - --disable-gpu
      - --disable-dev-shm-usage
      - --remote-debugging-address=0.0.0.0
      - --remote-debugging-port=9222
      - --hide-scrollbars

  meilisearch:
    image: getmeili/meilisearch:v1.11.1
    restart: unless-stopped
    env_file:
      - .env
    environment:
      MEILI_NO_ANALYTICS: "true"
    volumes:
      - meilisearch_data:/meili_data

  # Nextcloud AIO service
  nextcloud:
    image: nextcloud/all-in-one:latest
    container_name: nextcloud-aio-mastercontainer
    restart: always
    init: true
    #sig_proxy: false
    ports:
      - "8080:8080"
    environment:
      APACHE_PORT: 11000
      APACHE_IP_BINDING: 0.0.0.0
      APACHE_ADDITIONAL_NETWORK: ""
      NEXTCLOUD_URL: https://stascloud.duckdns.org
      SKIP_DOMAIN_VALIDATION: "false"
    volumes:
      - nextcloud_aio_mastercontainer:/mnt/docker-aio-config
      - /var/run/docker.sock:/var/run/docker.sock:ro

  dashy:
    image: lissy93/dashy:latest
    container_name: dashy
    restart: always
    environment:
      - DASHY_DOMAIN=dashy.stascloud.duckdns.org
    volumes:
      - dashy_data:/app/public/conf.yml
    ports:
      - "8082:80"

  nginx:
    image: nginx
    container_name: nginx
    restart: always
    ports:
      - "80:80"
      - "443:443"
    volumes:
      - ./nginx/nginx.conf:/etc/nginx/nginx.conf:ro
      - /etc/letsencrypt:/etc/letsencrypt:ro
    depends_on:
      - nextcloud
      - web
      - dashy

volumes:
  meilisearch_data:
  hoarder_data:
  nextcloud_aio_mastercontainer:
    name: nextcloud_aio_mastercontainer  # Explicitly name the volume
  dashy_data:

Hi, please follow all-in-one/reverse-proxy.md at main · nextcloud/all-in-one · GitHub

I did it, but got nothing. Maybe you have an idea where to look for problem?
Now when I go to mycloud.domain.com I get to mycloud.domain.com/containers


After press on open your nextcloud browser opens mycloud.domain.com/containers but in new tab
I see no errors to work with, already tried to change nginx.conf multiple times, added SKIP_DOMAIN_VALIDATION: “true” to docker-compose.yml but I’m still not able to login.

Actually found one thing.
I was trying to stop and start again nextcloud-aio-domaincheck and after
docker start nextcloud-aio-domaincheck
I got an error
Error response from daemon: driver failed programming external connectivity on endpoint nextcloud-aio-domaincheck (f00b2f28ebdac0c91944dcd1e1f586b359cd0b60c14ca4f7eccc84cad03b74c4): Bind for 0.0.0.0:11000 failed: port is already allocated
Error: failed to start containers: nextcloud-aio-domaincheck

According to docker ps -a
nextcloud-aio-apache is listening on this port

Is it expected behaviour?
Could it be the reason of my issue?

You need to point nginx at ip.address.of.server:$APACHE_PORT instead of the mastercontainer. These are two separate web interfaces.

1 Like

Thank you I missed this moment. You saved my day. Thank you very much)

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.