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

Run clear commands as root on upgrade

So that it can definitely delete the old files
This commit is contained in:
NorbiPeti 2024-05-29 00:04:22 +02:00
parent b48ad5dc76
commit 2c391ce6c9

View file

@ -176,16 +176,17 @@ fi
ynh_script_progression --message="Deploying..."
artisan="ynh_exec_as $app php$phpversion artisan"
artisan_root="php$phpversion artisan"
pushd "$install_dir"
$artisan horizon:install
$artisan horizon:publish
$artisan passport:keys --force
$artisan config:clear
$artisan_root config:clear
$artisan config:cache
$artisan route:clear
$artisan_root route:clear
$artisan route:cache
$artisan view:clear
$artisan_root view:clear
$artisan view:cache
$artisan storage:link
$artisan migrate --force