Ad Widget

Collapse

Dashboards blank after upgrading from 5.2 to 5.4.4

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • derousse
    Junior Member
    • Apr 2021
    • 3

    #1

    Dashboards blank after upgrading from 5.2 to 5.4.4

    I upgraded Zabbix from 5.2.? to 5.4.4 today and after restarting the server all of my Dashboards are empty.

    I tried clearing cookies and cache, but it didn't help.

    Also, the Edit dashboard button doesn't do anything, on both existing dashboards and a newly created one.

    In the browser console I'm seeing the following:

    jsLoader.php?lang=en_GB&ver=5.4.4&showGuiMessaging =1:3843 jQuery.Deferred exception: timeControl is not defined ReferenceError: timeControl is not defined
    at init (http://135.238.241.205/zabbix/zabbix...hboardid=57:42 :4)
    at initializeView (http://135.238.241.205/zabbix/zabbix...hboardid=57:36 8:3)
    at HTMLDocument.<anonymous> (http://135.238.241.205/zabbix/zabbix...hboardid=57:51 2:2)
    at mightThrow (http://135.238.241.205/zabbix/jsLoad...owGuiMessaging =1:3559:29)
    at process (http://135.238.241.205/zabbix/jsLoad...owGuiMessaging =1:3627:12) undefined


    jsLoader.php?lang=en_GB&ver=5.4.4&showGuiMessaging =1:3852 Uncaught ReferenceError: timeControl is not defined
    at init (zabbix.php?action=dashboard.view&dashboardid=57:4 2)
    at initializeView (zabbix.php?action=dashboard.view&dashboardid=57:3 68)
    at HTMLDocument.<anonymous> (zabbix.php?action=dashboard.view&dashboardid=57:5 12)
    at mightThrow (jsLoader.php?lang=en_GB&ver=5.4.4&showGuiMessagin g=1:3559)
    at process (jsLoader.php?lang=en_GB&ver=5.4.4&showGuiMessagin g=1:3627)

    Please help!
    Last edited by derousse; 14-09-2021, 22:52.
  • Sunrise0318
    Junior Member
    • Feb 2017
    • 24

    #2
    Hello.
    Logout, delete cookies and cache close browser open browser and login... Please send error_log from web server

    Comment

    • derousse
      Junior Member
      • Apr 2021
      • 3

      #3
      I tried this but the dashboard is still coming up blank.

      Nothing was logged to the error_log.

      The access_log has:

      10.20.20.1 - - [15/Sep/2021:01:23:32 +0200] "POST /zabbix/index.php?reconnect=1 HTTP/1.1" 302 - "http://135.238.241.205/zabbix/zabbix.php?action=dashboard.view&dashboardid=57" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gec
      ko) Chrome/93.0.4577.63 Safari/537.36"
      10.20.20.1 - - [15/Sep/2021:01:23:32 +0200] "GET /zabbix/index.php HTTP/1.1" 200 3683 "http://135.238.241.205/zabbix/zabbix.php?action=dashboard.view&dashboardid=57" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome
      /93.0.4577.63 Safari/537.36"
      10.20.20.1 - - [15/Sep/2021:01:23:33 +0200] "GET /zabbix/assets/styles/blue-theme.css?1630311380 HTTP/1.1" 200 201737 "http://135.238.241.205/zabbix/index.php" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.
      4577.63 Safari/537.36"
      10.20.20.1 - - [15/Sep/2021:01:25:29 +0200] "GET /zabbix/index.php HTTP/1.1" 200 3683 "http://135.238.241.205/zabbix/zabbix.php?action=dashboard.view&dashboardid=57" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome
      /93.0.4577.82 Safari/537.36"
      10.20.20.1 - - [15/Sep/2021:01:25:29 +0200] "GET /zabbix/js/browsers.js?1630310834 HTTP/1.1" 200 1559 "http://135.238.241.205/zabbix/index.php" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.82 Safari/5
      37.36"
      10.20.20.1 - - [15/Sep/2021:01:25:29 +0200] "GET /zabbix/assets/styles/blue-theme.css?1630311380 HTTP/1.1" 200 201737 "http://135.238.241.205/zabbix/index.php" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.
      4577.82 Safari/537.36"
      10.20.20.1 - - [15/Sep/2021:01:25:30 +0200] "GET /zabbix/assets/img/icon-sprite.svg?20200407 HTTP/1.1" 200 134808 "http://135.238.241.205/zabbix/assets/styles/blue-theme.css?1630311380" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML
      , like Gecko) Chrome/93.0.4577.82 Safari/537.36"
      10.20.20.1 - - [15/Sep/2021:01:25:32 +0200] "GET /zabbix/favicon.ico HTTP/1.1" 200 32988 "http://135.238.241.205/zabbix/index.php" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.82 Safari/537.36"
      10.20.20.1 - - [15/Sep/2021:01:25:42 +0200] "POST /zabbix/index.php HTTP/1.1" 302 - "http://135.238.241.205/zabbix/index.php" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.82 Safari/537.36"
      10.20.20.1 - - [15/Sep/2021:01:25:42 +0200] "GET /zabbix/zabbix.php?action=dashboard.view HTTP/1.1" 200 41741 "http://135.238.241.205/zabbix/index.php" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.82 Safari/537.36"
      10.20.20.1 - - [15/Sep/2021:01:25:42 +0200] "GET /zabbix/assets/styles/dark-theme.css?1630311380 HTTP/1.1" 200 206922 "http://135.238.241.205/zabbix/zabbix.php?action=dashboard.view" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.82 Safari/537.36"
      10.20.20.1 - - [15/Sep/2021:01:25:42 +0200] "GET /zabbix/jsLoader.php?lang=en_GB&ver=5.4.4&showGuiMessaging =1 HTTP/1.1" 200 780122 "http://135.238.241.205/zabbix/zabbix.php?action=dashboard.view" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.82 Safari/537.36"
      10.20.20.1 - - [15/Sep/2021:01:25:44 +0200] "POST /zabbix/zabbix.php?action=notifications.get&sid=0f1a2d0f31 aef038&output=ajax HTTP/1.1" 200 424 "http://135.238.241.205/zabbix/zabbix.php?action=dashboard.view" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.82 Safari/537.36"

      And the browser console is still showing the same errors as shown in my opening post.

      Comment

      • Sunrise0318
        Junior Member
        • Feb 2017
        • 24

        #4
        Hi.
        Ok so you test other user... Update java 7.4 on Zabbix Server and update browser. Test edge or Firefox...

        Comment

        • derousse
          Junior Member
          • Apr 2021
          • 3

          #5
          Thanks for trying to help Sunrise0318. It turns out that we had an issue with a firewall rule which was blocking the web request to load the JS files. This was fixed and it's working fine now.
          Last edited by derousse; 16-09-2021, 22:39.

          Comment

          Working...