CubCart 6.2.2 Released — Here’s How to Install / Upgrade on Ubuntu 16.04 | 18.04 LTS

template 1599665 640

CubeCart, an open source eCommerce platform based on the LAMP / LEMP stack has recently been updated to version 6.2.2 and this brief tutorial shows students and new users how to install / upgrade on Ubuntu servers.

This is a maintenance release which also patched a new XSS vulnerability found with previous version. If you haven’t upgraded your store, you’re encouraged to upgrade to this version as soon as possible.

Also included with this update is PHP 7.2 support with OpenSSL support to replace Mcrypt, Caching optimization and other improvements and bug fixes.

For more about this release, please visit its changelog page.

Below are some of the bugs and improvements added to this release:

  • Enhancement to SEO PCRE Pattern
  • Sale Items shows nothing for global sale
  • CubeCart_tax_rates table structure optimization
  • Can’t use special characters in password for SMTP server
  • Cookie Consent Log shows on add customer

Below you’ll find two posts that show you how to install CubeCart on Ubuntu with Apache2 and Nginx support. If you want to learn how to install CubeCart, select either one that works in your enviroment.

Option 1: Install CubeCart on Ubuntu with Apache2 Support

If you want to learn how to install CubeCart on Ubuntu with Apache2 support, select the post below:

Option 2: Installing CubeCart on Ubuntu with Nginx Support

For those who want to run CubeCart with Nginx support instead, run the guide below. It shows you how to install CubeCart with Nginx and PHP 7.2-FPM support.

Option 3: Upgrading CubeCart

If you already have CubeCart installed and you want to upgrade, then follow the steps below.

First you’ll need take complete backup of your database and website content. If you don’t know how, search our blog on how to backup MySQL or MariaDB.

Then shutdown your webserver.

After that, run the commands below to backup your current CubeCart web folder.

sudo cp -rf /var/www/html/cubecart /var/www/html/cubecart_bak

After that, download the latest version of CubeCart packages then copy them into the current cubecart directory. this will overwrite current files and folders.. always check for the latest version and update the highlighted line below.

cd /tmp/
sudo git clone --branch 6.2.0-branch cubecart

Then run the commands below to update your current root directory with newer files.

sudo cp -rf cubecart/* /var/www/html/cubecart/

Rename the new admin folder created.

sudo mv /var/www/html/cubecart/admin /var/www/html/cubecart/admin_old

After that, start up the webserver.

Then browse to the server IP or hostname followed by setup. you should see the upgrade page.
CubeCart install upgrade

That’s it!

You’ve successfully installed / upgraded CubeCart.

You may also like the post below:

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.