mirror of
https://github.com/YunoHost-Apps/concrete5_ynh.git
synced 2024-09-03 18:25:54 +02:00
fix upgrade
This commit is contained in:
parent
81b2a79a57
commit
3c71d46265
1 changed files with 4 additions and 2 deletions
|
@ -117,12 +117,14 @@ ynh_add_fpm_config
|
||||||
#ynh_store_file_checksum "$final_path/CONFIG_FILE"
|
#ynh_store_file_checksum "$final_path/CONFIG_FILE"
|
||||||
|
|
||||||
pushd $final_path
|
pushd $final_path
|
||||||
sudo ./concrete/bin/concrete5 c5:config -g set concrete.maintenance_mode true --allow-as-root
|
#sudo ./concrete/bin/concrete5 c5:config -g set concrete.maintenance_mode true --allow-as-root
|
||||||
popd
|
popd
|
||||||
|
|
||||||
ynh_setup_source "$final_path"
|
ynh_setup_source "$final_path"
|
||||||
|
|
||||||
pushd $final_path
|
pushd $final_path
|
||||||
sudo ./concrete/bin/concrete5 c5:update --rerun --verbose --allow-as-root
|
sudo ./concrete/bin/concrete5 c5:update --rerun --verbose --allow-as-root
|
||||||
sudo ./concrete/bin/concrete5 c5:config -g set concrete.maintenance_mode false --allow-as-root
|
#sudo ./concrete/bin/concrete5 c5:config -g set concrete.maintenance_mode false --allow-as-root
|
||||||
popd
|
popd
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue