Skip to content

Commit 4b40d54

Browse files
committed
Add upgrade script to remove old traces
1 parent fbb7d0c commit 4b40d54

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,10 @@ All notable changes to this project will be documented in this file.
4545
- Disabled changing backup folder via Web UI because it used symbolic link instead of mount causing issues with restore mail / user files.
4646
- Fixed XSS vulnerability in `v-add-sys-ip` and user history log (thanks **@numanturle**).
4747
- Fixed remote code execution vulnerability which could occur when deleting SSH keys (thanks **@numanturle**).
48+
- Fixed vulnerability in v-update-sys-hestia (thanks **@numanturle**)
4849
- Improve how Quick install of web apps are handled and allow users added apps to be maintained in list view.
50+
- Add Drupal quick installer
51+
- Add Nextcloud quick installer
4952

5053
## [1.3.5] - Service Release
5154
### Features

install/upgrade/versions/1.4.0.sh

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,3 +150,14 @@ rm -rf $HESTIA/data/templates/web/nginx/php-fpm/drupal7.*tpl
150150
rm -rf $HESTIA/data/templates/web/nginx/php-fpm/drupal8.*tpl
151151
rm -rf $HESTIA/data/templates/web/nginx/php-fpm/codeigniter2.*tpl
152152
rm -rf $HESTIA/data/templates/web/nginx/php-fpm/codeigniter3.*tpl
153+
154+
# Clean up old Hestia controled webapps
155+
if [ -d "$HESTIA/web/images/webapps/" ]; then
156+
echo "[ * ] Clean up old web apps code..."
157+
rm -rf $HESTIA/web/images/webapps/
158+
rm -rf $HESTIA/web/src/app/WebApp/Installers/LaravelSetup.php
159+
rm -rf $HESTIA/web/src/app/WebApp/Installers/OpencartSetup.php
160+
rm -rf $HESTIA/web/src/app/WebApp/Installers/PrestashopSetup.php
161+
rm -rf $HESTIA/web/src/app/WebApp/Installers/SymfonySetup.php
162+
rm -rf $HESTIA/web/src/app/WebApp/Installers/WordpressSetup.php
163+
fi

0 commit comments

Comments
 (0)