• Register
    • Help

    striker  0 Items
    Currently Supporting
    • Home
    • News
    • Forum
    • Wiki
    • Support
      • Manage Subscriptions
      • FAQ
      • Support For
        • VaultWiki 4.x Series
        • VaultWiki.org Site
    • What's New?
    • Buy Now
    • Manual
    • 
    • Support
    • VaultWiki 4.x Series
    • Bug
    • Upgrader seems to hang on a step but in reality is processing next steps

    1. Welcome to VaultWiki.org, home of the wiki add-on for vBulletin and XenForo!

      VaultWiki allows your existing forum users to collaborate on creating and managing a site's content pages. VaultWiki is a fully-featured and fully-supported wiki solution for vBulletin and XenForo.

      The VaultWiki Team encourages you to join our community of forum administrators and check out VaultWiki for yourself.

    Issue: Upgrader seems to hang on a step but in reality is processing next steps

    • Issue Tools
      • View Changes
    1. issueid=6002 March 30, 2020 8:06 PM
      Alfa1 Alfa1 is offline
      Distinguished Member
      Upgrader seems to hang on a step but in reality is processing next steps

      On various steps the upgrader seemed to hang. The process wheel kept spinning, but the process block does not load new events and the process bar is stuck on the same percentage. Yet, on refresh the process turns out to be further ahead with next steps and a higher percentage.
    Issue Details
    Issue Number 6002
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category Install / Upgrade
    Status Fixed
    Priority 5 - Minor Bugs / Small Tweaks
    Affected Version 4.1.0 RC 2
    Fixed Version 4.1.0 RC 2
    Milestone (none)
    Software DependencyXenForo 1.x
    License TypePaid
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags (none)




    1. March 30, 2020 8:18 PM
      pegasus pegasus is offline
      VaultWiki Team
      This might happen if the XHR process returns a value that is not recognized (such as an echo or var_dump). Without knowing the output of the XHR, there's not much that can be done about this.

      This also might occur if your PHP process times out, or if your PHP process runs out of memory. We don't really have much control over these situations. In these cases, you probably won't notice any problems if you have php.ini's display_errors disabled, and even if it's enabled, it's unlikely to be passed to the XHR process in a way that it understands.

      And without knowing the process block contents, we don't know what needs to be tweaked to avoid these situations on your installation. When that happens, you'll have to restart the process.
      Reply Reply  
    2. March 30, 2020 9:11 PM
      Alfa1 Alfa1 is offline
      Distinguished Member
      It keeps happening on this step:
      Updating data in table: xf_user_alert_optout(399636)
      It quickly processes a number of rows. Then gets stuck on one. Until I refresh and restart the upgrader. Im not certain if its actually processing further or if its really stuck. It takes really long. Maybe because I have a huge userbase? It has been processing this for more than an hour now.
      Reply Reply  
    3. March 30, 2020 9:49 PM
      Alfa1 Alfa1 is offline
      Distinguished Member
      Now there no longer is a process bar or process block. The process information is displayed in the xf page. But also stops after some entries. It seems the process has restarted. It was at 96% and then went back up from 3% several times. It looks like the same steps are repeated if I restart the process. Until it gets stuck again. There are no errors.
      Reply Reply  
    4. March 30, 2020 11:20 PM
      pegasus pegasus is offline
      VaultWiki Team
      It processes xf_user_alert_optout entries in batches of 10000. If it's peak time, perhaps that's too much and it gets stuck waiting for rows to unlock (maybe if multiple users in the same batch are active at the same time). We could lower it to something more like 2000, but it would take more batches to complete. However, each query would be less expensive so maybe it would be quicker in the long run.

      You seem to be past this step already, but I'd be interested to hear your thoughts.
      Reply Reply  
    5. March 31, 2020 6:25 AM
      Alfa1 Alfa1 is offline
      Distinguished Member
      CPU and load were very low. If thats irrelevant then I think lowering batch quantities seems a good idea.
      But other than that issue, it seems the layout of the upgrader is broken.

      I was unable to upload a screenshot to the broken vbulletin attachment system, but here is a screenshot:
      https://imgur.com/a/bUiF574
      Reply Reply  
    6. March 31, 2020 6:55 AM
      Alfa1 Alfa1 is offline
      Distinguished Member
      The upgrade is complete now.
      Reply Reply  
    7. March 31, 2020 10:17 AM
      pegasus pegasus is offline
      VaultWiki Team
      You shouldn't encounter the broken layout again. It looks like it's limited to the following situation:
      - Started upgrading from 4.0.x, AND
      - Finished the upgrade steps for 4.1.0 Alpha 1, AND
      - Restarted the upgrader during some other upgrade step, AND
      - The templates for 4.1.x were never imported yet.

      I've made some tweaks to try to prevent this, since we should have access to the template-version in this scope.

      Also reduced the batch size on xf_user_alert_optout for the future as discussed.
      Reply Reply  
    + Reply

    Assigned Users
    Loading Please Wait
    Tags
    Loading Please Wait
    • Contact Us
    • License Agreement
    • Privacy
    • Terms
    • Top
    All times are GMT -4. The time now is 1:00 AM.
    This site uses cookies to help personalize content, to tailor your experience, and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Learn more… Accept Remind me later
  • striker
    Powered by vBulletin® Version 4.2.5 Beta 2
    Copyright © 2025 vBulletin Solutions Inc. All rights reserved.
    Search Engine Optimisation provided by DragonByte SEO (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
    Copyright © 2008 - 2024 VaultWiki Team, Cracked Egg Studios, LLC.