Announcement

Collapse
No announcement yet.

Upgrade Failed from 4.5.4 to 5.5.1

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Upgrade Failed from 4.5.4 to 5.5.1

    My upgrade failed, and my forum is in an unknown state.

    I commenced the upgrade, from 4.5.4 to 5.5.1 and it timed out on Step 2 (XML) for 5.5.1

    You can see the image below.

    What setting do I need to change ? I tried re-running it again, but with the same error.
    The forum is offline currently, so am hoping for some guidance, before I restore from a backup,

    Thanks
    Mark
    Webmaster - Mustang Owners Club of Great Britain

  • #2
    Quick Google search, and followed Post 11 on this thread.

    https://www.vbulletin.com/forum/foru...ading-to-5-4-1

    This fixed it, Looks like I am back and complete.
    Webmaster - Mustang Owners Club of Great Britain

    Comment


    • #3
      Who is your hosting provider?

      What version of PHP are you using?

      What are the values for max_execution_time, max_input_time, memory_limit, and post_max_size? You can see these values in the AdminCP under Maintenance -> View PHP Info.
      Translations provided by Google.

      Wayne Luke
      The Rabid Badger - a vBulletin Cloud customization and demonstration site.
      vBulletin 5 Documentation - Updated every Friday. Report issues here.
      vBulletin 5 API - Full / Mobile
      I am not currently available for vB Messenger Chats.

      Comment


      • #4
        My hosting Provider is Nethosted in the UK, and they have been my provider for the last 15 years, so this is the first time an upgrade has failed.
        I specifically upgraded to PHP 7.1 to facilitate this upgrade.
        Would my Admin CP values be impacted by the code I added ?
        Webmaster - Mustang Owners Club of Great Britain

        Comment


        • #5
          Adding that code could have your site use more resources than your hosting company likes. The information asked for is troubleshooting information so not only can we solve the issue the correct way but we can alter the installation/upgrade scripts to work better in the future. It is basic information that would improve your experience. I am not sure why your defensive about it.
          Translations provided by Google.

          Wayne Luke
          The Rabid Badger - a vBulletin Cloud customization and demonstration site.
          vBulletin 5 Documentation - Updated every Friday. Report issues here.
          vBulletin 5 API - Full / Mobile
          I am not currently available for vB Messenger Chats.

          Comment


          • #6
            Hi Wayne,
            Not defensive about the code at all, it got me out of a hole. And indeed in order for you to troubleshoot the real issue, the 2 lines of code I added need to be removed, and then I can check the settings for you.
            The only piece I stated about my hosting company running the site for 15 years, is they are very very good, and help solve any issue I get, very quickly.
            I suspect by removing the code, the 5.5.1 install will still work, it addressed the timeout issue that i encountered in the upgrade.
            The move from VB4 to VB5 was done in Jan 2019, as part of a paid service from yourselves. I would have imagined anything untoward from a config perspective would have been picked up by Trevor.
            I will message once the code has been removed,
            Regards
            Mark
            Webmaster - Mustang Owners Club of Great Britain

            Comment


            • #7
              Code lines removed.
              From the ADMIN CP:

              What version of PHP are you using?
              PHP Version 7.1.28
              What are the values for max_execution_time, max_input_time, memory_limit, and post_max_size? You can see these values in the AdminCP under Maintenance -> View PHP Info.
              max_execution_time 300 300
              max_input_time -1 -1
              memory_limit 128M 128M
              max_execution_time 300 300
              post_max_size 8M 8M
              Regards
              Mark
              Webmaster - Mustang Owners Club of Great Britain

              Comment


              • #8
                Those values seem okay.

                What is the max_packet_size for MySQL? Though even if the old default of 1 MB, this should be sufficient for step 2. 1 MB can cause step 3 to fail though. Anyway, you can see the max_allowed_packet value in the AdminCP under Maintenance -> Diagnostics. Scroll down to System Information and set it to MySQL variables. Then submit that form.

                Do you have the XML library installed in PHP? Would be shown in the php info output. Should be installed by default but some servers turn it off for some reason.

                It is very odd that you're timing out on that step. Usually people time out on step 15, 16, or 22. We've applied some optimization for step 15 and step 16 should benefit from those. We've reconfigured step 22 and are applying optimizations in 5.5.2.
                Translations provided by Google.

                Wayne Luke
                The Rabid Badger - a vBulletin Cloud customization and demonstration site.
                vBulletin 5 Documentation - Updated every Friday. Report issues here.
                vBulletin 5 API - Full / Mobile
                I am not currently available for vB Messenger Chats.

                Comment


                • #9
                  When I try the Diagnostics > System Into, the screen comes back with no data.

                  From the Control Panel, could the setting be 256MB ?
                  Welcome to the vBulletin Admin Control Panel
                  Server Type Linux Data Usage 2.32 GB Users to Moderate 0 [View]
                  Web Server Apache (cgi-fcgi) Index Usage 1.11 GB Topics to Moderate 161
                  PHP 7.1.28 Attachment Usage 1,009.22 MB Posts to Moderate 102
                  PHP Max Post Size 8.00 MB Avatar Usage 8.67 MB Events to Moderate 0
                  PHP Maximum Upload Size 16.00 MB Profile Picture Usage 5.38 MB Messages to Moderate 1
                  PHP Memory Limit 128.00 MB Unique Members Today 75 New Topics Today 2
                  MySQL Version 10.2.9-MariaDB New Users Today 0 Number of Queued E-Mails 0
                  MySQL Packet Size 256.00 MB
                  xml

                  XML Support active
                  XML Namespace Support active
                  libxml2 Version 2.9.4
                  Does this indicate XML Library is installed ?

                  Webmaster - Mustang Owners Club of Great Britain

                  Comment


                  • #10
                    I am not sure why your system timed out at that step. Nothing in the settings indicates that it should while processing more intensive steps without issue.

                    We're removing orphaned Admin Help entries in an upcoming release. This should make this step even easier to process and reduce the likelihood of a timeout.
                    Translations provided by Google.

                    Wayne Luke
                    The Rabid Badger - a vBulletin Cloud customization and demonstration site.
                    vBulletin 5 Documentation - Updated every Friday. Report issues here.
                    vBulletin 5 API - Full / Mobile
                    I am not currently available for vB Messenger Chats.

                    Comment

                    Related Topics

                    Collapse

                    Working...
                    X