Blesta Guides update

Upgrade to Blesta 5.0.3 from 5.0.x

Firstly we need to download the patch file from: https://www.blesta.com/2021/02/23/blesta-5-0-3-patch-released/ so right click on Download 5.0.3 Patch or download it if your doing it via FTP / DirectAdmin.

 

SSH: 

unzip the patch version zip.

wget -N https://account.blesta.com/client/plugin/download_manager/client_main/download/178/blesta-5.0.0-5.0.3.zip
unzip blesta-5.0.0-5.0.3.zip

Remove conflicting files (sometimes you've edited something which has been updated.

\cp -rf ./blesta/* ./*
\chown -R username: ./*

chown is used if you're not using root as the username. It's recommended not to use root. Most people use www-data.

 

FTP:

  1. Extract your zip to your computer.
  2. Drag the files to be uploaded to your Blesta root on your server from the blesta folder.

 

DirectAdmin:

  1. Upload the zip to your blesta root via the DirectAdmin file manager.
  2. Extract the zip.
  3. Move the files from /blesta/ to your blesta root.

 

Upgrade:

Finally run the upgrade script:

 

FTP & DirectAdmin:

Go to https://yourblesta.com/admin/upgrade/ and click Continue with Upgrade and Upgrade and it should be completed.

 

SSH:

php ./index.php admin/upgrade
----------------------------------------
Blesta CLI Upgrader
----------------------------------------
Upgrade from 5.0.1 to 5.0.3? (Y/N): Y
1/1 [========================================] 100%
44/44 [========================================] 100%
17/17 [========================================] 100%
7/7 [========================================] 100%

Finished.

Your version may be 5.0.0 or 5.0.2 to 5.0.3. I skipped 5.0.2 by mistake 😂.

 

There you go, you're now on Blesta Version 5.0.3!

Michael Dance
Back to Blog