diff --git a/doc/POST_UPGRADE.md b/doc/POST_UPGRADE.md deleted file mode 100644 index d242cf5..0000000 --- a/doc/POST_UPGRADE.md +++ /dev/null @@ -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) diff --git a/doc/PRE_UPGRADE.md b/doc/PRE_UPGRADE.md deleted file mode 100644 index 931aa61..0000000 --- a/doc/PRE_UPGRADE.md +++ /dev/null @@ -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. diff --git a/doc/upgrade_process_1.png b/doc/upgrade_process_1.png deleted file mode 100644 index c2e1d52..0000000 Binary files a/doc/upgrade_process_1.png and /dev/null differ diff --git a/doc/upgrade_process_2.png b/doc/upgrade_process_2.png deleted file mode 100644 index 334382e..0000000 Binary files a/doc/upgrade_process_2.png and /dev/null differ diff --git a/doc/upgrade_process_3.png b/doc/upgrade_process_3.png deleted file mode 100644 index f119cfc..0000000 Binary files a/doc/upgrade_process_3.png and /dev/null differ diff --git a/doc/upgrade_process_4.png b/doc/upgrade_process_4.png deleted file mode 100644 index bb844c5..0000000 Binary files a/doc/upgrade_process_4.png and /dev/null differ diff --git a/scripts/upgrade b/scripts/upgrade index 1f7ae2f..73247ce 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -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