Cant login fresh install help
hello
installe dit new (docker compose behind existing nginx reverse proxy) 2 days ago. It worked (proof of concept). Now I wanted it to do 'the good way', made a new dynDNS letsencrypt certificates, .. like the manual describes.
but I cant login:
has it something to do with this stuff?
my .env:
## Basic Settings ##
# Define the docker compose log driver used.
# Defaults to local
LOG_DRIVER=
# If you're on an internet facing server, comment out following line.
# It skips certificate validation for various parts of OpenCloud and is
# needed when self signed certificates are used.
#INSECURE=true
## Features ##
# The following variable is a convenience variable to enable or disable features of this compose project.
# Example: if you want to use traefik and letsencrypt, you can set the variable to
#COMPOSE_FILE=docker-compose.yml:traefik/opencloud.yml
# This enables you to just run `docker compose up -d` and the compose files will be added to the stack.
# As alternative approach you can run `docker compose -f docker-compose.yml -f docker-compose.traefik.yml up -d`
# Default: OpenCloud and Collabora with traefik and letsencypt
# This needs DNS entries for the domain names used in the .env file.
#COMPOSE_FILE=docker-compose.yml:weboffice/collabora.yml:traefik/opencloud.yml:traefik/collabora.yml
# If you want to use the external proxy, you can use the following combination.
# DNS entries and certificates need to be managed by the external environment.
# The domain names need to be entered into the .env file.
COMPOSE_FILE=docker-compose.yml:weboffice/collabora.yml:external-proxy/opencloud.yml:external-proxy/collabora.yml
# Keycloak Shared User Directory
#COMPOSE_FILE=docker-compose.yml:weboffice/collabora.yml:traefik/opencloud.yml:traefik/collabora.yml:idm/ldap-keycloak.yml:traefik/ldap-keycloak.yml
## Traefik Settings ##
# Note: Traefik is always enabled and can't be disabled.
# Serve Traefik dashboard.
# Defaults to "false".
TRAEFIK_DASHBOARD=
# Domain of Traefik, where you can find the dashboard.
# Defaults to "traefik.opencloud.test"
TRAEFIK_DOMAIN=
# Basic authentication for the traefik dashboard.
# Defaults to user "admin" and password "admin" (written as: "admin:$2y$05$KDHu3xq92SPaO3G8Ybkc7edd51pPLJcG1nWk3lmlrIdANQ/B6r5pq").
# To create user:password pair, it's possible to use this command:
# echo $(htpasswd -nB user) | sed -e s/\\$/\\$\\$/g
TRAEFIK_BASIC_AUTH_USERS=
# Email address for obtaining LetsEncrypt certificates.
# Needs only be changed if this is a public facing server.
TRAEFIK_ACME_MAIL=
# Set to the following for testing to check the certificate process:
# "https://acme-staging-v02.api.letsencrypt.org/directory"
# With staging configured, there will be an SSL error in the browser.
# When certificates are displayed and are emitted by # "Fake LE Intermediate X1",
# the process went well and the envvar can be reset to empty to get valid certificates.
TRAEFIK_ACME_CASERVER=
# Enable the Traefik ACME (Automatic Certificate Management Environment) for automatic SSL certificate management.
TRAEFIK_SERVICES_TLS_CONFIG="tls.certresolver=letsencrypt"
# Enable Traefik to use local certificates.
#TRAEFIK_SERVICES_TLS_CONFIG="tls=true"
# You also need to provide a config file in ./config/traefik/dynamic/certs.yml
# Example:
# cat ./config/traefik/dynamic/certs.yml
# tls:
# certificates:
# - certFile: /certs/opencloud.test.crt
# keyFile: /certs/opencloud.test.key
# stores:
# - default
#
# The certificates need to copied into ./certs/, the absolute path inside the container is /certs/.
# You can also use TRAEFIK_CERTS_DIR=/path/on/host to set the path to the certificates directory.
# Enable the access log for Traefik by setting the following variable to true.
TRAEFIK_ACCESS_LOG=
# Configure the log level for Traefik.
# Possible values are "TRACE", "DEBUG", "INFO", "WARN", "ERROR", "FATAL" and "PANIC". Default is "ERROR".
TRAEFIK_LOG_LEVEL=
## OpenCloud Settings ##
# The opencloud container image.
# For production releases: "opencloudeu/opencloud"
# For rolling releases: "opencloudeu/opencloud-rolling"
# Defaults to production if not set otherwise
OC_DOCKER_IMAGE=opencloudeu/opencloud-rolling
# The openCloud container version.
# Defaults to "latest" and points to the latest stable tag.
OC_DOCKER_TAG=
# Domain of openCloud, where you can find the frontend.
# Defaults to "cloud.opencloud.test"
OC_DOMAIN=files.bart.mywire.org
# Demo users should not be created on a production instance,
# because their passwords are public. Defaults to "false".
# If demo users is set to "true", the following user accounts are created automatically:
# alan, mary, margaret, dennis and lynn - the password is 'demo' for all.
DEMO_USERS=
# Admin Password for the OpenCloud admin user.
# NOTE: This is only needed when using the built-in LDAP server (idm).
# If you are using an external LDAP server, the admin password is managed by the LDAP server.
# NOTE: This variable needs to be set before the first start of OpenCloud. Changes to this variable after the first start will be IGNORED.
# If not set, opencloud will not work properly. The container will be restarting.
# After the first initialization, the admin password can only be changed via the OpenCloud User Settings UI or by using the OpenCloud CLI.
# Documentation: https://docs.opencloud.eu/docs/admin/resources/common-issues#-change-admin-password-set-in-env
INITIAL_ADMIN_PASSWORD=<adminpass>
# Define the openCloud loglevel used.
#
LOG_LEVEL=
# Define the kind of logging.
# The default log can be read by machines.
# Set this to true to make the log human readable.
# LOG_PRETTY=true
#
# Define the openCloud storage location. Set the paths for config and data to a local path.
# Ensure that the configuration and data directories are owned by the user and group with ID 1000:1000.
# This matches the default user inside the container and avoids permission issues when accessing files.
# Note that especially the data directory can grow big.
# Leaving it default stores data in docker internal volumes.
OC_CONFIG_DIR=/media/hdisk1/opencloud/config
OC_DATA_DIR=/media/hdisk1/opencloud/data
# OpenCloud Web can load extensions from a local directory.
# The default uses the bind mount to the config/opencloud/apps directory.
# Example: curl -L https://github.com/opencloud-eu/web-extensions/releases/download/unzip-v1.0.2/unzip-1.0.2.zip | tar -xz -C config/opencloud/apps
# NOTE: you need to restart the openCloud container to load the new extensions.
# OC_APPS_DIR=/your/local/opencloud/apps
# Define the ldap-server storage location. Set the paths for config and data to a local path.
# LDAP_CERTS_DIR=
# LDAP_DATA_DIR=
# S3 Storage configuration - optional
# OpenCloud supports S3 storage as primary storage.
# Per default, S3 storage is disabled and the decomposed storage driver is used.
# To enable S3 storage, add `storage/decomposeds3.yml` to the COMPOSE_FILE variable or to
# your startup command (`docker compose -f docker-compose.yml -f storage/decomposeds3.yml up`).
#
# Configure the S3 storage endpoint. Defaults to "http://minio:9000" for testing purposes.
DECOMPOSEDS3_ENDPOINT=
# S3 region. Defaults to "default".
DECOMPOSEDS3_REGION=
# S3 access key. Defaults to "opencloud"
DECOMPOSEDS3_ACCESS_KEY=
# S3 secret. Defaults to "opencloud-secret-key"
DECOMPOSEDS3_SECRET_KEY=
# S3 bucket. Defaults to "opencloud"
DECOMPOSEDS3_BUCKET=
#
# For testing purposes, add local minio S3 storage to the docker-compose file.
# The leading colon is required to enable the service.
#DECOMPOSEDS3_MINIO=:minio.yml
# Minio domain. Defaults to "minio.opencloud.test".
MINIO_DOMAIN=
# Define SMTP settings if you would like to send OpenCloud email notifications.
#
# NOTE: when configuring Inbucket, these settings have no effect, see inbucket.yml for details.
# SMTP host to connect to.
SMTP_HOST=
# Port of the SMTP host to connect to.
SMTP_PORT=
# An eMail address that is used for sending OpenCloud notification eMails
# like "opencloud notifications <[email protected]>".
SMTP_SENDER=
# Username for the SMTP host to connect to.
SMTP_USERNAME=
# Password for the SMTP host to connect to.
SMTP_PASSWORD=
# Authentication method for the SMTP communication.
SMTP_AUTHENTICATION=
# Encryption method for the SMTP communication. Possible values are 'starttls', 'ssltls' and 'none'
SMTP_TRANSPORT_ENCRYPTION=
# Allow insecure connections to the SMTP server. Defaults to false.
SMTP_INSECURE=
# Addititional services to be started on opencloud startup
# The following list of services is not startet automatically and must be
# manually defined for startup:
# IMPORTANT: The notification service is MANDATORY, do not delete!
# IMPORTANT: Add any services to the startup list comma separated like "notifications,antivirus" etc.
START_ADDITIONAL_SERVICES="notifications"
## Default Enabled Services ##
### Apache Tika Content Analysis Toolkit ###
# Tika (search) is disabled by default due to performance reasons.
# Tika is used to extract metadata and text from various file formats.
# Enable it by adding the following to the COMPOSE_FILE variable:
# search/tika.yml or by using the following command:
# docker compose -f docker-compose.yml -f search/tika.yml up -d
# Set the desired docker image tag or digest.
# Defaults to "apache/tika:latest-full"
TIKA_IMAGE=
### IMPORTANT Note for Online Office Apps ###
# To avoid app interlocking issues, you should select only one app to be active/configured.
# This is due the fact that there is currently no app interlocking for the same file and one
# has to wait for a lock release to open the file with another app.
### Collabora Settings ###
# Domain of Collabora, where you can find the frontend.
# Defaults to "collabora.opencloud.test"
COLLABORA_DOMAIN=collabora.bart.mywire.org
# Domain of the wopiserver which handles Collabora.
# Defaults to "wopiserver.opencloud.test"
WOPISERVER_DOMAIN=wopiserver.bart.mywire.org
# Admin user for Collabora.
# Defaults to "admin".
# Collabora Admin Panel URL:
# https://{COLLABORA_DOMAIN}/browser/dist/admin/admin.html
COLLABORA_ADMIN_USER=
# Admin password for Collabora.
# Defaults to "admin".
COLLABORA_ADMIN_PASSWORD=<not of your business>
# Set to true to enable SSL handling in Collabora Online, this is only required if you are not using a reverse proxy.
# Default is true if not specified.
COLLABORA_SSL_ENABLE=false
# If you're on an internet-facing server, enable SSL verification for Collabora Online.
# Please comment out the following line:
COLLABORA_SSL_VERIFICATION=false
### Virusscanner Settings ###
# IMPORTANT: If you enable antivirus, you also MUST configure the START_ADDITIONAL_SERVICES
# envvar in the OpenCloud Settings above by adding 'antivirus' to the list.
# The maximum scan size the virus scanner can handle, needs adjustment in the scanner config as well.
# Usable common abbreviations: [KB, KiB, MB, MiB, GB, GiB, TB, TiB, PB, PiB, EB, EiB], example: 2GB.
# Defaults to "100MB"
#ANTIVIRUS_MAX_SCAN_SIZE=
# Usable modes: partial, skip.
# Defaults to "partial"
#ANTIVIRUS_MAX_SCAN_SIZE_MODE=
# Image version of the ClamAV container.
# Defaults to "latest"y
CLAMAV_DOCKER_TAG=
### Inbucket Settings ###
# Inbucket is a mail catcher tool for testing purposes.
# DO NOT use in Production.
# email server (in this case inbucket acts as mail catcher).
# Domain for Inbucket. Defaults to "mail.opencloud.test".
INBUCKET_DOMAIN=
### Compose Configuration ###
# Path separator for supplemental compose files specified in COMPOSE_FILE.
COMPOSE_PATH_SEPARATOR=:
### Ldap Settings ###
# LDAP is always needed for OpenCloud to store user data as there is no relational database.
# The built-in LDAP server should used for testing purposes or small installations only.
# For production installations, it is recommended to use an external LDAP server.
# We are using OpenLDAP as the default LDAP server because it is proven to be stable and reliable.
# This LDAP configuration is known to work with OpenCloud and provides a blueprint for
# configuring an external LDAP server based on other products like Microsoft Active Directory or other LDAP servers.
#
# Password of LDAP bind user "cn=admin,dc=opencloud,dc=eu". Defaults to "admin"
LDAP_BIND_PASSWORD=
# The LDAP server also creates an openCloud admin user dn: uid=admin,ou=users,dc=opencloud,dc=eu
# The initial password for this user is "admin"
# NOTE: This password can only be set once, if you want to change it later, you have to use the OpenCloud User Settings UI.
# If you changed the password and lost it, you need to execute the following LDAP query to reset it:
# enter the ldap-server container with `docker compose exec ldap-server sh`
# and run the following command to change the password:
# ldappasswd -H ldap://127.0.0.1:1389 -D "cn=admin,dc=opencloud,dc=eu" -W "uid=admin,ou=users,dc=opencloud,dc=eu"
# You will be prompted for the LDAP bind password.
# The output should provide you a new password for the admin user.
### Keycloak Settings ###
# Keycloak is an open-source identity and access management solution.
# We are using Keycloak as the default identity provider on production installations.
# It can be used to federate authentication with other identity providers like
# Microsoft Entra ID, ADFS or other SAML/OIDC providers.
# The use of Keycloak as bridge between OpenCloud and other identity providers creates more control over the
# authentication process, the allowed clients and the session management.
# Keycloak also manages the Role Based Access Control (RBAC) for OpenCloud.
# Keycloak can be used in two different modes:
# 1. Autoprovisioning: New users are automatically created in openCloud when they log in for the first time.
# 2. Shared User Directory: Users are created in Keycloak and can be used in OpenCloud immediately
# because the LDAP server is connected to both Keycloak and OpenCloud.
# Only use one of the two modes at a time.
## Autoprovisioning Mode ##
# Use together with idm/external-idp.yml
# If you want to use a keycloak for local testing, you can use testing/external-keycloak.yml and testing/ldap-manager.yml
# Domain of your Identity Provider.
IDP_DOMAIN=
# IdP Issuer URL, which is used to identify the Identity Provider.
# We need the complete URL, including the protocol (http or https) and the realm.
# Example: "https://keycloak.opencloud.test/realms/openCloud"
IDP_ISSUER_URL=
# Url of the account edit page from your Identity Provider.
IDP_ACCOUNT_URL=
## Shared User Directory Mode ##
# Use together with idm/ldap-keycloak.yml and traefik/ldap-keycloak.yml
# Domain for Keycloak. Defaults to "keycloak.opencloud.test".
KEYCLOAK_DOMAIN=
# Admin user login name. Defaults to "kcadmin".
KEYCLOAK_ADMIN=
# Admin user login password. Defaults to "admin".
KEYCLOAK_ADMIN_PASSWORD=
# Keycloak Database username. Defaults to "keycloak".
KC_DB_USERNAME=
# Keycloak Database password. Defaults to "keycloak".
KC_DB_PASSWORD=
### Radicale Setting ###
# Radicale is a small open-source CalDAV (calendars, to-do lists) and CardDAV (contacts) server.
# When enabled OpenCloud is configured as a reverse proxy for Radicale, providing all authenticated
# OpenCloud users access to a Personal Calendar and Addressbook
# Docker image to use for the Radicale Container
#RADICALE_DOCKER_IMAGE=opencloudeu/radicale
# Docker tag to pull for the Radicale Container
#RADICALE_DOCKER_TAG=latest
# Define the storage location for the Radicale data. Set the path to a local path.
# Ensure that the configuration and data directories are owned by the user and group with ID 1000:1000.
# This matches the default user inside the container and avoids permission issues when accessing files.
# Leaving it default stores data in docker internal volumes.
#RADICALE_DATA_DIR=/your/local/radicale/data
Docker logs
31T20:09:31Z","line":"github.com/opencloud-eu/opencloud/services/proxy/pkg/middleware/accesslog.go:34","message":"access-log"}
{"level":"error","service":"proxy","error":"failed to verify access token: Get \"https://files.bart.mywire.org/.well-known/openid-configuration\": dial tcp 213.224.83.39:443: connect: connection refused","authenticator":"oidc","path":"/ocs/v1.php/cloud/capabilities","user_agent":"Mozilla/5.0 (iPhone; CPU iPhone OS 18_6_2 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.6 Mobile/15E148 Safari/604.1","client.address":"188.44.83.165","network.peer.address":"","network.peer.port":"","time":"2025-08-
nginx logs:
2025/09/01 07:58:41 [error] 24468#24468: *24356 connect() failed (111: Connection refused) while connecting to upstream, client: 188.44.83.165, server: files.bart.mywire.org, request: "GET /signin/v1/identifier/_/authorize?client_id=web&redirect_uri=https%3A%2F%2Ffiles.bart.mywire.org%2Foidc-silent-redirect.html&response_type=code&scope=openid+profile+email&state=5e56375bfbaf41249d78eed8e268a8d7&code_challenge=FUs9MaQ1AjH6xbkAp1cznp8LZW-iqtrqFzMq-LlpLQo&code_challenge_method=S256&response_mode=query&prompt=none HTTP/1.1", upstream: "http://127.0.0.1:9200/signin/v1/identifier/_/authorize?client_id=web&redirect_uri=https%3A%2F%2Ffiles.bart.mywire.org%2Foidc-silent-redirect.html&response_type=code&scope=openid+profile+email&state=5e56375bfbaf41249d78eed8e268a8d7&code_challenge=FUs9MaQ1AjH6xbkAp1cznp8LZW-iqtrqFzMq-LlpLQo&code_challenge_method=S256&response_mode=query&prompt=none", host: "files.bart.mywire.org", referrer: "https://files.bart.mywire.org/access-denied"
Hi @speeskeek
Happy to help.
Can you check if your nginx config fits to our recommended one https://docs.opencloud.eu/docs/admin/getting-started/container/docker-compose/external-proxy
Hi. Thank you for the reply! Really appreciate it!
It is an c&p of the manual yes
# Redirect HTTP to HTTPS
server {
listen 80;
server_name files.bart.mywire.org dav.bart.mywire.org wopiserver.bart.mywire.org collabora.bart.mywire.org music.bart.mywire.org huis.bart.mywire.org;
access_log /var/log/nginx/access_mywire.log combined;
error_log /var/log/nginx/error_mywire.log error;
location /.well-known/acme-challenge/ {
root /var/www/certbot;
}
location / {
return 301 https://$host$request_uri;
}
}
# OpenCloud
server {
listen 443 ssl;
server_name files.bart.mywire.org;
ssl_certificate /etc/letsencrypt/live/files.bart.mywire.org/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/files.bart.mywire.org/privkey.pem;
client_max_body_size 100M;
access_log /var/log/nginx/access_mywire.log combined;
error_log /var/log/nginx/error_mywire.log error;
location / {
proxy_pass http://127.0.0.1:9200;
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_pass http://127.0.0.1:9200 is wrong. You need to use https.
If you want to terminate https at the proxy, you neeed PROXY_TLS=false
proxy_pass http://127.0.0.1:9200is wrong. You need to use https.
- That is not what the example in the docs is?
- If I change this in my nginx config to https://127.0.0.1:9200 I get a bad gateway error.
If you want to terminate https at the proxy, you neeed PROXY_TLS=false
In my .env? Tried that. I did: sudo docker compose down Edit my .env and sudo docker compose up -d” ?
Or Do I need to re-pull all of it?
If you want to terminate https at the proxy, you neeed PROXY_TLS=false
in docker-compose.yml it is like that!
my docker-compose.yml:
services:
opencloud:
image: ${OC_DOCKER_IMAGE:-opencloudeu/opencloud-rolling}:${OC_DOCKER_TAG:-latest}
# changelog: https://github.com/opencloud-eu/opencloud/tree/main/changelog
# release notes: https://docs.opencloud.eu/opencloud_release_notes.html
networks:
opencloud-net:
entrypoint:
- /bin/sh
# run opencloud init to initialize a configuration file with random secrets
# it will fail on subsequent runs, because the config file already exists
# therefore we ignore the error and then start the opencloud server
command: ["-c", "opencloud init || true; opencloud server"]
environment:
# enable services that are not started automatically
OC_ADD_RUN_SERVICES: ${START_ADDITIONAL_SERVICES}
OC_URL: https://${OC_DOMAIN:-cloud.opencloud.test}
OC_LOG_LEVEL: ${LOG_LEVEL:-info}
OC_LOG_COLOR: "${LOG_PRETTY:-false}"
OC_LOG_PRETTY: "${LOG_PRETTY:-false}"
# do not use SSL between the reverse proxy and OpenCloud
PROXY_TLS: "false"
# INSECURE: needed if OpenCloud / reverse proxy is using self generated certificates
OC_INSECURE: "${INSECURE:-false}"
silently giving up ... gonna stay with my working nextcloud for now ...
Could this be linked to the fact that I disabeled login for user “admin” once (in my first test case). But I deleted the config fder, so I guess that’s not it?
Could this be linked to the fact that I disabeled login for user “admin” once (in my first test case). But I deleted the config fder, so I guess that’s not it?
Oh, that could be it. The disabled flag is stored in the internal LDAP.
I also see a CSP error in your browser. Can you give us more details about that?
Could this be linked to the fact that I disabeled login for user “admin” once (in my first test case). But I deleted the config fder, so I guess that’s not it?
Oh, that could be it. The disabled flag is stored in the internal LDAP.
I deleted the config folder, the docker volumes, pulled all again (starting from anew). Looks impossible it’s still in some internal ldap? Is there a (command line) command to re-enable it? Is there a command line command to make a new (admin) user with another name?
I also see a CSP error in your browser. Can you give us more details about that?
What would you like? What log? (Im not a developper, but a self host entousiast for >10y).
I also see a CSP error in your browser. Can you give us more details about that?
I was googeling about it and was hping this could be a fix https://gist.github.com/ambroisemaupate/bce4b760405558f358ae
So I added the (edited) last line from the link (deleted the google and facebook shizzle).
# OpenCloud
server {
listen 443 ssl;
server_name files.bart.mywire.org;
add_header Content-Security-Policy "script-src 'self' 'unsafe-inline' 'unsafe-eval'";
ssl_certificate /etc/letsencrypt/live/files.bart.mywire.org/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/files.bart.mywire.org/privkey.pem;
also found this one somewhere (nextcloud forums)
add_header Content-Security-Policy "default-src 'self'; style-src 'self' 'unsafe-inline' https:; script-src 'self' 'unsafe-eval' 'unsafe-inline' https:; font-src 'self' data:; img-src 'self' data: blob:; connect-src 'self' wss:; frame-src 'self';" always;
but that doesn't seem to solve it ... so still stuck:
found somewhre else another (a whole lot longer) but then openCloud webpage told me my browser isnt supported. so ignoring that one.
When I run docker compose up without the -d I can see a lot of logs.
this is an error that pops up:
opencloud-1 | {"level":"error","service":"proxy","error":"failed to verify access token: Get "https://files.bart.mywire.org/.well-known/openid-configuration": dial tcp 213.224.83.39:443: connect: connection refused","authenticator":"oidc","path":"/api/v0/settings/roles-list","user_agent":"Mozilla/5.0 (X11; Linux x86_64; rv:141.0) Gecko/20100101 Firefox/141.0","client.address":"188.44.83.165","network.peer.address":"","network.peer.port":"","time":"2025-09-02T06:09:19Z","line":"github.com/opencloud-eu/opencloud/services/proxy/pkg/middleware/oidc_auth.go:198","message":"failed to authenticate the request"}
the IP adress in it 213.224.83.39 is new to me? why is it dialing out?
If I enter this IP in my browser, my ISP is blocking it!!! You have been redirected to this stop page because the website you are trying to visit contains suspicious content.
the weirdest of all things is that it worked before on my server. just another (dyn)domainname....
@speeskeek There is no need to add custom CSP header. OpenCloud sets its CSP headers. If you are using the official opencloud-compose, everything should work out of the box.
Can you provide more details about the CSP error in your browser console? On which endpoint or request does it happen? This prevents the sucessful login.
nginx logs:
2025/09/01 07:58:41 [error] 24468#24468: *24356 connect() failed (111: Connection refused) while connecting to upstream, client: 188.44.83.165, server: files.bart.mywire.org, request: "GET /signin/v1/identifier/_/authorize?client_id=web&redirect_uri=https%3A%2F%2Ffiles.bart.mywire.org%2Foidc-silent-redirect.html&response_type=code&scope=openid+profile+email&state=5e56375bfbaf41249d78eed8e268a8d7&code_challenge=FUs9MaQ1AjH6xbkAp1cznp8LZW-iqtrqFzMq-LlpLQo&code_challenge_method=S256&response_mode=query&prompt=none HTTP/1.1", upstream: "http://127.0.0.1:9200/signin/v1/identifier/_/authorize?client_id=web&redirect_uri=https%3A%2F%2Ffiles.bart.mywire.org%2Foidc-silent-redirect.html&response_type=code&scope=openid+profile+email&state=5e56375bfbaf41249d78eed8e268a8d7&code_challenge=FUs9MaQ1AjH6xbkAp1cznp8LZW-iqtrqFzMq-LlpLQo&code_challenge_method=S256&response_mode=query&prompt=none", host: "files.bart.mywire.org", referrer: "https://files.bart.mywire.org/access-denied"
That is interesting. That means that the opencloud container cannot connect to its own public domain.
You can check that with curl from inside the opencloud container.
okay .. reopening this. I treid again to live with NextCloud - but its too slow compared to the short expiecene I had with OpenCloud.
So I pulled again, made new dirs, made a new (!!) subdomain doc.bart.mywire.org so all my cahce, cookies or anything else (using files.bart.mywire.org) wouldnt matter.
It worked perfectly again as a test. I had remote (insecure) access (no certificates). So test was working, so I wanted to do I good this time.
Requested SSL (see docs with certbot) for my new subdomain (doc.bart.mywire.org ) I changed the OC_DOMAIN in .env accodingly. Cleared the config and data folder. Started it all up.
and again:
Where the h*ll can I find the problem? when I run docker compuse up (without the -d) I get some more info, and the problem seems to be here?
opencloud-1 | {"level":"error","service":"proxy","error":"failed to verify access token: Get \"https://doc.bart.mywire.org/.well-known/openid-configuration\": dial tcp 213.224.83.39:443: connect: connection refused","authenticator":"oidc","path":"/graph/v1.0/me","user_agent":"Mozilla/5.0 (X11; Linux x86_64; rv:143.0) Gecko/20100101 Firefox/143.0","client.address":"188.44.83.165","network.peer.address":"","network.peer.port":"","time":"2025-10-07T12:43:22Z","line":"github.com/opencloud-eu/opencloud/services/proxy/pkg/middleware/oidc_auth.go:198","message":"failed to authenticate the request"}
okay ....
the DNS of my ISP was giving an other IP . so changed the DNS on the server running the docker. My ISP is (sometimes?) blocking this dynDNS service I am using apparently...
Are there checks really nescesarry?
Is it working now?
Yes. Dns problem it was …
Fully testing now for a week