New Nextcloud AIO instance just logs me into the container admin page

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):
    • Not entirely sure but the containers page says Nextcloud AIO v11.9.0
  • Operating system and version (e.g., Ubuntu 24.04):
    • Running in Docker on a Ugreen NAS with it's default UGOS operating system
  • Web server and version (e.g, Apache 2.4.25):
    • Not sure since I can't get past the page where I start the containers including apache
  • Reverse proxy and version _(e.g. nginx 1.27.2)
    • Tailscale via TSDproxy v1.4.7
  • PHP version (e.g, 8.3):
    • Don't know how to check or if I even can check since can't get past the containers setup page
  • Is this the first time you’ve seen this error? (Yes / No):
    • Yes since this is my first time installing it
  • When did this problem seem to first start?
    • Upon first time trying to setup
  • Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
    • AIO on Docker
  • Are you using CloudfIare, mod_security, or similar? (Yes / No)
    • No, using TSDproxy

Summary of the issue you are facing:

New to nextcloud. I setup nextcloud AIO in a docker container on my NAS. I have it working with Tailscale via TSDproxy and can access the login page via my tailscale URL.

However I’m having an issue actually getting logged in. I get to the containers page, start the containers, enter a backup location and set the timezone.

Then when I click the “Open your Nextcloud” button it brings me to a page that says

r/NextCloud - New Nextcloud AIO instance just logs me into the container admin page|595xauto

So then I attempted to use the automatic login URL found on the nextcloud github (https://yourdomain.tld/settings/admin/overview) substituting “yourdomain.tld” with my tailscale URL and it still just loads the same login blocked page.

So then I attempted what it say in the screenshot and stopped the apache container. This allows the page where I enter the passphrase to load. But this is where my main problem is.

I enter the passphrase and login. But doing so just brings me right back to the containers page with the “Open your Nextcloud” button again. Then trying the automatic login URL again brings me to this page

r/NextCloud - New Nextcloud AIO instance just logs me into the container admin page|484xauto

Trying to use the https://[ipaddress]:[port]/settings/admin/overview brings up the enter passphrase screen again. But entering it then brings me once again back to the containers page.

So then I wondered if it’s because I stopped the Apache container. But then starting that container back up just brings me back to the login blocked page again.

So for the life of me I can’t figure out how to get past the containers page of the setup process. I’m hoping someone here can help me!

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

  1. Steps I took are organized in my summary. But one thing to add is that prior to getting to the containers page I had trouble with the domain check for the reverse proxy. Whenever I tried to check my tailscale URL nextcloud would error with something about the URL not pointing to the nextcloud server. But when I loaded the tailscale URL in a browser it successfully brings up the Nextcloud page. So I assumed it was working and safe to just skip the domain check.

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.

https://pastebin.com/Fs53mAMk

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

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!):

Trying to run that command using docker exec just errors with "OCI runtime exec failed: exec failed: unable to start container process: exec: "occ": executable file not found in $PATH: unknown" so here is my config.php https://pastebin.com/6YyBgdVx 

Apps

The output of occ app:list (if possible). Same error as the previous question asking to run occ.

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.

Can you clarify if you’re using the Tailscale guide linked from the AIO Reverse Proxy documentation?

Yeah that’s the guide I followed. I used option B as I am familiar with tsdproxy. I’ve got tsdproxy working in like 13 other containers.

Still haven’t been able to figure this issue out. Hoping someone can help. I even reset my instance as per the documentation and started from scratch. Ended up with the exact same problem.

So I’m not sure what else to try?