Przeglądaj źródła

Upgrade to 7.2~ynh1

yalh76 1 rok temu
rodzic
commit
044dc3a8f4
3 zmienionych plików z 4 dodań i 4 usunięć
  1. 1 1
      conf/nginx.conf
  2. 2 2
      manifest.toml
  3. 1 1
      scripts/install

+ 1 - 1
conf/nginx.conf

@@ -2,7 +2,7 @@
 location __PATH__/ {
 location __PATH__/ {
 
 
   # Path to source
   # Path to source
-  alias /usr/share/zabbix/;
+  alias /usr/share/zabbix/ui/;
 
 
   index index.php;
   index index.php;
 
 

+ 2 - 2
manifest.toml

@@ -7,7 +7,7 @@ name = "Zabbix"
 description.en = "Monitoring tool for diverse IT components, including networks, servers, VMs and cloud services"
 description.en = "Monitoring tool for diverse IT components, including networks, servers, VMs and cloud services"
 description.fr = "Outil pour monitorer des réseaux, des serveurs, des VMs et autres services en ligne"
 description.fr = "Outil pour monitorer des réseaux, des serveurs, des VMs et autres services en ligne"
 
 
-version = "7.0~ynh1"
+version = "7.2~ynh1"
 
 
 maintainers = []
 maintainers = []
 
 
@@ -76,7 +76,7 @@ ram.runtime = "200M"
     ]
     ]
 
 
     [resources.apt.extras.zabbix]
     [resources.apt.extras.zabbix]
-    repo = "deb https://repo.zabbix.com/zabbix/7.0/debian __YNH_DEBIAN_VERSION__ main"
+    repo = "deb https://repo.zabbix.com/zabbix/7.2/stable/debian __YNH_DEBIAN_VERSION__ main"
     key = "https://repo.zabbix.com/zabbix-official-repo.key"
     key = "https://repo.zabbix.com/zabbix-official-repo.key"
     packages = [
     packages = [
         "zabbix-server-mysql",
         "zabbix-server-mysql",

+ 1 - 1
scripts/install

@@ -33,7 +33,7 @@ ynh_script_progression --message="Import default data in database..."
 export mysqlconn="mysql --user=$db_user --password=$db_pwd --database=$db_name"
 export mysqlconn="mysql --user=$db_user --password=$db_pwd --database=$db_name"
 $mysqlconn -e "ALTER DATABASE $db_name CHARACTER SET utf8 COLLATE utf8_general_ci;"
 $mysqlconn -e "ALTER DATABASE $db_name CHARACTER SET utf8 COLLATE utf8_general_ci;"
 
 
-zcat /usr/share/zabbix-sql-scripts/mysql/server.sql.gz | $mysqlconn
+zcat /usr/share/zabbix/sql-scripts/mysql/server.sql.gz | $mysqlconn
 
 
 convert_ZabbixDB
 convert_ZabbixDB