Ad Widget

Collapse

Error upgrading from 7.0 to 7.2

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • verdura
    Junior Member
    • Dec 2024
    • 2

    #1

    Error upgrading from 7.0 to 7.2


    Hi,

    Thanks in advance for all the help you can give...
    I had 6.4.2 on a CentOs virtual machine. But I want to upgrade and followed the tutorial and everything worked fine.
    Then I wanted to update from 7.0 to 7.2 and did. No error, everything worked. Then when I open the site https://zabbix.myLan it gives me a warbibg stating I need to run:

    Code:
    cp /etc/httpd/conf.d/zabbix.conf /etc/httpd/conf.d/zabbix.conf.bak
    sed -i 's:/usr/share/zabbix:/usr/share/zabbix/ui:g' /etc/httpd/conf.d/zabbix.conf
    systemctl restart httpd
    I did run those commands and now all I can see is the default page from CentOS HTTP Server Test Page

    I checked the file etc/httpd/conf.d/zabbix.conf
    and it had the path wrong. It had:

    Code:
    Alias /zabbix /usr/share/zabbix/ui/ui
    with double "ui" in the path. I checked and I don't have them in the file manager. Remove those but still don't work...

    What can I do to save this zabbix installation?

    Thanks
  • verdura
    Junior Member
    • Dec 2024
    • 2

    #2
    I managed to resolve the issue:
    The file /etc/httpd/conf.d/zabbix.conf was wrong and I changed it to the correct path but the ssl.conf file had also the wrong path. Correct and all started fine!

    Thanks

    Comment

    • tcweb
      Member
      • Jun 2024
      • 35

      #3
      FYI (if it helps someone else). I have mysql/apache running on ubuntu.
      I received a similar warning after a successful upgrade, that I needed to make the changes to the zabbix.conf.

      However, the path that was provided in the error messages (on the web page, when you connect after the upgrade) was wrong!
      I found the file with a quick search, and it appeared to be correct. (had the "/ui" added everywhere)

      I restarted apache, and then things worked fine.

      -Tom

      Comment

      Working...