Fix nextcloud-quirk systemD service failures. Also get clamAV configuration to work.

This commit is contained in:
Raphaël Numbus
2026-03-01 14:49:28 +01:00
parent 19b2ac7426
commit ae00cb69de
3 changed files with 6 additions and 9 deletions
+2 -5
View File
@@ -243,7 +243,7 @@ helper.mkPodmanService {
$OCC maintenance:repair --include-expensive
INSTALL_APPS_LIST=( "calendar" "contacts" "mail" "notes" "onlyoffice" "cookbook" "whiteboard" )
REMOVE_APPS_LIST=( "activity" "federation" "webhook_listeners" "photos" "recommendations" "sharebymail" "teams" "support" "richdocumentscode" )
DISABLE_APPS_LIST=( "activity" "federation" "webhook_listeners" "photos" "recommendations" "sharebymail" "teams" "support" "richdocumentscode" )
for app in ''${INSTALL_APPS_LIST[@]}; do
if ! $OCC --no-warnings app:list | grep -iq "$app:"; then
@@ -253,13 +253,10 @@ helper.mkPodmanService {
$OCC --no-warnings app:enable "$app"
fi
done
for app in ''${REMOVE_APPS_LIST[@]}; do
for app in ''${DISABLE_APPS_LIST[@]}; do
if $OCC --no-warnings app:list --enabled | grep -iq "$app:"; then
$OCC --no-warnings app:disable "$app"
fi
if $OCC --no-warnings app:list | grep -iq "$app:"; then
$OCC --no-warnings app:remove "$app"
fi
done
$OCC --no-warnings config:system:set onlyoffice DocumentServerInternalUrl --value="https://onlyoffice.${config.numbus.services.domain}/"
$OCC --no-warnings config:system:set onlyoffice DocumentServerUrl --value="https://onlyoffice.${config.numbus.services.domain}/"