yalh76 1 год назад
Родитель
Сommit
044dc3a8f4
3 измененных файлов с 4 добавлено и 4 удалено
  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__/ {
 
   # Path to source
-  alias /usr/share/zabbix/;
+  alias /usr/share/zabbix/ui/;
 
   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.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 = []
 
@@ -76,7 +76,7 @@ ram.runtime = "200M"
     ]
 
     [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"
     packages = [
         "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"
 $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