Here we discuss the steps to upgrade the NopCommerce to a higher version as NopCommerce doesn’t support automatic upgrades so you have to take a manual approach.
1) Create and download a backup of your NopCommerce site including the database so that you can recover your site in case of any migration failure.
2) After that you have to run SQL upgrade scripts, For example, if your current version is 4.10 and the latest available version is 4.40, then you have to upgrade to 4.10, then to 4.20, then to 4.30, then to 4.40. So download the required upgrade scripts from the URL mentioned below
https://www.nopcommerce.com/en/download-nopcommerce
3) Delete all the files of the previous version except App_Data\Settings.txt and App_Data\InstalledPlugins.txt
4) Download the latest version of nopcommerce from the official site link mentioned above and upload the new files.
5) Rename the following files:-
setting.txt to dataSettings.json and InstalledPlugins.txt to plugins.json (for 4.00 and 4.10, rename InstalledPlugins.txt to installedPlugins.json).
6) Once you have done this you have to update the content to the JSON structure.
NOTE: if your site contains pictures on the filesystem then you have to back up them in (\wwwroot\Images\) and copy once the upgrade is finished.
You can restore your backup and replace the files with the previous version.