Upgrade 2.2.2 > 2.2.3: PHP Fatal error: Cannot redeclare php_deinstall_zabbix…



  • Crash report begins.  Anonymous machine information:

    i386
    10.1-RELEASE-p13
    FreeBSD 10.1-RELEASE-p13 #0 c77d1b2(releng/10.1)-dirty: Tue Jun 23 17:02:27 CDT 2015    root@pfs22-i386-builder:/usr/obj.i386/usr/pfSensesrc/src/sys/pfSense_SMP.10

    Crash report details:

    PHP Errors:
    [25-Jun-2015 10:12:20 America/Toronto] PHP Fatal error:  Cannot redeclare php_deinstall_zabbix_agent_lts() (previously declared in /usr/local/pkg/zabbix-lts.inc:46) in /usr/local/pkg/zabbix-agent-lts.inc on line 72



  • I ran into the same problem. Those steps worked for me:

    I reinstalled the zabbix-proxy, then I reinstall the zabbix-agent again.



  • The zabbix-proxy code looks like it had a time when it had function php_deinstall_zabbix_agent_lts() in it. But that was changed to correct the function name. So a reinstall of zabbix-proxy should pick that up.



  • @phil.davis:

    The zabbix-proxy code looks like it had a time when it had function php_deinstall_zabbix_agent_lts() in it. But that was changed to correct the function name. So a reinstall of zabbix-proxy should pick that up.

    When I go to the Packages page, I see: "Please wait while packages are reinstalled in the background."

    How do I reinstall zabbix-proxy (eg. on command-line)?



  • Bump!


  • Banned

    Bump what? Reinstall the package as told above!



  • @doktornotor:

    Bump what? Reinstall the package as told above!

    Did you read my reply?

    The only thing I see is the big image of a harddive and the following text:

    Packages are currently being reinstalled in the background.
    Do not make changes in the GUI until this is complete.

    Please wait while packages are reinstalled in the background.


  • Banned

    Yeah, I did. I could not imagine that you'd wait over one week staring at the nonsense in order to bump the thread… instead of rebooting of the box (if unable to spot the "Clear Package Lock" feature under Diagnostics: Backup/Restore)...  ::)  ::) ::)



  • Fuckin' finally… lol. Thanks, that worked.