mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-08-11 15:42:29 +02:00
Gitea's install wizard uses an atomic SaveTo that replaces the symlink at /data/gitea/conf/app.ini with a real file containing the completed install config. On the next restart /config/app.ini (the pre-wizard template) already exists, so the previous guard skipped the copy and the rm deleted the real installed config, wiping DB/security settings. Always copy the real file over /config/app.ini regardless of whether the target already exists. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01D46Ef3nZZdbVuwUpPhCd4T