fix(umlautadaptarr): use release appsettings.json instead of hardcoded copy (#11725)
The install script overwrote the correct appsettings.json shipped in the release archive with a hardcoded copy that was missing newer required fields (ApiKey, ProxyPort, EnableChangedTitleCache) and had structural differences (Lidarr/Readarr as arrays instead of objects), causing the service to fail on startup. - Remove hardcoded appsettings.json from install script (release archive already ships the correct version) - Backup and restore appsettings.json during updates to preserve user configuration Closes #11665
This commit is contained in:
committed by
GitHub
parent
f19bc7722b
commit
a330afde03
@@ -33,7 +33,9 @@ function update_script() {
|
||||
systemctl stop umlautadaptarr
|
||||
msg_ok "Stopped Service"
|
||||
|
||||
cp /opt/UmlautAdaptarr/appsettings.json /opt/UmlautAdaptarr/appsettings.json.bak
|
||||
fetch_and_deploy_gh_release "UmlautAdaptarr" "PCJones/Umlautadaptarr" "prebuild" "latest" "/opt/UmlautAdaptarr" "linux-x64.zip"
|
||||
cp /opt/UmlautAdaptarr/appsettings.json.bak /opt/UmlautAdaptarr/appsettings.json
|
||||
|
||||
msg_info "Starting Service"
|
||||
systemctl start umlautadaptarr
|
||||
|
||||
Reference in New Issue
Block a user