Ad Widget

Collapse

audit menu error 500 after update to 6.0.5

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Ignace_Frometon
    Junior Member
    • Dec 2021
    • 26

    #1

    audit menu error 500 after update to 6.0.5

    Hello there !

    i updated my zabbix server from 5.2.5 to 6.0.5 (OS : Ubuntu 18.04), i followed this guide : https://bestmonitoringtools.com/upgr...atest-version/

    so far, everything is OK except the audit menu that leads to an error 500.

    here is what if found in /var/log/apache2/error.log

    PHP Fatal error: Uncaught TypeError: Argument 1 passed to CControllerAuditLogList::sanitizeDetails() must be of the type array, null given, called in /usr/share/zabbix/app/controllers/CControllerAuditLogList.php on line 169 and defined in /usr/share/zabbix/app/controllers/CControllerAuditLogList.php:303\nStack trace:\n#0 /usr/share/zabbix/app/controllers/CControllerAuditLogList.php(169): CControllerAuditLogList->sanitizeDetails(NULL)\n#1 /usr/share/zabbix/include/classes/mvc/CController.php(465): CControllerAuditLogList->doAction()\n#2 /usr/share/zabbix/include/classes/core/ZBase.php(526): CController->run()\n#3 /usr/share/zabbix/include/classes/core/ZBase.php(210): ZBase->processRequest(Object(CRouter))\n#4 /usr/share/zabbix/include/config.inc.php(25): ZBase->run('default')\n#5 /usr/share/zabbix/zabbix.php(22): require_once('/usr/share/zabb...')\n#6 {main}\n thrown in /usr/share/zabbix/app/controllers/CControllerAuditLogList.php on line 303

    Could someone explain me what is going on, and how i should repair this ?

    thanks in advance

    regards,

    Ignace
  • Ignace_Frometon
    Junior Member
    • Dec 2021
    • 26

    #2
    additional information : i manage to query audit logs from API

    Comment

    • Ignace_Frometon
      Junior Member
      • Dec 2021
      • 26

      #3
      *UP*

      has anyone already had that type of error ?

      how can i fix it ?

      Comment

      • nizopi
        Junior Member
        • Sep 2018
        • 25

        #4
        Olá, aconteceu exatamente o mesmo problema em meu ambiente, foi quando resolvi entrar com outro usuário, e passou a funcionar, eu tinha configurado 3 usuários super admin na minha base, apenas 1 estava sem acesso nesta página, mesmo atualizando senha, grupos e permissões, continuava sem acesso, os outros 2 usuários acessavam normalmente, foi aí que recriei o usuário que estava com erro, do zero, e passou a acessar normalmente.

        No meu caso deu certo, espero ter ajudado.

        Atenciosamente.
        Last edited by nizopi; 13-07-2022, 16:47.

        Comment

        • Ignace_Frometon
          Junior Member
          • Dec 2021
          • 26

          #5
          Hi nizopi

          thanks a lot : it works with a new user who has the "super admin role"

          your advice did the trick.

          have a nice day !

          Comment

          • Ignace_Frometon
            Junior Member
            • Dec 2021
            • 26

            #6
            this topic has been discussed here : https://support.zabbix.com/browse/ZBX-21334

            Comment

            Working...