get installed_version another time in order to bring it up-to-date after update

Signed-off-by: Simon L <szaimen@e.mail.de>
This commit is contained in:
Simon L 2023-10-05 15:59:36 +02:00
parent 47852d4543
commit 7fd65f2117

View file

@ -365,6 +365,9 @@ DATADIR_PERMISSION_CONF
exit 1
fi
# shellcheck disable=SC2016
installed_version="$(php -r 'require "/var/www/html/version.php"; echo implode(".", $OC_Version);')"
rm "$NEXTCLOUD_DATA_DIR/update.failed"
bash /notify.sh "Nextcloud update to $image_version successful!" "Feel free to inspect the Nextcloud container logs for more info."