Compare commits

...
Author SHA1 Message Date
moritz b0f204a0c9 fix: install_whiteboard for whiteboard 2.0.0 2026-10-07 21:37:45 +02:00
+7 -1
View File
@@ -94,7 +94,13 @@ install_collabora() {
install_whiteboard() {
install_apps whiteboard
set_app_config whiteboard collabBackendUrl "https://${DOMAIN}/whiteboard"
set_app_config whiteboard jwt_secret_key "$(cat /run/secrets/whiteboard_jwt)"
printf '{"apps":{"whiteboard":{"jwt_secret_key":"%s"}}}' "$(cat /run/secrets/whiteboard_jwt)" >/tmp/whiteboard.json
run_occ "config:import /tmp/whiteboard.json"
rm -f /tmp/whiteboard.json
[ -n "$(run_occ 'config:app:get whiteboard jwt_secret_key')" ] || {
echo "whiteboard jwt_secret_key was not stored" >&2
return 1
}
}