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:
parent
b48ad5dc76
commit
2c391ce6c9
1 changed files with 4 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue