Sunday, June 4, 2017

Updating Magento 2.1.x to a Newer Version

To update Magento 2.1.x to a newer version, say your current Magento installation is version 2.1.2 Community Edition, and you would like to update your Magento to the latest version 2.1.3 Community Edition, then use the following commands. Firstly open up your terminals and execute command as below:

Note: Don't use sudo while using composer for the reasons best explained here:

 composer require magento/product-community-edition 2.1.3 --no-update  
 composer update  
 rm -rf var/di/* var/generation/*  
 php bin/magento cache:clean  
 php bin/magento cache:flush  
 php bin/magento setup:upgrade  
 php bin/magento setup:di:compile  
 php bin/magento indexer:reindex  

Same method can be applied for Updating Magento from:
  • Magento 2.1.3 to Magento 2.1.4
  • Magento 2.1.4 to Magento 2.1.5 and so on...

Friday, June 2, 2017

[SOLVED] - Unable to Delete Messages in Thunderbird Email Client

If you cannot delete messages in Thunderbird, it may be caused by a corrupted trash folder.

Here is how to delete the corrupted trash folder and create a new one:
  1. First, open your Profile folder:
    • At the top right of the Thunderbird window, click the menu button 
      New Fx Menu , then select Help, and then Troubleshooting Information. The Troubleshooting Information tab will open.
    • Under the Application Basics section, click on Open Directory. A window with your profile files will open.
  2. Close Thunderbird.
  3. Open the Mail (or ImapMail) folder in your file manager (according to whether you are using POP or IMAP with the affected account).
  4. Open the folder with your incoming mail server name (something like or
  5. Select the Trash and Trash.msf files and delete them. In some accounts, these may be named Bin or Deleted.
  6. Restart Thunderbird.
    • If you are using IMAP, a new Trash folder will be automatically created by Thunderbird.
    • If you are using POP:
      1. In the folder list, right-click on your account name and select New Folder....
      2. Enter Trash as folder's name and confirm by clicking on Create Folder.
The trash will reappear and you will be able to delete mail again.


Saturday, May 27, 2017

[SOLVED] - VirtualBox Not Updating Due To Error "Breaks existing package..."

The 'Breaks existing package' error usually happens when you are trying to update VirtualBox from say version 5.0.x to 5.1.x. To resolve this issue you will first have to uninstall VirtualBox. Open your terminal and enter the commands below:

 sudo apt-get purge virtualbox-*  

Now install VirtualBox using the code below. But first find the version number of the latest VirtualBox package available by visiting the following page: When I checked the latest VirtualBox version available was: VirtualBox 5.1.22.

 sudo apt-get update  
 sudo apt-get install virtualbox-5.1.22   

After upgrading VirtualBox you will also have to update your Extension Pack. You can download the Extension Pack from the aforementioned page.

[SOLVED] - VirtualBox Not Updating Due To Error "Breaks existing package..."

Thursday, May 18, 2017

[SOLVED] - Disable Merged CSS & JavaScript using phpMyAdmin in your Magento Installation

If your Magento site is malfunction because of enabling CSS & JavaScript merging and minification, then you can apply the solution explained in the following page:

Monday, May 15, 2017

[SOLVED] - Unable to find expected entry 'universe/source/Sources' in Release file (Wrong sources.list entry or malformed file)

Because of repeatedly getting the following error,
 W: Failed to fetch  Unable to find expected entry 'universe/source/Sources' in Release file (Wrong sources.list entry or malformed file); I was unable to update my source list and thus unable to install softwares from the terminal. Finally, today I managed to solved this issue and also was able to update my apt source list.

1. Open your Unity Dash & type update & select 'Softwares & Updates' as shown in the image below:

Solve - Wrong sources.list entry or malformed file issue
Click image to enlarge
2. Click 'Download from' and choose 'Other'

3. Click 'Select Best Server'. Ubuntu will take some time to select the best server for you. Accept it.

4. Now try running the software update again. It should work.

5. If it does not go through steps 1-4 again. This time Ubuntu will (hopefully) select a different server as the 'Best server'. Try software update again.

- With inputs from:

Thursday, May 11, 2017

[SOLVED] - Web Setup Wizard/Component Manager Not Working - Magento 2

The first thing you need to do when you are unable to access your Component Manager page in your Magento 2x installation is to press F12, Click on Console & view the error message displayed there. Please look at the image below:

[SOLVED] - Web Setup Wizard/Component Manager Not Working - Magento 2
Click on image to enlarge
The message displayed in red are the error messages(s). With this error message in hand you will begin to get some idea about the direction you need to take to troubleshoot.

[SOLVED] - Web Setup Wizard/Component Manager Not Working - Magento 2
Click on image to enlarge
In my case, I copied the link that was causing the Error & tried to view it in the browser. When I did that I got new error messages generated as below:

Click on image to enlarge
This was the error I was getting precisely:

  Failed to execute git clone --mirror '' '/var/www/html/var/composer_home/cache/vcs/'  

I checked the 'composer.json' file in the Magento root directory and found the above git command and simply removed it. & voila!, my problem got solved.

Top Magento Hosting:

Top 5 Posts (Weekly)

Lets Connect: