diff --git a/ct/monica.sh b/ct/monica.sh index 950de91e..990a5202 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 --ignore-engines $STD yarn run production $STD php artisan monica:update --force diff --git a/install/monica-install.sh b/install/monica-install.sh index 0f7cda1c..a4e6386c 100644 --- a/install/monica-install.sh +++ b/install/monica-install.sh @@ -44,7 +44,8 @@ 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 install --ignore-engines +$STD yarn config set ignore-engines true +$STD yarn install $STD yarn run production $STD php artisan key:generate $STD php artisan setup:production --email=admin@helper-scripts.com --password=helper-scripts.com --force