Jaap Marcus 1 год назад
Родитель
Сommit
f181c65105

+ 34 - 1
CHANGELOG.md

@@ -4,7 +4,40 @@ All notable changes to this project will be documented in this file.
 
 ## [1.9.3] - Service release
 
--
+### Bug fixes
+
+- Fix deleting snapshot not working #4812
+- Fix bulk restore
+- Set priority to a lower value for backup process and limit disk speed and upload speed #4853
+- Fix sftp homedir staring in /home and not /home/{user} (#4862)
+- Temp workaround for Ubuntu 24.04 i18n GUI support (#4857)
+- Fix multiple smaller bugs with incremental backups (#4861)
+- SFTP get completely disabled in certain setups when enableling it (#4859)
+- mysqladmin got renamed on MariaDB systems to mariadb-admin (#4850)
+- Update dummy.conf (#4855)
+- Avoid warning using pgrep if service name has 15 or more characters (#4851)
+- Move v-update-letsencrypt-ssl cron to /var/spool/cron (#4823)
+- Update v-add-remote-dns-host (#4837)
+- Fix bug in v-add-web-domain-ssl (#4835)
+- Fix bug in v-update-user-stats (#4842)
+- Fix output v-dump-database (#4831)
+- Update configuration.php (#4827)
+- Include at as an dependency (#4829)
+- Replace is_restart_valid with is_restart_format_valid
+- Replaced "echo" with "sed" to avoid "Permission denied" in multiple commands (#4818 #4819 #4817 #4186)
+- Admin are unable to add access keys #4799 (#4810)
+- Make jail for work sftp by using the binary sftp-server (#4803)
+- Update v-add-mail-domain (#4868)
+- Change filegator pagination to remove unlimited and add bigger steps (#4869)
+
+### Quick install apps
+
+- Enable PHP8.4 support for Laravel and Symfony (#4820, #4821)
+
+### Dependencies
+
+- Bump Roundcube version to 1.6.10 (#4813)
+- Bump Filegator to 7.13.0
 
 ## [1.9.2] - Service release
 

+ 1 - 0
install/deb/filemanager/filegator/configuration.php

@@ -33,6 +33,7 @@ $dist_config["frontend_config"]["editable"] = [
 $dist_config["frontend_config"]["date_format"] = "YY/MM/DD H:mm:ss";
 $dist_config["frontend_config"]["guest_redirection"] = "/login/";
 $dist_config["frontend_config"]["upload_max_size"] = 1024 * 1024 * 1024;
+$dist_config["frontend_config"]["pagination"] = [100, 50, 25];
 if (!empty($_SESSION["language"])) {
 	$lang = $_SESSION["language"];
 } elseif (!empty($_SESSION["LANGUAGE"])) {

+ 1 - 1
install/hst-install-debian.sh

@@ -31,7 +31,7 @@ HESTIA_COMMON_DIR="$HESTIA/install/common"
 VERBOSE='no'
 
 # Define software versions
-HESTIA_INSTALL_VER='1.9.3~alpha'
+HESTIA_INSTALL_VER='1.9.3'
 # Supported PHP versions
 multiphp_v=("5.6" "7.0" "7.1" "7.2" "7.3" "7.4" "8.0" "8.1" "8.2" "8.3" "8.4")
 # One of the following PHP versions is required for Roundcube / phpmyadmin

+ 1 - 1
install/hst-install-ubuntu.sh

@@ -31,7 +31,7 @@ HESTIA_COMMON_DIR="$HESTIA/install/common"
 VERBOSE='no'
 
 # Define software versions
-HESTIA_INSTALL_VER='1.9.3~alpha'
+HESTIA_INSTALL_VER='1.9.3'
 # Supported PHP versions
 multiphp_v=("5.6" "7.0" "7.1" "7.2" "7.3" "7.4" "8.0" "8.1" "8.2" "8.3" "8.4")
 # One of the following PHP versions is required for Roundcube / phpmyadmin

+ 1 - 1
install/upgrade/upgrade.conf

@@ -60,7 +60,7 @@ sm_v='2.38.2'
 # UPGRADE_UPDATE_FILEMANAGER_CONFIG: Updates only the configuration file if changes are made but now new issue has been issued!
 UPGRADE_UPDATE_FILEMANAGER_CONFIG='false'
 # Set version of File manager to update during upgrade if not already installed
-fm_v='7.12.0'
+fm_v='7.13.0'
 
 # Backblaze
 b2_v='3.6.0'

+ 8 - 0
install/upgrade/versions/1.9.3.sh

@@ -47,3 +47,11 @@ if [ -f "/etc/cron.d/hestiaweb" ]; then
 		sed -i -e "\$a*/5 * * * * sudo $BIN/v-update-letsencrypt" "/var/spool/cron/crontabs/hestiaweb"
 	fi
 fi
+
+php_versions=$($BIN/v-list-sys-php plain)
+# Substitute php-fpm service name formats
+for version in $php_versions; do
+	if [ -f "/etc/php/$version/fpm/pool.d/dummy.conf" ]; then
+		sed -i "s/%domain%/dummy/g" /etc/php/$version/fpm/pool.d/dummy.conf
+	fi
+done

+ 1 - 1
package.json

@@ -1,7 +1,7 @@
 {
 	"name": "hestia",
 	"private": true,
-	"version": "1.9.2",
+	"version": "1.9.3",
 	"description": "An open-source Linux web server control panel.",
 	"repository": "https://github.com/hestiacp/hestiacp",
 	"license": "GPL-3.0-or-later",

+ 1 - 1
src/deb/nginx/control

@@ -1,7 +1,7 @@
 Source: hestia-nginx
 Package: hestia-nginx
 Priority: optional
-Version: 1.27.3
+Version: 1.27.4
 Section: admin
 Maintainer: HestiaCP <info@hestiacp.com>
 Homepage: https://www.hestiacp.com

+ 14 - 4
src/deb/nginx/postinst

@@ -6,19 +6,29 @@ if [ "$1" != "configure" ]; then
 	exit 0
 fi
 
+# Run triggers only on updates
+if [ ! -e "/usr/local/hestia/data/users/" ]; then
+	exit
+fi
+
+# Prevent running and causes issues with outdated hestia version
+if ! id "hestiaweb" &> /dev/null; then
+	exit
+fi
+
 # Touch and set permisions on default log files on installation
 update-rc.d hestia defaults > /dev/null
 invoke-rc.d hestia start || true
 
 # Adapt Port Listing in HESTIA NGINX Backend
 source /usr/local/hestia/func/syshealth.sh # Load syshealth functions
-syshealth_adapt_hestia_nginx_listen_ports  # Adapt port listing
-syshealth_adapt_nginx_resolver
 
-# Run triggers only on updates
-if [ ! -e "/usr/local/hestia/data/users/" ]; then
+# Check if the function syshealth_adapt_hestia_nginx_listen_ports exists
+if ! declare -f syshealth_adapt_hestia_nginx_listen_ports > /dev/null; then
 	exit
 fi
+syshealth_adapt_hestia_nginx_listen_ports # Adapt port listing
+syshealth_adapt_nginx_resolver
 
 ###############################################################
 #                Initialize functions/variables               #

+ 1 - 1
src/deb/php/control

@@ -1,7 +1,7 @@
 Source: hestia-php
 Package: hestia-php
 Priority: optional
-Version: 8.3.16
+Version: 8.3.17
 Section: admin
 Maintainer: HestaCP <info@hestiacp.com>
 Homepage: https://www.hestiacp.com

+ 5 - 0
src/deb/php/postinst

@@ -11,6 +11,11 @@ if [ ! -e "/usr/local/hestia/data/users/" ]; then
 	exit
 fi
 
+# Prevent running and causes issues with outdated hestia version
+if ! id "hestiaweb" &> /dev/null; then
+	exit
+fi
+
 # Check if preinstall hook exists
 if [ -e "/etc/hestiacp/hooks/php/pre_install.sh" ]; then
 	/etc/hestiacp/hooks/php/pre_install.sh

+ 3 - 3
web/edit/server/index.php

@@ -1306,7 +1306,7 @@ if (!empty($_POST["save"])) {
 				);
 				check_return_code($return_var, $output);
 				unset($output);
-
+				$v_backup_incremental = "yes";
 				$v_repo = $_POST["v_repo"];
 				$v_snapshots = $_POST["v_snapshots"];
 				$v_keep_daily = $_POST["v_keep_daily"];
@@ -1321,7 +1321,7 @@ if (!empty($_POST["save"])) {
 			exec(HESTIA_CMD . "v-delete-backup-host-restic ", $output, $return);
 			check_return_code($return_var, $output);
 			unset($output);
-
+			$v_backup_incremental = "";
 			$v_repo = "";
 			$v_snapshots = "";
 			$v_keep_daily = "";
@@ -1331,7 +1331,7 @@ if (!empty($_POST["save"])) {
 		}
 	}
 	if (empty($_SESSION["error_msg"])) {
-		if ($_POST["v_backup_incremental"] !== "yes" && $_SESSION["BACKUP_INCREMENTAL"] === "yes") {
+		if ($_POST["v_backup_incremental"] === "yes" && $_SESSION["BACKUP_INCREMENTAL"] === "yes") {
 			exec(HESTIA_CMD . "v-delete-backup-host-restic ", $output, $return);
 			check_return_code($return_var, $output);
 			unset($output);