• Register
    • Help

    striker  0 Items
    Currently Supporting
    • Home
    • News
    • Forum
      • Try XenForo Demo
      • New Posts
      • FAQ
      • Calendar
      • Community
        • Groups
        • Albums
        • Member List
      • Forum Actions
        • Mark Forums Read
      • Quick Links
        • Today's Posts
        • Who's Online
      • Sponsor
        • Sponsor a Feature
        • List of Donors
    • Wiki
    • Support
    • What's New?
    • Buy Now
    • Manual
    • 
    • Forum
    • VaultWiki How-Tos
    • VaultWiki Questions
    • How can we use the CLI upgrader in XF2?

    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.

    Results 1 to 3 of 3

    Thread: How can we use the CLI upgrader in XF2?

    • Thread Tools
      • Show Printable Version
    1. May 1, 2021 #1
      Alfa1
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • View Articles
      Alfa1 is offline
      Distinguished Member
      Join Date
      September 26, 2007
      Posts
      597
      Rep Power
      285

      How can we use the CLI upgrader in XF2?

      Upgrading VW on a big board takes very long. Thankfully XF2 has a CLI script. This will save a lot of time. How can we use the CLI upgrader in XF2? The VW manual doesn't describe this.
      Reply With Quote Reply With Quote

    2. May 1, 2021 #2
      pegasus
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • Visit Homepage
      • View Articles
      pegasus is offline
      VaultWiki Team
      Join Date
      March 28, 2004
      Location
      New York, NY
      Posts
      2,959
      Blog Entries
      18
      Rep Power
      687
      Please follow XF2's instructions for upgrading add-ons using CLI. The addon-id is "vw/vw"

      Please be advised that CLI upgrades have been known in the past to trash the wiki database. This was due to bugs in XenForo's CLI upgrader -- particularly, when a fatal or database error occurred, it continued the upgrade anyway. They did eventually fix that bug, but not before lowering confidence in CLI. Make sure you are using the latest stable PHP version you can that is supported by all your add-ons (I think the same problem would occur if PHP < 7.1), and always test your CLI upgrade result fully before going live, in case you need to roll back.

      If the CLI upgrader has changed significantly over the life of XF 2.x, I cannot guarantee that VaultWiki's implementation of it still works as intended. It is not tested frequently.

      I am not sure how much faster CLI upgrading would be over the non-CLI upgrade. I suppose you cut out some overhead and waiting caused by issuing a new HTTP request for each step, whereas the CLI proceeds to the next step in the same command. I'm not sure how much this adds up to in practice. I suppose if you have many versions to go through, or thousands of batches to perform, it could save a minute or two.
      - lead developer for VaultWiki
      Reply With Quote Reply With Quote

    3. May 1, 2021 #3
      Alfa1
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • View Articles
      Alfa1 is offline
      Distinguished Member
      Join Date
      September 26, 2007
      Posts
      597
      Rep Power
      285
      Thanks for explaining. Its just that upgrades can take many hours. For example currently I am 4 hours into the upgrade.
      None the less, Im not entirely confident about the CLI process now. So I will wait it out.
      Reply With Quote Reply With Quote

    Tags for this Thread

    cli, manual, script, upgrader, xf@2

    View Tag Cloud

    Bookmarks

    Bookmarks
    • Submit to Digg Digg
    • Submit to del.icio.us del.icio.us
    • Submit to StumbleUpon StumbleUpon
    • Submit to Google Google

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •  
    • BB code is On
    • Smilies are On
    • [IMG] code is Off
    • [VIDEO] code is
    • HTML code is Off

    Forum Rules

    • Contact Us
    • License Agreement
    • Privacy
    • Terms
    • Top
    All times are GMT -4. The time now is 7:23 PM.
    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.