Skip to content

Commit e576fc9

Browse files
authored
Merge branch 'main' into staging/fixes
2 parents 0cc0c0f + 204e433 commit e576fc9

File tree

5 files changed

+32
-10
lines changed

5 files changed

+32
-10
lines changed

CHANGELOG.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,12 @@ All notable changes to this project will be documented in this file.
99
- `UPGRADE_SEND_EMAIL` = Sends an email notification to admin email address
1010
- `UPGRADE_SEND_EMAIL_LOG` = Sends installation log output to admin email address
1111
- Upgrade process will now save logs to the `hst_backups` directory.
12-
- Support for removing backup remote location (#1083)
12+
- Support for removing backup remote location (#1083).
1313
- Add support Proftpd TLS Support
14-
- Add the possibility to assign user "Administrators" rights on login. Replaces "root" login. Notifications are only send towards the "admin" account email
15-
- Updated translations system with the use of Gettext. Modified / Updated all translated strings
16-
- Use php7.4 as default
14+
- Add the possibility to assign user "Administrators" rights on login. Replaces "root" login. Notifications are only send towards the "admin" account email.
15+
- Updated translations system with the use of Gettext. Modified / Updated all translated strings.
16+
- Use php7.4 as default version.
17+
- Updated MariaDB to 10.5 (Manual upgrade required install/upgrade/manual/upgrade_mariadb.sh).
1718

1819
## Bugfixes
1920
- Removed root login (root / root password )

bin/v-backup-user

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff 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
547567
fi
568+
548569
if [ "$BACKUP_MODE" = 'zstd' ]; then
549570
touch $tmpdir/.zstd
550571
fi

install/hst-install-debian.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ HESTIA_INSTALL_VER='1.3.0~beta'
2727
pma_v='5.0.2'
2828
multiphp_v=("5.6" "7.0" "7.1" "7.2" "7.3" "7.4")
2929
fpm_v="7.4"
30-
mariadb_v="10.4"
30+
mariadb_v="10.5"
3131

3232
if [ "$release" -eq 9 ]; then
3333
software="nginx apache2 apache2-utils apache2-suexec-custom

install/hst-install-ubuntu.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ HESTIA_INSTALL_VER='1.3.0~beta'
2727
pma_v='5.0.2'
2828
multiphp_v=("5.6" "7.0" "7.1" "7.2" "7.3" "7.4")
2929
fpm_v="7.4"
30-
mariadb_v="10.4"
30+
mariadb_v="10.5"
3131

3232
# Defining software pack for all distros
3333
software="apache2 apache2.2-common apache2-suexec-custom apache2-utils

install/upgrade/manual/upgrade_mariadb.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
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
99
source /etc/os-release
@@ -31,10 +31,10 @@ fi
3131
echo "Add new MariaDB repository..."
3232
apt="/etc/apt/sources.list.d/"
3333
if [ "$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
3636
else
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

0 commit comments

Comments
 (0)