File tree Expand file tree Collapse file tree 5 files changed +28
-6
lines changed
Expand file tree Collapse file tree 5 files changed +28
-6
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ All notable changes to this project will be documented in this file.
1313- Add support Proftpd TLS Support
1414- Add the possibility to assign user "Administrators" rights on login. Replaces "root" login. Notifications are only send towards the "admin" account email
1515- Updated translations system with the use of Gettext. Modified / Updated all translated strings
16+ - Updated MariaDB to 10.5 (Manual upgrade required install/upgrade/manual/upgrade_mariadb.sh)
1617
1718## Bugfixes
1819- Removed root login (root / root password )
Original file line number Diff line number Diff line change @@ -209,6 +209,26 @@ if [ ! -z "$WEB_SYSTEM" ] && [ "$WEB" != '*' ]; then
209209 fi
210210 fi
211211
212+ domain_conf=$( grep " DOMAIN='$domain '" $conf )
213+ parse_object_kv_list_non_eval domain_conf
214+
215+ mkdir -p template/$WEB_SYSTEM /
216+ mkdir template/php-fpm/
217+
218+ if [ $WEB_BACKEND == ' php-fpm' ]; then
219+ cp $HESTIA /data/templates/web/$WEB_SYSTEM /php-fpm/$TPL .tpl template/$WEB_SYSTEM /
220+ cp $HESTIA /data/templates/web/$WEB_SYSTEM /php-fpm/$TPL .stpl template/$WEB_SYSTEM /
221+ cp $HESTIA /data/templates/web/php-fpm/$BACKEND .tpl template/php-fpm/
222+ else
223+ cp $HESTIA /data/templates/web/$WEB_SYSTEM /$TPL .tpl template/$WEB_SYSTEM /
224+ cp $HESTIA /data/templates/web/$WEB_SYSTEM /$TPL .stpl template/$WEB_SYSTEM /
225+ fi
226+ if [ ! -z " $PROXY_SYSTEM " ] && [ ! -z " $PROXY " ]; then
227+ mkdir template/$PROXY_SYSTEM
228+ cp $HESTIA /data/templates/web/$PROXY_SYSTEM /$PROXY .tpl template/$PROXY_SYSTEM /
229+ cp $HESTIA /data/templates/web/$PROXY_SYSTEM /$PROXY .stpl template/$PROXY_SYSTEM /
230+ fi
231+
212232 # Backup custom config / backup LE config
213233 for sconfig in $( ls $HOMEDIR /$user /conf/web/| grep " .$domain .conf" ) ; do
214234 cp $HOMEDIR /$user /conf/web/$sconfig conf/
@@ -545,6 +565,7 @@ if [ "$USER" != '*' ]; then
545565 tee -a $BACKUP /$user .log
546566 fi
547567fi
568+
548569if [ " $BACKUP_MODE " = ' zstd' ]; then
549570 touch $tmpdir /.zstd
550571fi
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ HESTIA_INSTALL_VER='1.3.0~beta'
2727pma_v=' 5.0.2'
2828multiphp_v=(" 5.6" " 7.0" " 7.1" " 7.2" " 7.3" " 7.4" )
2929fpm_v=" 7.3"
30- mariadb_v=" 10.4 "
30+ mariadb_v=" 10.5 "
3131
3232if [ " $release " -eq 9 ]; then
3333 software=" nginx apache2 apache2-utils apache2-suexec-custom
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ HESTIA_INSTALL_VER='1.3.0~beta'
2727pma_v=' 5.0.2'
2828multiphp_v=(" 5.6" " 7.0" " 7.1" " 7.2" " 7.3" " 7.4" )
2929fpm_v=" 7.3"
30- mariadb_v=" 10.4 "
30+ mariadb_v=" 10.5 "
3131
3232# Defining software pack for all distros
3333software=" apache2 apache2.2-common apache2-suexec-custom apache2-utils
Original file line number Diff line number Diff line change 11#! /bin/bash
22
3- # This script validates and upgrades the MariaDB version to 10.4
3+ # This script validates and upgrades the MariaDB version to 10.5
44
55# Set MariaDB Target Version
6- mariadb_v=' 10.4 '
6+ mariadb_v=' 10.5 '
77
88# Load OS informations
99source /etc/os-release
3131echo " Add new MariaDB repository..."
3232apt=" /etc/apt/sources.list.d/"
3333if [ " $id " = " ubuntu" ]; then
34- echo " deb [arch=amd64] http ://ams2.mirrors.digitalocean.com /mariadb/repo/$mariadb_v /$ID $codename main" > $apt /mariadb.list
34+ echo " deb [arch=amd64] https ://mirror.mva-n.net /mariadb/repo/$mariadb_v /$ID $codename main" > $apt /mariadb.list
3535 APT_KEY_DONT_WARN_ON_DANGEROUS_USAGE=1 apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 0xF1656F24C74CD1D8 > /dev/null 2>&1
3636else
37- echo " deb [arch=amd64] http ://ams2.mirrors.digitalocean.com /mariadb/repo/$mariadb_v /$ID $codename main" > $apt /mariadb.list
37+ echo " deb [arch=amd64] https ://mirror.mva-n.net /mariadb/repo/$mariadb_v /$ID $codename main" > $apt /mariadb.list
3838 if [ " $id " = " jessie" ]; then
3939 APT_KEY_DONT_WARN_ON_DANGEROUS_USAGE=1 apt-key adv --recv-keys --keyserver keyserver.ubuntu.com CBCB082A1BB943DB > /dev/null 2>&1
4040 else
You can’t perform that action at this time.
0 commit comments