Skip to content

Commit ca6d487

Browse files
Staging/1.5.8 (hestiacp#2419)
* Prepare for release RC * Update translations * Update changelog * Fix bug in update script * Fixed in issue in the password reset function * Fix issue in update script Make sure .gnupg exists * Update Slovak translations @Hexaris * Hide v-add-user-sftp-jail output and add some dots... * Update Changelog + Versions * Update phpmyadmin to 5.1.3 * Update changelog due to changes repo url MariaDB * Update repo url upgrade script * Update translations @Hexaris @thomesrc * Fix bug (hestiacp#2418) * Fix bug * Forgot to add ! before check Moved [*] Install Roundcube inside if statement Co-authored-by: Raphael Schneeberger <rs@scit.ch>
1 parent ed5d9c5 commit ca6d487

File tree

20 files changed

+84
-53
lines changed

20 files changed

+84
-53
lines changed

CHANGELOG.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,28 @@
11
# Changelog
22
All notable changes to this project will be documented in this file.
33

4+
## [1.5.8] - Service release
5+
6+
### Features
7+
8+
- No new features has been introduced
9+
10+
### Bugfixes
11+
12+
- Fixed an issue where SFTP jail was not enabled correctly for additional FTP accounts #2403
13+
- Fixed an issue in the installer where the "Press any key to continue" prompt only responded to the Enter key #2398
14+
- Fixed an issue where list sort order preference variable wasn't saved properly #2391
15+
- Fixed an issue with inconsistent behaviour in mail account settings information dialog #2392
16+
- Fixed an issue where .gnupg folder in /root/ had the wrong permissions set.
17+
- Fixed an issue where users were being redirected to login page when visiting /reset/ endpoint #2401
18+
- Fixed an issue where deleting sftp jail did not revert back permissions of said user. #2143
19+
- Fixed an issue where "REDIRECT" variable wasn't cleared correctly causing other sites to redirect to the domain after v-update-letsencrypt-ssl
20+
- Changed repository url MariaDB for new installs to https://wdlm.mariadb.com/repo/mariadb-server
21+
22+
### Dependencies
23+
24+
- Update phpMyAdmin to 5.1.3 (https://github.com/phpmyadmin/phpmyadmin/releases/tag/RELEASE_5_1_3)
25+
426
## [1.5.7] - Service release
527

628
### Bugfixes

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
[Hestia Control Panel](https://www.hestiacp.com/)
44
==================================================
5-
**Latest stable release:** Version 1.5.5 | [View Changelog](https://github.com/hestiacp/hestiacp/blob/release/CHANGELOG.md) | [![Build Status](https://drone.hestiacp.com/api/badges/hestiacp/hestiacp/status.svg?ref=refs/heads/main)](https://drone.hestiacp.com/hestiacp/hestiacp) <br>
5+
**Latest stable release:** Version 1.5.8 | [View Changelog](https://github.com/hestiacp/hestiacp/blob/release/CHANGELOG.md) | [![Build Status](https://drone.hestiacp.com/api/badges/hestiacp/hestiacp/status.svg?ref=refs/heads/main)](https://drone.hestiacp.com/hestiacp/hestiacp) <br>
66

77
**Web:** [www.hestiacp.com](https://www.hestiacp.com/)<br>
88
**Documentation:** [docs.hestiacp.com](https://docs.hestiacp.com/)<br>

func/syshealth.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@
99
# Read known configuration keys from $HESTIA/conf/defaults/$system.conf
1010
function read_kv_config_file() {
1111
local system=$1
12+
13+
if [ ! -f "$HESTIA/conf/defaults/$system.conf" ]; then
14+
write_kv_config_file $system
15+
fi
1216
while read -r str; do
1317
echo "$str"
1418
done < <(cat $HESTIA/conf/defaults/$system.conf)

install/hst-install-debian.sh

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@ HESTIA_INSTALL_DIR="$HESTIA/install/deb"
3131
VERBOSE='no'
3232

3333
# Define software versions
34-
HESTIA_INSTALL_VER='1.5.8~alpha'
34+
HESTIA_INSTALL_VER='1.5.8'
3535
# Dependencies
36-
pma_v='5.1.2'
36+
pma_v='5.1.3'
3737
rc_v="1.5.2"
3838
multiphp_v=("5.6" "7.0" "7.1" "7.2" "7.3" "7.4" "8.0" "8.1")
3939
fpm_v="8.0"
@@ -1814,13 +1814,14 @@ fi
18141814
#----------------------------------------------------------#
18151815
# Install Roundcube #
18161816
#----------------------------------------------------------#
1817-
1818-
echo "[ * ] Install Roundcube..."
18191817
# Min requirements Dovecot + Exim + Mysql
1820-
18211818
if [ "$mysql" == 'yes' ] && [ "$dovecot" == "yes" ]; then
1822-
$HESTIA/bin/v-add-sys-roundcube
1819+
echo "[ * ] Install Roundcube..."
1820+
$HESTIA/bin/v-add-sys-roundcube
18231821
write_config_value "WEBMAIL_ALIAS" "webmail"
1822+
else
1823+
write_config_value "WEBMAIL_ALIAS" ""
1824+
write_config_value "WEBMAIL_SYSTEM" ""
18241825
fi
18251826

18261827
#----------------------------------------------------------#
@@ -1951,6 +1952,8 @@ if [ "$postgresql" = 'yes' ]; then
19511952
$HESTIA/bin/v-add-database-host pgsql localhost postgres $ppass
19521953
fi
19531954

1955+
1956+
19541957
# Adding default domain
19551958
$HESTIA/bin/v-add-web-domain admin $servername
19561959
check_result $? "can't create $servername domain"

install/hst-install-ubuntu.sh

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@ HESTIA_INSTALL_DIR="$HESTIA/install/deb"
3131
VERBOSE='no'
3232

3333
# Define software versions
34-
HESTIA_INSTALL_VER='1.5.8~alpha'
34+
HESTIA_INSTALL_VER='1.5.8'
3535
# Dependencies
36-
pma_v='5.1.2'
36+
pma_v='5.1.3'
3737
rc_v="1.5.2"
3838
multiphp_v=("5.6" "7.0" "7.1" "7.2" "7.3" "7.4" "8.0" "8.1")
3939
fpm_v="8.0"
@@ -1819,13 +1819,14 @@ fi
18191819
#----------------------------------------------------------#
18201820
# Install Roundcube #
18211821
#----------------------------------------------------------#
1822-
1823-
echo "[ * ] Install Roundcube..."
18241822
# Min requirements Dovecot + Exim + Mysql
1825-
18261823
if [ "$mysql" == 'yes' ] && [ "$dovecot" == "yes" ]; then
1824+
echo "[ * ] Install Roundcube..."
18271825
$HESTIA/bin/v-add-sys-roundcube
18281826
write_config_value "WEBMAIL_ALIAS" "webmail"
1827+
else
1828+
write_config_value "WEBMAIL_ALIAS" ""
1829+
write_config_value "WEBMAIL_SYSTEM" ""
18291830
fi
18301831

18311832

install/upgrade/manual/upgrade_mariadb.sh

Lines changed: 8 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -25,34 +25,21 @@ if [ "$mysql_v" = "$mariadb_v" ]; then
2525
exit 0
2626
fi
2727

28-
# Detect operating system and load codename
29-
if [ "$ID" = "ubuntu" ]; then
30-
codename="$(lsb_release -s -c)"
31-
elif [ "$ID" = "debian" ]; then
32-
codename="$(cat /etc/os-release |grep VERSION= |cut -f 2 -d \(|cut -f 1 -d \))"
33-
else
34-
echo "Can't detect the os version, cancelling."
35-
exit 1
36-
fi
28+
#Get OS details
29+
os=$(grep "^ID=" /etc/os-release | cut -f 2 -d '=')
30+
codename="$(lsb_release -s -c)"
31+
release="$(lsb_release -s -r)"
32+
RHOST='apt.hestiacp.com'
3733

3834
#----------------------------------------------------------#
3935
# Action #
4036
#----------------------------------------------------------#
4137

4238
# Installing MariaDB repo
43-
echo "Add new MariaDB repository..."
4439
apt="/etc/apt/sources.list.d/"
45-
if [ "$id" = "ubuntu" ]; then
46-
echo "deb [arch=amd64] https://mirror.mva-n.net/mariadb/repo/$mariadb_v/$ID $codename main" > $apt/mariadb.list
47-
APT_KEY_DONT_WARN_ON_DANGEROUS_USAGE=1 apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 0xF1656F24C74CD1D8 > /dev/null 2>&1
48-
else
49-
echo "deb [arch=amd64] https://mirror.mva-n.net/mariadb/repo/$mariadb_v/$ID $codename main" > $apt/mariadb.list
50-
if [ "$id" = "jessie" ]; then
51-
APT_KEY_DONT_WARN_ON_DANGEROUS_USAGE=1 apt-key adv --recv-keys --keyserver keyserver.ubuntu.com CBCB082A1BB943DB > /dev/null 2>&1
52-
else
53-
APT_KEY_DONT_WARN_ON_DANGEROUS_USAGE=1 apt-key adv --recv-keys --keyserver keyserver.ubuntu.com F1656F24C74CD1D8 > /dev/null 2>&1
54-
fi
55-
fi
40+
echo "[ * ] MariaDB"
41+
echo "deb [arch=$ARCH signed-by=/usr/share/keyrings/mariadb-keyring.gpg] https://dlm.mariadb.com/repo/mariadb-server/$mariadb_v/repo/$VERSION $codename main" > $apt/mariadb.list
42+
curl -s https://mariadb.org/mariadb_release_signing_key.asc | gpg --dearmor | tee /usr/share/keyrings/mariadb-keyring.gpg >/dev/null 2>&1
5643

5744
# Update repository
5845
echo "Update apt repository..."

install/upgrade/upgrade.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ UPGRADE_RESTART_SERVICES='true'
3636

3737
# Check if update is required by matching versions if version != current version run update
3838
# Set version of phpMyAdmin to install during upgrade if not already installed
39-
pma_v='5.1.2'
39+
pma_v='5.1.3'
4040

4141
# Set version of RoundCube (Webmail) to update during upgrade if not already installed
4242
# Note: only applies to "non-apt installs >= 1.4.0 or manually phased out"

src/deb/hestia/control

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Source: hestia
22
Package: hestia
33
Priority: optional
4-
Version: 1.5.8~alpha
4+
Version: 1.5.8
55
Section: admin
66
Maintainer: HestiaCP <info@hestiacp.com>
77
Homepage: https://www.hestiacp.com
5.54 KB
Binary file not shown.
168 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)