English
It took a while to fully track down this bug.
The problem itself is easy to explain — the YunoHost package never deploys the nginx configuration for the sandbox domain automatically. What made the fix complicated is that there are three situations that trigger the issue:
- Directly after installation — the config is never created
- After every reboot — the config is missing at system startup
- After domain actions in YunoHost (adding, removing domains, certificate renewal) — YunoHost runs
regen-confand reloads nginx multiple times
Each of these situations needed its own fix. The complete step-by-step guide is documented here:
I hope this helps.
Deutsch
Es hat eine Weile gedauert, den Fehler vollständig zu lokalisieren.
Das Problem selbst ist schnell erklärt – das YunoHost-Paket deployed die nginx-Konfiguration für die Sandbox-Domain nicht automatisch. Was die Lösung kompliziert hat: Es gibt drei Situationen die den Fehler auslösen:
- Direkt nach der Installation – die Config wird nie erstellt
- Nach jedem Reboot – die Config fehlt beim Systemstart
- Nach Domain-Aktionen in YunoHost (Domain anlegen, löschen, Zertifikat erneuern) – YunoHost führt dabei
regen-confaus und lädt nginx mehrfach neu
Jede dieser Situationen brauchte eine eigene Lösung. Die vollständige Anleitung mit allen Schritten ist hier dokumentiert:
Ich hoffe das hilft weiter.