Service Domains nach Installation nicht erreichbar

Hallo,

Ich hatte ein vorheriges Thema Installation auf VPS mit SSH (Allowed Hosts) welches geloest werden konnte indem ich in der /etc/portal/portal.conf meine ALLOWED_HOSTS Domain eingetragen habe.

So war es moeglich mit dem Browser die Installation zu beginnen und erfolgreich zu beenden.

Mir war im Vorfeld nicht klar, das mit der Installation weitere Sub-Domains notwendig sind, daher habe ich diese nachtraeglich bei meinem Provider angelegt.

Aber ich konnte diese Domains nicht erreichen mittels Klick auf den Link im Browser. Auch Tage nach der Erstellung (DNS-Cache) ist das Probelm nicht geloest. Daher habe ich ich nicht nur meine Haupt-Domain, sondern auch alle Sub-Domain ist die Datei /etc/portal/portal.conf eingetragen - jedoch ohne Erfolg.

Egal was ich oeffnen moechte, kommt im Bowser “Fehlercode: 502 Bad Gateway”

Muss ich alle Sub-Domain auch in Caddy einstellen? Wenn ja, ok - aber ich kenne die Pfade nicht zu jedem Service. Was sollte ich fuer NextCloud, Matrix, Desktop, usw in Caddy eintragen?

Edit: Ich sehe gerade, das die Sub-Domains bereits automatisch in die Caddyfile eingetragen wurden. Dennoch ein “Fehlercode: 502 Bad Gateway” vorliegt

Ein 502er Error liegt daran, dass das Portal nicht für Caddy erreichbar ist, also evtl. selber Probleme macht.
Siehst Du Fehlermeldungen in journalctl -b -u libre-workspace-portal ?

Wenn er über die Domains selber meckern würde hätten wir irgendeinen 400er Fehler :slight_smile:

Also ich sehe, das da Neustarts dabei sind, aber Fehler kann ich nicht entdecken. Allerdings bin ich hier kein Profi.

