Upgrading from WISECP 3.x to 5.x

3.3k переглядів Markdown

The 3.x to 5.x upgrade moves a WISECP 3.x installation to WISECP 5 in place, keeping your customers, services, invoices and settings.

Opening the Screen

The upgrade starts in the 3.x admin panel under Help → Updates. It needs 3.x release 3.1.9.8.3 or newer. On an older 3.x the Updates page offers that release first; the 5.0 line appears after you apply it. If the page moves on to the 5.0 line right after applying 3.1.9.8.3, it prepares the wizard. Open the link it shows to continue.

The card WISECP 5.0 is ready for this installation carries the button Start the 5.0 upgrade wizard. It opens upgrade.php in your installation root with a signed link that expires with the day.

How the Upgrade Runs

The wizard has two parts: a preparation screen that fetches the 5.x package, then the steps that carry out the upgrade. Nothing in your 3.x installation changes before the Upgrade step. To move to a new server at the same time, install 5.x there and use Import Tools instead.

Preparation

Three rows run on their own. The licence service names the 5.0 build you may install. The package is downloaded to your server and unpacked into _wisecp_v5_stage next to your installation. A failed row shows its reason and a Try again button. When all three pass, the wizard opens.

The Steps

StepWhat happensWhat you do
AgreementShows the terms of service.Tick the acceptance box, then click Continue.
CheckChecks the server, the database, the licence and free disk space, and rehearses the migration without changing anything. It appears only when something blocks the upgrade; each card shows what was detected and how to fix it.Fix each card, then click Check Again. When nothing blocks, the wizard moves on to Confirm.
ConfirmAsks you to confirm the backup.Tick the backup confirmation, then click Start the Upgrade.
UpgradeShows a progress bar with the current phase. The site is in maintenance mode until the health check passes.Keep the page open. Nothing to click.
FinishedConfirms the site and the panel answer, then deletes the upgrade files.Click Go to the Admin Panel and sign in as before.

What Is Carried Over

Customers, services, orders, invoices, tickets, uploads, visitor statistics, and email and SMS logs stay where they are. Old messages that carried a secret, such as a verification code or a reset link, lose their content. A service set to Custom Price on 3.x keeps it and renews at its own amount. Settings, encryption keys, module settings, notification preferences and the admin folder name are carried into 5.x. Passwords keep working. An account whose password was kept in an older or imported format needs a new password: set it in the 3.x panel before the upgrade, or reset it from the sign-in page afterwards.

The logos you uploaded on 3.x (site, client area and email logos, and the favicon) are carried over; the default logos that came with 3.x are not, so 5.x shows its own. The colors your 3.x site showed move to Site Colors on the Logo/Branding tab. If they look pale, click Pick from logo there, then click Save Changes. Your contact address becomes the head office on the Contact page in place of the sample offices. The full-access administrator group receives the permissions 5.x added; a restricted group receives only the counterparts of those it had on 3.x.

Release 3.1.9.8.3 (Beta V23) or newer also carries three items. 3.x contract texts with real wording become contract pages, chosen in Contract Settings on the Contracts screen if it was empty. Easy Order turned off becomes Require verification before ordering turned on in Client Membership Settings. Automation tasks you turned off stay off, and Delete From Server waits for Confirm Settings on the Automation screen.

What Is Not Carried Over

Nothing on this list is deleted; it stays in the backup folder.

Website theme3.x themes do not run on the new template engine. The site opens with the default 5.x theme.
Modules without a 5.x counterpartTheir settings are not migrated. If extensions or domains are assigned to such a domain registrar module, Help → Health Status lists it with their count. Until the 5.x version of the module is installed, registrations, transfers and renewals for those domains stop.
Languages 5.x does not include5.x runs only the languages in its own package; a new language cannot be added from the panel. A 3.x language missing from the package is not carried over, and Health Status lists it after the upgrade. Visitors who chose it see the site in your default language. If it is your default, the site and the client area open in English. Stay on 3.x until the language is included if your clients need it.
Code customisationsThe edits folder and edited core files do not apply to 5.x.
Notification templatesCustomised templates and email designs are replaced by the 5.x set, which you can edit in the panel.
.htaccess additionsYour own rules stay in the 3.x .htaccess in the backup folder; add the ones you need again. Only cPanel's own blocks are copied, so the PHP version stays the same. A PHP handler line you wrote yourself blocks the upgrade (see Things to Watch).

Before You Start

A full database backupRequired. The wizard does not take one. Take it from your hosting panel or with mysqldump and check that the file is complete.
A 5.x ready serverPHP 8.2 or newer with ionCube Loader, as in System Requirements. The Check step measures both.
Free disk spaceCount about twice the size of the site plus the database.
HTTPSThe site has to answer over HTTPS with a valid certificate. Signing in to 5.x needs it, so the Check step blocks the upgrade without it.
A licence on recordThe 3.x installation must hold its licence key. Open the 3.x panel once if the Check step reports no key.
A quiet momentThe site is unavailable during the Upgrade step, usually a few minutes.

Tasks

Run the Upgrade

  1. Take the database backup and confirm it restores.
  2. In the 3.x panel open Help → Updates, apply 3.1.9.8.3 if it is offered, then click Start the 5.0 upgrade wizard.
  3. Let the preparation finish, tick the acceptance box and click Continue. If the Check step appears, fix each card and click Check Again.
  4. Tick the backup confirmation and click Start the Upgrade. The progress bar runs through to Upgrade Complete.

After the Upgrade

  1. Sign in to the 5.x panel with the same email and password as before.
  2. Update the cron job: the 5.x command differs from the 3.x one, and Settings → Cron Jobs shows it.
  3. Pick and configure a website theme, check the modules that had no 5.x counterpart, and review the notification templates.
  4. If the dashboard shows a price cycle notice, see Product Pricing.

Continue After an Interruption

  1. If the connection drops, open the page again: the upgrade resumes where it stopped.
  2. If a stage fails, a card and the log open under the progress bar. Fix the cause and click Retry; finished stages are not repeated.

If the Wizard Session Ends

  1. On the Your wizard session has ended notice, open the wizard again from the Updates page of the 3.x panel. If the 3.x panel no longer opens, use the link you first opened, the one containing key=. The upgrade resumes where it stopped.
  2. If PHP Cannot Start a Session appears, correct the session folder it shows or the PHP version in your hosting panel. Open the link again and the wizard opens.

Go Back to 3.x

  1. Move the 5.x entries out of the root and put the contents of the backup folder back. The folder holds a notes file with the exact steps.
  2. Move uploads and visitor statistics back from the 5.x tree.
  3. Restore the full database backup you took before the upgrade. The site answers as 3.x again.

Things to Watch

Without the database backup there is no way back

The migration renames tables, converts every MyISAM table to InnoDB and writes values that 3.x cannot read. The files can be put back in a minute; the database only from your backup.

Keep the backup folder for 72 hours

Keep the 3.x backup folder and the database backup for at least 72 hours. Data created in 5.x after the upgrade cannot be carried back to 3.x.

Key active on another installation

The Check step shows this when the same key is registered to another address, and the upgrade does not start. Ask support to reissue the licence for this address, then click Check Again.

A PHP handler line you added yourself

An AddHandler line you wrote into .htaccess is not carried over, and the upgrade does not start while it is there. Choose the PHP version in the MultiPHP section of your hosting panel or remove the line, then click Check Again.

Ця стаття була корисною?

Дякуємо за відгук!

Досі потрібна допомога?

Наша служба підтримки на зв’язку цілодобово з усього, чого ви не знайшли вище.