diff --git a/manifest.json b/manifest.json index 96c2c074..0b352997 100644 --- a/manifest.json +++ b/manifest.json @@ -5,7 +5,7 @@ "description": { "en": "ActivityPub Federated Image Sharing" }, - "version": "0.9.0~ynh3", + "version": "0.9.0~ynh4", "url": "https://pixelfed.org/", "license": "AGPL-3.0-or-later", "maintainer": [ diff --git a/scripts/install b/scripts/install index 8a234fa2..11140814 100644 --- a/scripts/install +++ b/scripts/install @@ -158,13 +158,16 @@ ynh_store_file_checksum --file="$config" pushd "$final_path" php7.2 artisan -n key:generate --force + php7.2 artisan horizon:install php7.2 artisan config:clear php7.2 artisan config:cache php7.2 artisan route:cache + php7.2 artisan view:cache php7.2 artisan storage:link php7.2 artisan migrate --force php7.2 artisan update php7.2 artisan horizon:purge + php7.2 artisan horizon:assets popd #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index d77511da..2fdafb35 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -77,7 +77,6 @@ ynh_print_info --message="Backing up the app before upgrading (may take a while) # Backup the current version of the app ynh_backup_before_upgrade ynh_clean_setup () { - read -p "key" # restore it if the upgrade fails ynh_restore_upgradebackup } @@ -177,14 +176,18 @@ ynh_store_file_checksum --file="$config" #================================================= pushd "$final_path" + php7.2 artisan horizon:install php7.2 artisan config:clear php7.2 artisan config:cache php7.2 artisan route:clear php7.2 artisan route:cache + php7.2 artisan view:clear + php7.2 artisan view:cache php7.2 artisan storage:link php7.2 artisan migrate --force php7.2 artisan update php7.2 artisan horizon:purge + php7.2 artisan horizon:assets popd #=================================================