Oct 01 12:06:11 la systemd[1]: Started libre-workspace-portal.service - Libre Workspace Portal Service.
Oct 01 12:06:11 la libre-workspace-portal[514]: /
Oct 01 12:06:12 la libre-workspace-portal[982]: Operations to perform:
Oct 01 12:06:12 la libre-workspace-portal[982]:   Apply all migrations: admin, app_dashboard, auth, contenttypes, idm, oidc_provider, otp_hotp, otp_static, otp_t>
Oct 01 12:06:12 la libre-workspace-portal[982]: Running migrations:
Oct 01 12:06:12 la libre-workspace-portal[982]:   No migrations to apply.
Oct 01 12:06:12 la libre-workspace-portal[1100]: 0 static files copied to '/var/www/libre-workspace-static', 180 unmodified.
Oct 01 12:06:13 la libre-workspace-portal[1153]: RSA key successfully created with kid: 1fd190eb2380e63c43339247694afb16
Oct 01 12:06:13 la libre-workspace-portal[1165]: File “/usr/lib/libre-workspace/portal/locale/de/LC_MESSAGES/django.po” is already compiled and up to date.
Oct 01 12:06:13 la libre-workspace-portal[1165]: File “/usr/lib/libre-workspace/portal/locale/en/LC_MESSAGES/django.po” is already compiled and up to date.
Oct 01 12:06:13 la libre-workspace-portal[514]: Setting number of workers to 4
Oct 01 12:06:13 la libre-workspace-portal[1169]: [2025-10-01 12:06:13 +0000] [1169] [INFO] Starting gunicorn 23.0.0
Oct 01 12:06:13 la libre-workspace-portal[1169]: [2025-10-01 12:06:13 +0000] [1169] [INFO] Listening at: http://127.0.0.1:11123 (1169)
Oct 01 12:06:13 la libre-workspace-portal[1169]: [2025-10-01 12:06:13 +0000] [1169] [INFO] Using worker: sync
Oct 01 12:06:13 la libre-workspace-portal[1170]: [2025-10-01 12:06:13 +0000] [1170] [INFO] Booting worker with pid: 1170
Oct 01 12:10:16 la libre-workspace-portal[1170]: Binding as cn=Administrator,cn=users,dc=office,dc=cloud
Oct 01 12:10:16 la libre-workspace-portal[1170]: Populating Django user Administrator
Oct 01 12:10:16 la libre-workspace-portal[1170]: Binding as cn=Administrator,cn=users,dc=office,dc=cloud
Oct 01 12:10:16 la libre-workspace-portal[1170]: cn=Administrator,cn=users,dc=office,dc=cloud is a member of cn=administrators,cn=builtin,dc=office,dc=cloud
Oct 01 12:10:16 la libre-workspace-portal[1170]: cn=Administrator,cn=users,dc=office,dc=cloud is a member of cn=administrators,cn=builtin,dc=office,dc=cloud
Oct 02 02:02:00 la systemd[1]: Stopping libre-workspace-portal.service - Libre Workspace Portal Service...
Oct 02 02:02:00 la libre-workspace-portal[1169]: [2025-10-02 02:02:00 +0000] [1169] [INFO] Handling signal: term
Oct 02 02:02:00 la libre-workspace-portal[1170]: [2025-10-02 04:02:00 +0200] [1170] [INFO] Worker exiting (pid: 1170)
Oct 02 02:02:00 la libre-workspace-portal[1170]: Benutzer ist authentifiziert.
Oct 02 02:02:00 la libre-workspace-portal[1170]: $y$j9T$wOmXPcW8eeWFoeoLI.aFx/$beSy9ah.Say0pk5wf1m4FC/kIUcNE5gHJ/ftbu.LuA4
Oct 02 02:02:00 la libre-workspace-portal[1170]: Passwort des Linux-Client-Benutzers für Benutzer: Administrator mit neuem Passwort-Hash aktualisiert: $y$j9T$wOm>
Oct 02 02:02:00 la libre-workspace-portal[1170]: Anfrage POST: <QueryDict: {'csrfmiddlewaretoken': ['fXUBcifTqW6I6CsRlyg4EZw7BeJ3bO1BLdfYBzYzLjLN84QSzYCcbwdi7e1e>
Oct 02 02:02:00 la libre-workspace-portal[1170]: TOTP-Code ist korrekt
Oct 02 02:02:00 la libre-workspace-portal[1170]: {'software_modules': [{'id': 'system', 'name': 'System', 'installed': True, 'automaticUpdates': False}, {'id': '>
Oct 02 02:02:00 la libre-workspace-portal[1170]: [{'dn': 'CN=Administrator,CN=Users,DC=office,DC=cloud', 'displayName': '', 'mail': '', 'cn': 'Administrator', 'g>
Oct 02 02:02:00 la libre-workspace-portal[1170]: [{'dn': 'CN=Administrator,CN=Users,DC=office,DC=cloud', 'displayName': '', 'mail': '', 'cn': 'Administrator', 'g>
Oct 02 02:02:00 la libre-workspace-portal[1169]: [2025-10-02 02:02:00 +0000] [1169] [INFO] Shutting down: Master
Oct 02 02:02:00 la systemd[1]: libre-workspace-portal.service: Deactivated successfully.
Oct 02 02:02:00 la systemd[1]: Stopped libre-workspace-portal.service - Libre Workspace Portal Service.
Oct 02 02:02:00 la systemd[1]: libre-workspace-portal.service: Consumed 10.309s CPU time.
Oct 02 02:02:00 la systemd[1]: Started libre-workspace-portal.service - Libre Workspace Portal Service.
Oct 02 02:02:00 la libre-workspace-portal[25821]: /
Oct 02 02:02:00 la libre-workspace-portal[25868]: Operations to perform:
Oct 02 02:02:00 la libre-workspace-portal[25868]:   Apply all migrations: admin, app_dashboard, auth, contenttypes, idm, oidc_provider, otp_hotp, otp_static, otp>
Oct 02 02:02:00 la libre-workspace-portal[25868]: Running migrations:
Oct 02 02:02:00 la libre-workspace-portal[25868]:   No migrations to apply.
Oct 02 02:02:01 la libre-workspace-portal[25878]: 0 static files copied to '/var/www/libre-workspace-static', 180 unmodified.
Oct 02 02:02:01 la libre-workspace-portal[25881]: RSA key successfully created with kid: f696c467700868d94fc0a697b0a621cd
Oct 02 02:02:01 la libre-workspace-portal[25891]: File “/usr/lib/libre-workspace/portal/locale/en/LC_MESSAGES/django.po” is already compiled and up to date.
Oct 02 02:02:01 la libre-workspace-portal[25891]: File “/usr/lib/libre-workspace/portal/locale/de/LC_MESSAGES/django.po” is already compiled and up to date.
Oct 02 02:02:01 la libre-workspace-portal[25821]: Setting number of workers to 4
Oct 02 02:02:01 la libre-workspace-portal[25895]: [2025-10-02 02:02:01 +0000] [25895] [INFO] Starting gunicorn 23.0.0
Oct 02 02:02:01 la libre-workspace-portal[25895]: [2025-10-02 02:02:01 +0000] [25895] [INFO] Listening at: http://127.0.0.1:11123 (25895)
Oct 02 02:02:01 la libre-workspace-portal[25895]: [2025-10-02 02:02:01 +0000] [25895] [INFO] Using worker: sync
Oct 02 02:02:01 la libre-workspace-portal[25896]: [2025-10-02 02:02:01 +0000] [25896] [INFO] Booting worker with pid: 25896
Oct 03 02:01:23 la systemd[1]: Stopping libre-workspace-portal.service - Libre Workspace Portal Service...
Oct 03 02:01:23 la libre-workspace-portal[25895]: [2025-10-03 02:01:23 +0000] [25895] [INFO] Handling signal: term
Oct 03 02:01:23 la libre-workspace-portal[25896]: [2025-10-03 04:01:23 +0200] [25896] [INFO] Worker exiting (pid: 25896)
Oct 03 02:01:23 la libre-workspace-portal[25895]: [2025-10-03 02:01:23 +0000] [25895] [INFO] Shutting down: Master
Oct 03 02:01:23 la systemd[1]: libre-workspace-portal.service: Deactivated successfully.
Oct 03 02:01:23 la systemd[1]: Stopped libre-workspace-portal.service - Libre Workspace Portal Service.
Oct 03 02:01:23 la systemd[1]: libre-workspace-portal.service: Consumed 15.037s CPU time.
Oct 03 02:01:23 la systemd[1]: Started libre-workspace-portal.service - Libre Workspace Portal Service.
Oct 03 02:01:23 la libre-workspace-portal[60193]: /
Oct 03 02:01:23 la libre-workspace-portal[60230]: Operations to perform:
Oct 03 02:01:23 la libre-workspace-portal[60230]:   Apply all migrations: admin, app_dashboard, auth, contenttypes, idm, oidc_provider, otp_hotp, otp_static, otp>
Oct 03 02:01:23 la libre-workspace-portal[60230]: Running migrations:
Oct 03 02:01:23 la libre-workspace-portal[60230]:   No migrations to apply.
Oct 03 02:01:23 la libre-workspace-portal[60240]: 0 static files copied to '/var/www/libre-workspace-static', 180 unmodified.

Wenn ich die LOG mit sudo ansehe ich der Output wie folgt:

Oct 03 02:01:23 la libre-workspace-portal[60230]:   No migrations to apply.
Oct 03 02:01:23 la libre-workspace-portal[60240]: 0 static files copied to '/var/www/libre-workspace-static', 180 unmodified.
Oct 03 02:01:24 la libre-workspace-portal[60243]: RSA key successfully created with kid: d38b25bf5af8f109a997835df25dc747
Oct 03 02:01:24 la libre-workspace-portal[60253]: File “/usr/lib/libre-workspace/portal/locale/de/LC_MESSAGES/django.po” is already compiled and up to date.
Oct 03 02:01:24 la libre-workspace-portal[60253]: File “/usr/lib/libre-workspace/portal/locale/en/LC_MESSAGES/django.po” is already compiled and up to date.
Oct 03 02:01:24 la libre-workspace-portal[60193]: Setting number of workers to 4
Oct 03 02:01:24 la libre-workspace-portal[60257]: [2025-10-03 02:01:24 +0000] [60257] [INFO] Starting gunicorn 23.0.0
Oct 03 02:01:24 la libre-workspace-portal[60257]: [2025-10-03 02:01:24 +0000] [60257] [INFO] Listening at: http://127.0.0.1:11123 (60257)
Oct 03 02:01:24 la libre-workspace-portal[60257]: [2025-10-03 02:01:24 +0000] [60257] [INFO] Using worker: sync
Oct 03 02:01:24 la libre-workspace-portal[60258]: [2025-10-03 02:01:24 +0000] [60258] [INFO] Booting worker with pid: 60258