1. VW4
  2. Running the VaultWiki Upgrade Script
Printable Version

https://www.vaultwiki.org/pages/Help/VaultWiki-4-Manual/VW4:Running-the-VaultWiki-Upgrade-Script
This page is a chapter in VW4 Upgrading VaultWiki

This page has been seen 1,066,559 times.

    • Created by on
      Last updated by on
With the newest VaultWiki files uploaded to your web server, you can now proceed to run the upgrade script.

How to Access the Upgrade System

Unlike many other forum modifications, the upgrader runs as a separate PHP script using your web browser. These instructions vary slightly for each forum software you may be using with VaultWiki.

Instructions for XenForo 1.x

In the XenForo Admin Control Panel, go to the Wiki tab and click Maintenance > Run Upgrade Script. If you cannot find this menu item, then the VaultWiki add-on is currently disabled in XenForo's "List Add-ons" page. Re-enable VaultWiki to access its admin controls, then go to the Wiki tab and click Maintenance > Run Upgrade Script.



Instructions for XenForo 2.x

In the XenForo Admin Control Panel, go to Add-ons > Add-ons. In the sections Upgradeable Add-ons, locate VaultWiki and click the Upgrade button.

Warning:In XenForo versions 2.0.11 and earlier, do NOT use XenForo 2.x's CLI tool to upgrade VaultWiki via the command line. Due to a bug in XenForo's CLI script, the upgrade could fail and damage your database.

In XenForo versions 2.0.12 and later, you may use XenForo 2.x's CLI tool to upgrade VaultWiki via the command line.

Instructions for vBulletin

To start the upgrade process, open your browser and visit the HTTP address of your forum directory, followed by /vault/install/index.php

Run the Upgrade Script

The first thing you will see from the upgrade script is a log-in prompt, asking you to log into your forum's admin area. This is done to prevent other users from accidentally stumbling across the upgrade script and running it without your knowledge.

When you have entered your forum user name and password, hit the "Login" button, and you will be taken to the landing page of the upgrade script.

Warning:Certain browser plug-ins can have an adverse effect on the VaultWiki installation and upgrade scripts. We recommend that all browser plugins be disabled while running installation and upgrade scripts for VaultWiki.

The first page of the upgrade script will greet you, while the following steps will update your database to run the new version of VaultWiki. Click "Upgrade" to begin and the upgrade should proceed automatically.

If a prompt appears, fill in any additional information as needed. Otherwise, the automated process should continue unhindered until the upgrade is complete.

Note:If your upgrade is not successful or seems to hang at any point, please contact VaultWiki support before making another attempt or trying to reinstall VaultWiki. Trying to install or upgrade from an incomplete VaultWiki upgrade could damage your database.

When the upgrade is complete, VaultWiki will be automatically re-enabled, you will be taken to VaultWiki's Admin Panel.