1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/pixelfed_ynh.git synced 2024-09-03 20:06:04 +02:00

Merge pull request #57 from YunoHost-Apps/fix_horizon

Fix horizon
This commit is contained in:
yalh76 2019-06-01 21:27:51 +02:00 committed by GitHub
commit 7afcb9c0bf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 2 deletions

View file

@ -5,7 +5,7 @@
"description": { "description": {
"en": "ActivityPub Federated Image Sharing" "en": "ActivityPub Federated Image Sharing"
}, },
"version": "0.9.0~ynh3", "version": "0.9.0~ynh4",
"url": "https://pixelfed.org/", "url": "https://pixelfed.org/",
"license": "AGPL-3.0-or-later", "license": "AGPL-3.0-or-later",
"maintainer": [ "maintainer": [

View file

@ -158,13 +158,16 @@ ynh_store_file_checksum --file="$config"
pushd "$final_path" pushd "$final_path"
php7.2 artisan -n key:generate --force php7.2 artisan -n key:generate --force
php7.2 artisan horizon:install
php7.2 artisan config:clear php7.2 artisan config:clear
php7.2 artisan config:cache php7.2 artisan config:cache
php7.2 artisan route:cache php7.2 artisan route:cache
php7.2 artisan view:cache
php7.2 artisan storage:link php7.2 artisan storage:link
php7.2 artisan migrate --force php7.2 artisan migrate --force
php7.2 artisan update php7.2 artisan update
php7.2 artisan horizon:purge php7.2 artisan horizon:purge
php7.2 artisan horizon:assets
popd popd
#================================================= #=================================================

View file

@ -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 # Backup the current version of the app
ynh_backup_before_upgrade ynh_backup_before_upgrade
ynh_clean_setup () { ynh_clean_setup () {
read -p "key"
# restore it if the upgrade fails # restore it if the upgrade fails
ynh_restore_upgradebackup ynh_restore_upgradebackup
} }
@ -177,14 +176,18 @@ ynh_store_file_checksum --file="$config"
#================================================= #=================================================
pushd "$final_path" pushd "$final_path"
php7.2 artisan horizon:install
php7.2 artisan config:clear php7.2 artisan config:clear
php7.2 artisan config:cache php7.2 artisan config:cache
php7.2 artisan route:clear php7.2 artisan route:clear
php7.2 artisan route:cache php7.2 artisan route:cache
php7.2 artisan view:clear
php7.2 artisan view:cache
php7.2 artisan storage:link php7.2 artisan storage:link
php7.2 artisan migrate --force php7.2 artisan migrate --force
php7.2 artisan update php7.2 artisan update
php7.2 artisan horizon:purge php7.2 artisan horizon:purge
php7.2 artisan horizon:assets
popd popd
#================================================= #=================================================