From 03424f047470a0c98363d840d540248438b08216 Mon Sep 17 00:00:00 2001 From: CanbiZ <47820557+MickLesk@users.noreply.github.com> Date: Mon, 24 Feb 2025 17:19:18 +0100 Subject: [PATCH] Update bookstack.sh --- ct/bookstack.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ct/bookstack.sh b/ct/bookstack.sh index bfd90689f..1301e5f1f 100644 --- a/ct/bookstack.sh +++ b/ct/bookstack.sh @@ -43,7 +43,8 @@ function update_script() { cp -r /opt/bookstack-backup/storage/uploads/* /opt/bookstack/storage/uploads/ || true cp -r /opt/bookstack-backup/themes/* /opt/bookstack/themes/ || true cd /opt/bookstack - $STD COMPOSER_ALLOW_SUPERUSER=1 composer install --no-dev + export COMPOSER_ALLOW_SUPERUSER=1 + $STD composer install --no-dev $STD php artisan migrate --force chown www-data:www-data -R /opt/bookstack /opt/bookstack/bootstrap/cache /opt/bookstack/public/uploads /opt/bookstack/storage chmod -R 755 /opt/bookstack /opt/bookstack/bootstrap/cache /opt/bookstack/public/uploads /opt/bookstack/storage