From 7377f1627b388605957cd09baa4b0b7059fa2077 Mon Sep 17 00:00:00 2001 From: tteckster Date: Wed, 20 Dec 2023 06:44:01 -0500 Subject: [PATCH] Update alpine-nextcloud.sh Nextcloud 28.0 requires sodium and bz2 --- ct/alpine-nextcloud.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ct/alpine-nextcloud.sh b/ct/alpine-nextcloud.sh index e950f101..92e2d98c 100644 --- a/ct/alpine-nextcloud.sh +++ b/ct/alpine-nextcloud.sh @@ -74,6 +74,12 @@ function update_script() { case $CHOICE in 1) apk update && apk upgrade + if ! apk -e info php82-sodium >/dev/null 2>&1; then + apk add -q php82-sodium + fi + if ! apk -e info php82-bz2 >/dev/null 2>&1; then + apk add -q php82-bz2 + fi su nextcloud -s /bin/sh -c 'php82 /usr/share/webapps/nextcloud/occ upgrade' su nextcloud -s /bin/sh -c 'php82 /usr/share/webapps/nextcloud/occ db:add-missing-indices' exit