Skip to content

New install: OpenCloud fails log in using local DNS, NPM, or any configuration #246

@F1zzyD

Description

@F1zzyD

I have been attempting to ducktape together OpenCloud to function at all, however I am either locked out due to a few things:

1. Not logged in message

"Not logged in This could be because of a routine safety log out, or because your account is either inactive or not yet authorized for use. Please try logging in after a while or seek help from your Administrator."

OpenCloud logs say everything starts up normally and presents my username and admin password. However, when logging in it either gives error 500 or says the message above. Doing any sort of tweaking in the .env or compose files does not fix this error. I cannot get past this login screen and the logs are not helpful.

  1. Not logged in message using DNS & NPM

My goal is to use OpenCloud locally and using my custom SSL certs. I tried getting OpenCloud to route through AdGuard Home and NPM, however OpenCloud is still hard stuck on using 127.0.0.1. I went in and changed all of the .yml files to use 0.0.0.0 and added dns to my compose files, however it seems that OpenCloud is hard-coded to use 127.0.0.1. This is true because in the logs I see:

level":"warn","service":"collaboration","error":"Get \"https://collabora.mydomain.com/hosting/discovery\": dial tcp: lookup collabora.yotehouse.cc on 127.0.0.11:53: no such host","time":"2026-03-14T02:28:47Z","line":"github.com/opencloud-eu/opencloud/services/collaboration/pkg/command/server.go:83","message":"Failed to get app URLs"

I know that it is seeing my DNS server because of this log:

{"level":"error","service":"proxy","error":"failed to verify access token: Get \"https://opencloud.mydomain,com/.well-known/openid-configuration\": tls: failed to verify certificate: x509: certificate is valid for mylocaldomain.local, *.local, not opencloud.mydomain.com","authenticator":"oidc","path":"/ocs/v1.php/cloud/capabilities","user_agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:148.0) Gecko/20100101 Firefox/148.0","client.address":"192.168.4.24","network.peer.address":"","network.peer.port":"","time":"2026-03-14T02:27:19Z","line":"github.com/opencloud-eu/opencloud/services/proxy/pkg/middleware/oidc_auth.go:209","message":"failed to authenticate the request"}

OpenCloud is able to see some of my local DNS rewrites, however it fails to see the DNS rewrites I have specifically made for it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions