diff --git a/scripts/app/app_update_specifics.sh b/scripts/app/app_update_specifics.sh index 4a796d3..b5082e4 100755 --- a/scripts/app/app_update_specifics.sh +++ b/scripts/app/app_update_specifics.sh @@ -28,6 +28,15 @@ appUpdateSpecifics() appDashyUpdateConf; fi + if [[ $app_name == "focalboard" ]]; then + # Focalboard runs as nobody (65534) and writes its sqlite db + uploads + # under its mounted data dir; fixPermissionsBeforeStart hands the dir to + # the install user, so give it to 65534 here or the server can't open + # the database. Restart so it picks the dir up. + sudo chown -R 65534:65534 "$containers_dir$app_name/data"; + shouldrestart="true"; + fi + if [[ $shouldrestart == "true" ]]; then dockerComposeRestart $app_name; fi