Ad Widget

Collapse

Zabbix 6 Fresh Install - No Dashboards or Hosts

Collapse
This topic has been answered.
X
X
 
  • Time
  • Show
Clear All
new posts
  • highway_fixer_man
    Member
    • Jun 2022
    • 35

    #1

    Zabbix 6 Fresh Install - No Dashboards or Hosts

    Hi All,

    I have a weird issue.

    I have a fresh Debian 11 server running MariaDB/Mysql and Zabbix 6. When I log in, the dashboards don't load - and I am unable to edit them either. If I go to "Monitoring"-> "Hosts" the page loads, with no data in it, and there is a little wheel that just spins and spins. I would expect to see the Zabbix server here, right? If I go to "Configuration"-> "Hosts" I do see the Zabbix server listed.

    So far, I have tried this three times. I have completely removed all related packages as follows:

    Code:
    apt remove --purge zabbix-server-mysql zabbix-frontend-php zabbix-apache-conf zabbix-sql-scripts zabbix-agent mariadb-server php-json
    I confirmed that /var/lib/mysql was gone before carrying on. Reinstalled everything. I go through the Web UI setup wizard, all green ticks. I set the DB details, and I am able to log in. I can create a new user with all rights, ect. It seems like its working, but right away, as I log in, no dashboards (they are there, I can click on them, but nothing loads up when I do), I cant edit, and I cant create. Its all just blank. If I go to "Configuration" then "Hosts" then click on the "Graphs" for the zabbix server, I can preview the graphs there.

    Here is a shot to show what I am talking about - if I click on edit dashboard, nothing happens. Not even in the logs:

    **Cant post image**

    I have tried the latest Chrome, Firefox and Edge. They all do exactly the same thing.

    If I click on the "Edit" button in the top right of the screen, nothing happens.

    I enabled PHP logging, and see nothing of relevance in there, unless I am missing something:


    Code:
    [15-Jun-2022 17:33:41 Africa/Johannesburg] PHP Notice:  Trying to access array offset on value of type null in /usr/share/zabbix/include/classes/core/CCookieSession.php on line 196
    zabbix_server.log:

    Code:
     
    
    cant post logs

    Does anyone have any advise or suggestions for me? I am happy to do pretty much anything, except reinstall the server - as I do not have access to do that. I can provide logs, change log levels - whatever it takes.

    Or should I go with Zabbix 5? This is a brand new install.


    Attached Files
  • Answer selected by highway_fixer_man at 13-10-2022, 14:51.
    highway_fixer_man
    Member
    • Jun 2022
    • 35

    Yes, I am using the official repository - but I managed to find the problem - and I need to delete this post. It was networking related.

    Who can I tag to remove this post? I cant see how to do it myself - feel like a bit of an idiot!

    Comment

    • vladimir_lv
      Senior Member
      • May 2022
      • 240

      #2
      Are you using the official Zabbix repository?

      Comment

      • highway_fixer_man
        Member
        • Jun 2022
        • 35

        #3
        Yes, I am using the official repository - but I managed to find the problem - and I need to delete this post. It was networking related.

        Who can I tag to remove this post? I cant see how to do it myself - feel like a bit of an idiot!

        Comment

        • GreenHorn
          Member
          • Nov 2020
          • 54

          #4
          Are you try permission for chroot file or Appach/ Nginx file? Have you "x" permission?

          Comment

          Working...