Hello!
so i just set up a nextcloud instance via docker-compose on one of my servers.
But i already have multiple webservers on my network that have to be accessible from outside. Therefore i set up a nginx reverse proxy on one of my other servers, published it’s ports and connect all the other services via that.
Now that docker nextcloud i installed doesn’t go smooth with it. It’s using the dockerhub.io image and doesn’t come with any kind of proxy config.
And i don’t know how to proceed anymore tbh…
The actual problem is as follows: I have the admin account that works perfectly fine. I can access everything and every menu from my domain name; let’s say it’s https://domain.randomlegend.com
I then created a regular user account for me to actually use. This user account can login and can access the dashboard. It cannot access the files or the settings. If i try, i get this error:
I can find the following error in the nextcloud.log:
[…] ,"level":3, "time" :"2023-06-27T18:43:20+00:00", "remoteAddr" :"xxx.xxx.xxx.xxx", "user": "randomlegend", "app" :"no app in context", "method":"POST", "url":"/login", "message": "Cannot assign requested address", "userAgent
[…]
This is the part in the config.php i did regarding the proxy stuff.
overwritehost
and overwrite.cli.url
have the same address in them but the cli.url has https:// infront of it.
I also get this error in the overview of nextcloud…
If i now create another new user, that user can’t even log in…immediately get’s the “Internal Server Error”
Soooo…any idea on why the regular user get’s errors and the admin account does not? Also, what did i forget to config?
Any help would be appreciated! Thanks
trusted_proxies
needs to be an array of strings, not a stringthanks
i fixed my problem by now, reinstalled the whole thing and didn’t make that mistake again 🙃
But thanks!