Ad Widget

Collapse

Dashboard stuck at "Loading" since upgrade to 1.8.3

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • crb
    Junior Member
    • Aug 2010
    • 7

    #1

    Dashboard stuck at "Loading" since upgrade to 1.8.3

    I just upgraded to Zabbix 1.8.3 and found that the dashboard, graphs, screens, etc, were all missing to me.

    The problem turned out to be that the scriptaculous library wasn't in the right place, and my .deb hadn't accounted for it. In case anyone else is bitten, the clue was enabling PHP error logging, and seeing this:

    Code:
    [26-Aug-2010 22:22:27] PHP Warning:  file_get_contents(js/scriptaculous/effects.js): failed to open stream: No such file or directory in /usr/share/zabbix/jsLoader.php on line 98
    [26-Aug-2010 22:22:27] PHP Warning:  file_get_contents(js/scriptaculous/dragdrop.js): failed to open stream: No such file or directory in /usr/share/zabbix/jsLoader.php on line 98
    Just a heads up!
    Last edited by crb; 26-08-2010, 23:35.
  • tekknokrat
    Senior Member
    • Sep 2008
    • 140

    #2
    My setup has the symlinks for the files correct in place, but I still get the error message:

    Code:
    lrwxrwxrwx  1 root root     42 2010-09-01 18:40 dragdrop.js -> ../../javascript/scriptaculous/dragdrop.js
    lrwxrwxrwx  1 root root     41 2010-09-01 18:40 effects.js -> ../../javascript/scriptaculous/effects.js
    -rw-r--r--  1 root root  22058 2010-08-16 10:19 functions.js
    -rw-r--r--  1 root root  63590 2010-08-16 10:19 gtlc.js
    -rw-r--r--  1 root root   2611 2010-08-16 10:19 ie6fix.js
    -rw-r--r--  1 root root  25465 2010-08-16 10:19 main.js
    -rw-r--r--  1 root root  15399 2010-08-16 10:19 menu.js
    lrwxrwxrwx  1 root root     39 2010-09-01 18:40 prototype.js -> ../../javascript/prototype/prototype.js
    lrwxrwxrwx  1 root root     47 2010-09-01 18:40 scriptaculous.js -> ../../javascript/scriptaculous/scriptaculous.js
    Is it that file_get_contents can't poke with symlinks?

    Comment

    • tekknokrat
      Senior Member
      • Sep 2008
      • 140

      #3
      OK, on 2nd look I saw that symlinks where wrong.

      Solution:
      Code:
      cd /usr/share/zabbix/js
      rm effects.js
      rm dragdrop.js
      ln -s ../../javascript/scriptaculous ./

      Comment

      • crb
        Junior Member
        • Aug 2010
        • 7

        #4
        Yep, exactly that. Thanks for your clarification. Glad to see the post helped at least one person!

        Comment

        Working...