mirror of https://github.com/tteck/Proxmox.git
Update alpine-nextcloud.sh
Nextcloud 28.0 requires sodium and bz2
This commit is contained in:
parent
09bf75771d
commit
7377f1627b
|
@ -74,6 +74,12 @@ function update_script() {
|
||||||
case $CHOICE in
|
case $CHOICE in
|
||||||
1)
|
1)
|
||||||
apk update && apk upgrade
|
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 upgrade'
|
||||||
su nextcloud -s /bin/sh -c 'php82 /usr/share/webapps/nextcloud/occ db:add-missing-indices'
|
su nextcloud -s /bin/sh -c 'php82 /usr/share/webapps/nextcloud/occ db:add-missing-indices'
|
||||||
exit
|
exit
|
||||||
|
|
Loading…
Reference in New Issue