Skip to content

Commit 5c3de31

Browse files
committed
Set new upgrade flags
+ create new /var/log/hestia/ directory
1 parent 85ae3eb commit 5c3de31

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

install/upgrade/versions/1.5.0.sh

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,13 @@
1515
####### You can use \n within the string to create new lines. #######
1616
#######################################################################################
1717

18+
upgrade_config_set_value 'UPGRADE_UPDATE_WEB_TEMPLATES' 'true'
19+
upgrade_config_set_value 'UPGRADE_UPDATE_DNS_TEMPLATES' 'true'
20+
upgrade_config_set_value 'UPGRADE_UPDATE_MAIL_TEMPLATES' 'true'
21+
upgrade_config_set_value 'UPGRADE_REBUILD_USERS' 'true'
22+
upgrade_config_set_value 'UPGRADE_UPDATE_FILEMANAGER_CONFIG' 'true'
23+
24+
1825
if [ -n "$DB_PMA_ALIAS" ]; then
1926
$HESTIA/bin/v-change-sys-db-alias 'pma' "$DB_PMA_ALIAS"
2027
fi
@@ -39,9 +46,10 @@ fi
3946
if [ -L "/var/log/hestia" ]; then
4047
echo "[ ! ] Move /usr/local/hestia/log/* to /var/log/hestia/"
4148
rm /var/log/hestia
42-
cp $HESTIA/log/* /var/log/hestia
43-
rm -rf $HESTIA/log/
44-
ln -s /var/log/hestia $HESTIA/log
49+
mkdir -p /var/log/hestia
50+
cp /usr/local/hestia/log/* /var/log/hestia/
51+
rm -rf /usr/local/hestia/log
52+
ln -s /var/log/hestia /usr/local/hestia/log
4553
fi
4654

4755
if [ -d "/var/log/roundcube" ]; then

0 commit comments

Comments
 (0)