Compare commits
2 Commits
9e4ebdf360
...
403b7055c8
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
403b7055c8 | ||
|
|
d0ec43e3ca |
@ -28,6 +28,15 @@ appUpdateSpecifics()
|
|||||||
appDashyUpdateConf;
|
appDashyUpdateConf;
|
||||||
fi
|
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
|
if [[ $shouldrestart == "true" ]]; then
|
||||||
dockerComposeRestart $app_name;
|
dockerComposeRestart $app_name;
|
||||||
fi
|
fi
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user