diff --git a/ct/monica.sh b/ct/monica.sh index 2be6d986b..1e253fd49 100644 --- a/ct/monica.sh +++ b/ct/monica.sh @@ -46,6 +46,7 @@ function update_script() { cp -r /opt/monica-backup/.env /opt/monica cp -r /opt/monica-backup/storage/* /opt/monica/storage/ $STD composer install --no-interaction --no-dev + $STD yarn config set ignore-engines true $STD yarn install $STD yarn run production $STD php artisan monica:update --force diff --git a/install/monica-install.sh b/install/monica-install.sh index e02824f16..a4e6386c9 100644 --- a/install/monica-install.sh +++ b/install/monica-install.sh @@ -44,6 +44,7 @@ sed -i -e "s|^DB_USERNAME=.*|DB_USERNAME=${DB_USER}|" \ -e "s|^HASH_SALT=.*|HASH_SALT=${HASH_SALT}|" \ /opt/monica/.env $STD composer install --no-dev -o --no-interaction +$STD yarn config set ignore-engines true $STD yarn install $STD yarn run production $STD php artisan key:generate