Ad Widget

Collapse

server upgrade 7.0 to 7.2 "Manual intervention is required to complete upgrade!"

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mmarbury
    Junior Member
    • Feb 2020
    • 8

    #1

    server upgrade 7.0 to 7.2 "Manual intervention is required to complete upgrade!"

    I just performed a zabbix-server upgrade from 7.0 to 7.2 going by this doc:



    After the upgrade I went to check it out in the ui and received this message:

    Click image for larger version  Name:	zabbix-server-upgrade-message.png Views:	0 Size:	55.6 KB ID:	495917

    One problem is that I'm using nginx. The other problem is that there is no line in my nginx.conf file regarding the location ot the ui files.
    I clicked on the "Upgrade notes for 7.2.0" link at the bottom (https://www.zabbix.com/documentation...e-installation) and got " This topic does not exist yet."

    Please help!
  • mmarbury
    Junior Member
    • Feb 2020
    • 8

    #2
    I figured it out. It's pretty trivial.

    If you're running nginx you edit this: /etc/zabbix/nginx.conf

    change
    set $webroot '/usr/share/zabbix/';
    to
    set $webroot '/usr/share/zabbix/ui';

    systemctl restart nginx.service

    Comment

    • nict
      Junior Member
      • Dec 2024
      • 1

      #3
      I'm also having this problem upgrading from 7.0.6 to 7.2. However, I am using apache as the webserver. Unfortunately, the resolution suggested in the screen shot posted above does not help. For example, /etc/httpd/conf.d doesn't exist either before or after the upgrade process. Also, the webserver service is apache2, not httpd.

      Comment

      • mmarbury
        Junior Member
        • Feb 2020
        • 8

        #4
        Originally posted by nict
        I'm also having this problem upgrading from 7.0.6 to 7.2. However, I am using apache as the webserver. Unfortunately, the resolution suggested in the screen shot posted above does not help. For example, /etc/httpd/conf.d doesn't exist either before or after the upgrade process. Also, the webserver service is apache2, not httpd.
        Does your install include:

        Code:
        /etc/zabbix/apache.conf
        ?

        It's been a long time since I've installed the server using Apache but I bet that's the file you need to edit. If not that then maybe /etc/zabbix/httpd.conf. But if you have a conf file in /etc/zabbix, edit that because the install creates a web server conf file in /etc/apache/, /etc/apache2 or /etc/httpd that is just a sym link to that conf file in /etc/zabbix/

        Comment

        • tcweb
          Member
          • Jun 2024
          • 35

          #5
          I ran into this as well (ubuntu and apache).

          I found the config file, and it looked correct, so I think the installation scripts must have made the proper edits. I restarted apache, and everything worked. All I can figure is that the timing of the installation steps was off, or it missed a step.

          # systemctl restart apache2

          Comment

          • thefreshera
            Junior Member
            • Jan 2025
            • 1

            #6
            Hi, I have a similar issue. I upgraded to 7.2 and got the correct "Manual Intervention" instructions for nginx (basically sed's /usr/share/zabbix to /usr/share/zabbix/ui in the /etc/nginx/conf.d/zabbix.conf file. However, I'm now getting a default nginx 404 after logging into Zabbix. Do you have any ideas? Did I miss a /ui update in some conf file somewhere? I also do not have that relevant conf file in /etc/zabbix. Thanks!

            Comment

            • wham6264
              Junior Member
              • Jan 2025
              • 1

              #7
              I am having this same error and I cannot solve it.

              Using Apache2.

              I don't have an /etc/http folder.

              I do have an /etc/apache2/conf-available and /etc/apache2/conf-enabled.

              Here's the configuration file:

              Code:
              # Define /zabbix alias, this is the default
              <IfModule mod_alias.c>
                  Alias /zabbix /usr/share/zabbix/ui
              </IfModule>
              
              <Directory "/usr/share/zabbix/ui">
                  Options FollowSymLinks
                  AllowOverride None
                  Order allow,deny
                  Allow from all
              
                  <IfModule mod_php.c>
                      php_value max_execution_time 300
                      php_value memory_limit 128M
                      php_value post_max_size 16M
                      php_value upload_max_filesize 2M
                      php_value max_input_time 300
                      php_value max_input_vars 10000
                      php_value always_populate_raw_post_data -1
                  </IfModule>
              
                  <IfModule mod_php7.c>
                      php_value max_execution_time 300
                      php_value memory_limit 128M
                      php_value post_max_size 16M
                      php_value upload_max_filesize 2M
                      php_value max_input_time 300
                      php_value max_input_vars 10000
                      php_value always_populate_raw_post_data -1
                  </IfModule>
              </Directory>
              
              <Directory "/usr/share/zabbix/ui/conf">
                  Order deny,allow
                  Deny from all
                  <files *.php>
                      Order deny,allow
                      Deny from all
                  </files>
              </Directory>
              
              <Directory "/usr/share/zabbix/ui/app">
                  Order deny,allow
                  Deny from all
                  <files *.php>
                      Order deny,allow
                      Deny from all
                  </files>
              </Directory>
              
              <Directory "/usr/share/zabbix/ui/include">
                  Order deny,allow
                  Deny from all
                  <files *.php>
                      Order deny,allow
                      Deny from all
                  </files>
              </Directory>
              
              <Directory "/usr/share/zabbix/ui/local">
                  Order deny,allow
                  Deny from all
                  <files *.php>
                      Order deny,allow
                      Deny from all
                  </files>
              </Directory>
              
              <Directory "/usr/share/zabbix/ui/vendor">
                  Order deny,allow
                  Deny from all
                  <files *.php>
                      Order deny,allow
                      Deny from all
                  </files>
              </Directory>
              ​
              I restarted the whole OS multiple times just in case I missed anything and it's still not working. Any hints?

              Comment

              • iso81tr
                Junior Member
                • Dec 2023
                • 2

                #8
                Hello. web pages path changed at Zabbix 7.2 version. So You nessesray following files /etc/apache2/sites-available/000-default.conf and /etc/apache2/sites-enabled/000-default.conf into row "DocumentRoot /usr/share/zabbix" change it "DocumentRoot /usr/share/zabbix/ui". then systemctl restart apache2.service, systemctl restart zabbix-web-service.service

                Comment

                • roteki
                  Junior Member
                  • Oct 2024
                  • 11

                  #9
                  Hi, I have taken all the steps and recommendations from this conversation but still have the same problem: "Manual intervention is required to complete upgrade!"
                  I am using Ubuntu server 22.04 and Apache and I did the upgrade from 7.0.6

                  Comment

                • iso81tr
                  Junior Member
                  • Dec 2023
                  • 2

                  #10
                  https://medium.com/@michael.giesen/z...2-52189fbdaaec

                  Comment

                  Working...