"open your Nextcloud" button

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):
    • Latest
  • Operating system and version (e.g., Ubuntu 24.04):
    • WSL 2 Ubuntu latest
  • Web server and version (e.g, Apache 2.4.25):
    • Apache Latest
  • Reverse proxy and version _(e.g. nginx 1.27.2)
    • replace me
  • PHP version (e.g, 8.3):
    • Latest
  • Is this the first time you’ve seen this error? (Yes / No):
    • Yes
  • When did this problem seem to first start?
    • During install
  • Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
    • AIO DOCKER Windows
  • Are you using CloudfIare, mod_security, or similar? (Yes / No)
    • SWAG

Summary of the issue you are facing:

Installed AIO and can access the gui via my reverse proxy pointing towards port 8080. Once containers were installed and running and I click “Open nextcloud”, the page reloads and doesn’t take me anywhere.

Steps to replicate it (hint: details matter!):

  1. Click “open your nextcloud”

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.

2025-01-15 12:43:11 nextcloud-aio-mastercontainer  | NOTICE: PHP message: 404 Not Found
2025-01-15 12:43:11 nextcloud-aio-mastercontainer  | Type: Slim\Exception\HttpNotFoundException
2025-01-15 12:43:11 nextcloud-aio-mastercontainer  | Code: 404
2025-01-15 12:43:11 nextcloud-aio-mastercontainer  | Message: Not found.
2025-01-15 12:43:11 nextcloud-aio-mastercontainer  | File: /var/www/docker-aio/php/vendor/slim/slim/Slim/Middleware/RoutingMiddleware.php
2025-01-15 12:43:11 nextcloud-aio-mastercontainer  | Line: 76
2025-01-15 12:43:11 nextcloud-aio-mastercontainer  | Trace: #0 /var/www/docker-aio/php/vendor/slim/slim/Slim/Routing/RouteRunner.php(62): Slim\Middleware\RoutingMiddleware->performRouting(Object(GuzzleHttp\Psr7\ServerRequest))
2025-01-15 12:43:11 nextcloud-aio-mastercontainer  | #1 /var/www/docker-aio/php/vendor/slim/csrf/src/Guard.php(482): Slim\Routing\RouteRunner->handle(Object(GuzzleHttp\Psr7\ServerRequest))
2025-01-15 12:43:11 nextcloud-aio-mastercontainer  | #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))
2025-01-15 12:43:11 nextcloud-aio-mastercontainer  | #3 /var/www/docker-aio/php/vendor/slim/twig-view/src/TwigMiddleware.php(117): Psr\Http\Server\RequestHandlerInterface@anonymous->handle(Object(GuzzleHttp\Psr7\ServerRequest))
2025-01-15 12:43:11 nextcloud-aio-mastercontainer  | #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))
2025-01-15 12:43:11 nextcloud-aio-mastercontainer  | #5 /var/www/docker-aio/php/src/Middleware/AuthMiddleware.php(36): Psr\Http\Server\RequestHandlerInterface@anonymous->handle(Object(GuzzleHttp\Psr7\ServerRequest))
2025-01-15 12:43:11 nextcloud-aio-mastercontainer  | #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))
2025-01-15 12:43:11 nextcloud-aio-mastercontainer  | #7 /var/www/docker-aio/php/vendor/slim/slim/Slim/Middleware/ErrorMiddleware.php(77): Psr\Http\Server\RequestHandlerInterface@anonymous->handle(Object(GuzzleHttp\Psr7\ServerRequest))
2025-01-15 12:43:11 nextcloud-aio-mastercontainer  | #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))
2025-01-15 12:43:11 nextcloud-aio-mastercontainer  | #9 /var/www/docker-aio/php/vendor/slim/slim/Slim/MiddlewareDispatcher.php(73): Psr\Http\Server\RequestHandlerInterface@anonymous->handle(Object(GuzzleHttp\Psr7\ServerRequest))
2025-01-15 12:43:11 nextcloud-aio-mastercontainer  | #10 /var/www/docker-aio/php/vendor/slim/slim/Slim/App.php(209): Slim\MiddlewareDispatcher->handle(Object(GuzzleHttp\Psr7\ServerRequest))
2025-01-15 12:43:11 nextcloud-aio-mastercontainer  | #11 /var/www/docker-aio/php/vendor/slim/slim/Slim/App.php(193): Slim\App->handle(Object(GuzzleHttp\Psr7\ServerRequest))
2025-01-15 12:43:11 nextcloud-aio-mastercontainer  | #12 /var/www/docker-aio/php/public/index.php(189): Slim\App->run()
2025-01-15 12:43:11 nextcloud-aio-mastercontainer  | #13 {main}
2025-01-15 12:43:11 nextcloud-aio-mastercontainer  | Tips: To display error details in HTTP response set "displayErrorDetails" to true in the ErrorHandler constructor.

