Ad Widget

Collapse

problem migrating from 5 to 7

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • AlfredIT
    Junior Member
    • Jan 2011
    • 5

    #1

    problem migrating from 5 to 7

    hi,
    I am trying to upgrade from Zabbix 5.4.12 to latest.

    What i did :

    * My ubuntu 18.04 is old now so i backed up the MySQL,
    * Installed a new 24.04 server with latest zabbix/Mysql version,
    * Followed the install process, restored my mysql dump (15GB).
    * I've completed the /etc/zabbix/zabbix-server.conf with my mysql config user, password and database.
    * I have seen the upgrade process doing fine in the /val/log/zabbix/zabbix-server.log, i see only active check error ono 127.0.0.1

    The problem i have is that the setup.php il displayed when i go to http://server_ip/zabbix.
    If i try to go through it, after the database password the page does not respond (nothing seen in /val/log/apache2/error.log)

    Questions :
    1. is this the good way to upgrade? Can i do it simpler ?
    2. how to bypass the setup.php page, since everything is running

    Thanks a lot,

    Edgar
  • cyber
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Dec 2006
    • 4807

    #2
    1. Yes. No
    2. By adding all required credentials to config file (conf/zabbix.conf.php)

    Comment

    • AlfredIT
      Junior Member
      • Jan 2011
      • 5

      #3
      It's working, thanks a lot ! Took my old
      "/usr/share/zabbix/conf/zabbix.conf.php"
      and restored it on the new server and it works (minus a thing...)

      I have these pages that cannot load. I see nothing in /var/log/apache2/error.log or zabbix_server.log. The page times out.
      * zabbix.php?action=userprofile.edit
      * gui.edit
      * user.edit

      Is there a log for the frontend ? What can i do ?

      Comment

      • tim.mooney
        Senior Member
        • Dec 2012
        • 1427

        #4
        Originally posted by AlfredIT
        I have these pages that cannot load. I see nothing in /var/log/apache2/error.log or zabbix_server.log. The page times out.
        * zabbix.php?action=userprofile.edit
        * gui.edit
        * user.edit

        Is there a log for the frontend ? What can i do ?
        Enable logging for either the PHP-FPM worker pool you're using (assuming you are using PHP-FPM, which is the default for modern installs) or enable it system-wide in you /etc/php.ini or /etc/php.d/90-local.ini file. Once logging is enabled, restart your php-fpm worker pool and visit the problematic pages and then check the php or php-fpm logs.

        You may also want to look at the documentation for the web interface ("Frontend") requirements. Make sure you're not missing any PHP extensions that are required.

        Comment

        Working...