Skip to content

Commit 1cee95c

Browse files
author
Kristan Kenney
committed
Merge branch 'staging/fixes' into staging/release/v1.3.0
2 parents 8dca2d7 + e2e40d3 commit 1cee95c

File tree

6 files changed

+7
-3
lines changed

6 files changed

+7
-3
lines changed

func/upgrade.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,8 @@ upgrade_start_backup() {
435435
echo " ---- mysql"
436436
fi
437437
cp -f /etc/mysql/*.cnf $HESTIA_BACKUP/conf/mysql/
438-
cp -f /etc/mysql/conf.d/*.cnf $HESTIA_BACKUP/conf/mysql/
438+
cp -f /etc/mysql/conf.d/*.cnf $HESTIA_BACKUP/conf/mysql/ > /dev/null 2>&1
439+
cp -f /etc/mysql/mariadb.conf.d/*.cnf $HESTIA_BACKUP/conf/mysql/ > /dev/null 2>&1
439440
fi
440441
if [[ "$DB_SYSTEM" =~ "pgsql" ]]; then
441442
if [ "$DEBUG_MODE" = "true" ]; then

install/deb/mysql/my-large.cnf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,3 +40,4 @@ interactive_timeout=50
4040
long_query_time=5
4141

4242
!includedir /etc/mysql/conf.d/
43+
!includedir /etc/mysql/mariadb.conf.d/

install/deb/mysql/my-medium.cnf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,3 +39,4 @@ interactive_timeout=50
3939
long_query_time=5
4040

4141
!includedir /etc/mysql/conf.d/
42+
!includedir /etc/mysql/mariadb.conf.d/

install/deb/mysql/my-small.cnf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,3 +39,4 @@ interactive_timeout=50
3939
long_query_time=5
4040

4141
!includedir /etc/mysql/conf.d/
42+
!includedir /etc/mysql/mariadb.conf.d/

install/upgrade/manual/upgrade_mariadb.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,6 @@ apt remove -qq mariadb-server -y > /dev/null 2>&1
5353

5454
# Install new version and run upgrader
5555
echo "Installing new MariaDB Server, start and run upgrade..."
56-
apt install -qq mariadb-server -y > /dev/null 2>&1
56+
apt install -qq mariadb-server -y
5757
systemctl start mysql > /dev/null 2>&1
5858
mysql_upgrade

web/restart/system/index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
if ($_SESSION['user'] == 'admin') {
2828
if (!empty($_GET['hostname'])) {
2929
touch($reset_token_file);
30-
$_SESSION['error_msg'] = __('The system is going down for reboot NOW!');
30+
$_SESSION['error_msg'] = _('The system is going down for reboot NOW!');
3131
exec(HESTIA_CMD . "v-restart-system yes", $output, $return_var);
3232
}
3333
unset($output);

0 commit comments

Comments
 (0)