Update nextcloud on moria with update script

This commit is contained in:
Marko Korhonen 2023-10-18 09:16:26 +03:00
parent 82e23cd6b2
commit 12535c2ae0

View file

@ -211,7 +211,7 @@ update() {
aur sync -Su --margs --noconfirm aur sync -Su --margs --noconfirm
} }
docker-update() { local docker-update() {
prevpwddocker=$PWD prevpwddocker=$PWD
for dir in $HOME/git/dotfiles/docker/*; do for dir in $HOME/git/dotfiles/docker/*; do
cd $dir cd $dir
@ -225,6 +225,10 @@ update() {
done done
cd $prevpwddocker cd $prevpwddocker
docker system prune -af --volumes docker system prune -af --volumes
occ upgrade
occ app:update --all
occ db:add-missing-indices
} }
{%@@ endif @@%} {%@@ endif @@%}