Categories: Magento News

Magento 2 Tutorial: Theme Update

In this tutorial, we are presenting you the way to update Magento 2 theme.

I. Proper preparation for update:

Before updating magento 2 theme, we need to have a well preparation including 4 small steps below:

  1. We suggest duplicating your live store on a development store and trying to update Venustheme version on it in advance.
  2. Backup database of your site: Go to admin > System > Backup > Backup Database, then input file name and submit it.
  3.  Backup your modified files of the theme and extensions: app/code/Ves/ and app/design/frontend/Venustheme
  4. Disable all cache related section that you have in your magento.

II. Detailed process for Theme File Updating:

After the preparation stage, now are you willing to update to last version of theme files?

Here is the best part:

In this tutorial, we will use the theme_files.zip to update the new version for the site.

Step 1: Download latest theme package on our site or on Themeforest.net. Then decompress the package on your PC.

 Step 2: Decompress the file “Theme Files/magento 2.1.0/theme_files.zip” – in the file we stored theme files, theme’s extensions files, sample theme media files.

 Step 3: Upload the files in theme_files.zip which you just decompressed into the webroot folder in your site (it will override the app/ and pub/ folders in your site).

 Step 4: Open SSH Terminal of your site, then run there commands:

php bin/magento setup:upgrade --keep-generated

php bin/magento setup:static-content:deploy

php bin/magento cache:clean

But there’s a catch:
Sometimes your site is broken, after run this command, it’s because of you ran this command with the incorrect user. If your site was broken, it’s very important to set the file’s permissions and ownership correctly, after run this command line. You can refer this command chown -R : .
Typical examples:

chown -R apache:apache /var/www/html/magento2/venustheme
chown -R www-data:www-data /home/domain/public_html

Related blogs you may be interested in:

Phuong Pham

Recent Posts

6 Smart Strategies High-Performing Brands Use to Succeed in a Digital Marketing Campaign

Today’s digital landscape is more dynamic and competitive than ever, with countless brands trying to…

3 days ago

Audioenhancer.ai Review: A Must‑Have for Content Creators? | 2025 Guide with Top Features

Audioenhancer.ai Review: High‑quality audio makes videos, podcasts, and voice‑overs sound professional and keeps listeners engaged.…

4 days ago

7 WooCommerce Menu Cart Features That Boost Sales and Improve Checkout

Running an online store takes more than just having nice products because the way your…

4 days ago

10 Ways Tech Candidates Can Make Their Strengths Obvious to Hiring Managers

Can Make Their Strengths Obvious – this is what every tech candidate and developer must…

4 days ago

Why WooCommerce Testing Is Crucial for eCommerce Success in 2025

In the fast-paced world of eCommerce, ensuring your online store operates seamlessly is no longer…

1 week ago

Building Scalable Music Streaming Apps with PWA and Magento Integrations for 10x Growth

Music streaming is more than just about playing songs; it's more about sharing a better…

1 week ago