mirror of
https://github.com/YunoHost-Apps/zwiicms_ynh.git
synced 2024-09-03 18:06:04 +02:00
Fix upgrade
This commit is contained in:
parent
b6b9ee6d05
commit
eb718b16b2
7 changed files with 2 additions and 27 deletions
|
@ -1,19 +0,0 @@
|
|||
## You need now to finalize the upgrade process of ZwiiCMS directly in the app.
|
||||
|
||||
#### 1. Login with your admin account
|
||||
|
||||
#### 2. Go to setup page
|
||||
|
||||
![Setup menu](./upgrade_process_1.png)
|
||||
|
||||
#### 3. Click on Reinstall
|
||||
|
||||
![Reinstall](./upgrade_process_2.png)
|
||||
|
||||
#### 4. If needed, deactivate the maintenance mode
|
||||
|
||||
![Maintenance mode](./upgrade_process_3.png)
|
||||
|
||||
#### 5. Save
|
||||
|
||||
![Save](./upgrade_process_4.png)
|
|
@ -1,6 +0,0 @@
|
|||
## Disclaimers / important information
|
||||
By continuing the app will stay in **maintenance mode** until a manual finalization.
|
||||
|
||||
The manual finalization process is easy. You just need to be able to access the webapp and login with your admin account.
|
||||
|
||||
This process will be explain at the end of the upgarde proccess.
|
Binary file not shown.
Before Width: | Height: | Size: 5.2 KiB |
Binary file not shown.
Before Width: | Height: | Size: 5.1 KiB |
Binary file not shown.
Before Width: | Height: | Size: 5.7 KiB |
Binary file not shown.
Before Width: | Height: | Size: 4.3 KiB |
|
@ -34,8 +34,8 @@ find "$install_dir" -type d -exec chmod +s {} \;
|
|||
# UPDATE A CONFIG FILE
|
||||
#=================================================
|
||||
|
||||
# Apply maintenance mode
|
||||
sed -i 's/"maintenance":[^,]*/"maintenance":true/g' "$install_dir/site/data/config.json"
|
||||
# Remove updateAvailable flag
|
||||
sed -i 's/"updateAvailable":[^,}]*/"updateAvailable":false/g' "$install_dir/site/data/core.json"
|
||||
|
||||
#=================================================
|
||||
# REAPPLY SYSTEM CONFIGURATIONS
|
||||
|
|
Loading…
Reference in a new issue