Files
ProxmoxVE/ct/shlink.sh
Corgei 06cafd68c4 fix(shlink): preserve servers.json across web-client updates (#17023)
CLEAN_INSTALL wipes /opt/shlink-web-client on every `update`, deleting the
user's servers.json (and its API key) with no backup, unlike the main
/opt/shlink app which already backs up/restores .env and data around its
CLEAN_INSTALL. This makes the Web Client lose its configured server(s) on
every update.

Reuse the existing create_backup/restore_backup helpers around the
web-client's CLEAN_INSTALL, mirroring the pattern already used for
/opt/shlink.
2026-09-04 22:55:11 +02:00

2.6 KiB