Web Browser

If the problem is related to the Web interface, open your browser inspector Console and Network tabs while refreshing (reloading) and reproducing the problem. Provide any relevant output/errors here that appear.

PASTE


#### Web server / Reverse Proxy

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

PASTE HERE

Mobile Safari/537.36"
172.23.0.1 - - [15/Jan/2025:12:34:28 -0600] "GET /upload HTTP/2.0" 404 665 "-" "Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Mobile Safari/537.36"
172.23.0.1 - - [15/Jan/2025:12:34:31 -0600] "GET /apps/richdocuments/settings/fonts.json HTTP/1.1" 302 0 "-" "COOLWSD HTTP Agent 24.04.11.1"
172.23.0.1 - - [15/Jan/2025:12:34:39 -0600] "GET /login HTTP/2.0" 200 1504 "-" "Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Mobile Safari/537.36"
172.23.0.1 - - [15/Jan/2025:12:34:41 -0600] "GET /admin HTTP/2.0" 404 665 "-" "Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Mobile Safari/537.36"
172.23.0.1 - - [15/Jan/2025:12:34:43 -0600] "GET /containers HTTP/2.0" 200 31795 "https://nextcloud.smithgeoffrey.com/containers" "Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Mobile Safari/537.36"
172.23.0.1 - - [15/Jan/2025:12:35:31 -0600] "GET /apps/richdocuments/settings/fonts.json HTTP/1.1" 302 0 "-" "COOLWSD HTTP Agent 24.04.11.1"
172.23.0.1 - - [15/Jan/2025:12:36:07 -0600] "GET /containers HTTP/2.0" 200 31795 "https://nextcloud.smithgeoffrey.com/containers" "Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Mobile Safari/537.36"
172.23.0.1 - - [15/Jan/2025:12:36:31 -0600] "GET /apps/richdocuments/settings/fonts.json HTTP/1.1" 302 0 "-" "COOLWSD HTTP Agent 24.04.11.1"
172.23.0.1 - - [15/Jan/2025:12:37:31 -0600] "GET /apps/richdocuments/settings/fonts.json HTTP/1.1" 302 0 "-" "COOLWSD HTTP Agent 24.04.11.1"
172.23.0.1 - - [15/Jan/2025:12:38:31 -0600] "GET /apps/richdocuments/settings/fonts.json HTTP/1.1" 302 0 "-" "COOLWSD HTTP Agent 24.04.11.1"
172.23.0.1 - - [15/Jan/2025:12:39:32 -0600] "GET /apps/richdocuments/settings/fonts.json HTTP/1.1" 302 0 "-" "COOLWSD HTTP Agent 24.04.11.1"
172.23.0.1 - - [15/Jan/2025:12:40:00 -0600] "GET / HTTP/1.1" 200 1345 "-" "Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.2623.112 Safari/537.36"
172.23.0.1 - - [15/Jan/2025:12:40:19 -0600] "GET / HTTP/1.1" 301 162 "-" "Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.2623.112 Safari/537.36"
172.23.0.1 - - [15/Jan/2025:12:40:32 -0600] "GET /apps/richdocuments/settings/fonts.json HTTP/1.1" 302 0 "-" "COOLWSD HTTP Agent 24.04.11.1"

Configuration

Nextcloud

The output of occ config:list system or similar is best, but, if not possible, the contents of your config.php file from /path/to/nextcloud is fine (make sure to remove any identifiable information!):

PASTE HERE

Apps

The output of occ app:list (if possible).

Tips for increasing the likelihood of a response

  • Use the preformatted text formatting option in the editor for all log entries and configuration output.
  • If screenshots are useful, feel free to include them.
    • If possible, also include key error output in text form so it can be searched for.
  • Try to edit log output only minimally (if at all) so that it can be ran through analyzers / formatters by those trying to help you.

Unless I’m misunderstanding what you’re saying, your reverse proxy should be pointed at your APACHE_PORT, not at 8080.

Did you, perhaps, skip domain validation?

AIO: Reverse Proxy Documentation

Specifically: AIO: Debugging RP Setup

Correct. My reverse proxy is pointed at 8080.

I did indeed skip domain validation due to it not accepting my domain

Fixed. I commented out network mode :host in the docker compose and created a network and attached both swag and nextcloud to it.

After deleting all volumes and the data directory and installing from scratch I was able to complete setup using http://serverip:8080.

And was able to access nextcloud using my reverse proxy

1 Like

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