Ad Widget

Collapse

RaspberryPi - can only access "Monitoring" section of front end.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ZabbPi
    Junior Member
    • Aug 2018
    • 5

    #1

    RaspberryPi - can only access "Monitoring" section of front end.

    I have just installed Zabbix 3.4 on a RaspberryPi3 running Raspbian 9 (Stretch). I followed the process on the website installing from package. The install went through pretty easily and I got Zabbix up and running. I can access the management portal but then I can only access the "monitoring" section of the front end. I can access all sub menus from Monitoring, and the outside links for zabbix support/help but that is it.

    Logged in as Admin/zabbix I can see the other menus but nothing happens when I click them. I can also not log out, the logout button is also unresponsive.

    I really have no idea where to go from here. I have googled the issue but have not found anything remotely near to my issue. I have restarted apache2, and zabbix services, changed folder permissions and ownership, and deleted and recreated the web directory but the issue still persists.

    I apologize for the lack of further info, but I truly have no idea where to go from here. Any further advice or tips would be appreciated.
  • ZabbPi
    Junior Member
    • Aug 2018
    • 5

    #2
    So after some digging I have this in my error log
    PHP Warning: file_get_contents(js/vendors/prototype.js): failed to open stream: No such file or directory in /var/www/html/zabbix/jsLoader.php on line 270
    PHP Warning: file_get_contents(js/vendors/jquery-ui.js): failed to open stream: No such file or directory in /var/www/html/zabbix/jsLoader.php on line 270

    Comment

    • ZabbPi
      Junior Member
      • Aug 2018
      • 5

      #3
      SOLVED!:
      issue was prototype.js and jquery-ui.js were symlink'd files to an unknown destination.
      Moved pointers to correct destination and now it works.

      ln -sf /usr/share/javascript/jquery-ui/jquery-ui.js /var/www/html/zabbix/js/vendors/jquery-ui.js
      ln -sf /usr/share/javascript/prototype/prototype-1.7.1.js /var/www/html/zabbix/js/vendors/prototype.js

      Comment

      Working...