Files
hassio-addons/gitea/rootfs/etc/cont-init.d
Claude 7a45680d01 gitea: always overwrite /config/app.ini when real file exists
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
2026-06-19 12:22:19 +00:00
..