Jump to content

[UPGRADE TIPS]


Recommended Posts

Hello all.

I just wanted to give some tips on Upgrading. Moderators can also Add to this.

1) Make a Full BackUp of your mySQL Database and PrestaShop Files (Click to Learn How)
2) Make a test subdomain on your Server (contact your hosting provider if you need more information)
3) Use that Backup and make a Duplicate mySQL Database and link it to your Subdomain.
4) In your FTP, copy your FTP Backup into the corresponding subdomain file.
5) At this point you should have an exact replica of your PrestaShop store on a test subdomain

6)Make sure you edit the /config/settings.inc.php file of the new "Test" site to point to the new Database, otherwise it will be pointing to the same database as the live site, and mess up the tables.

7) Now you can TEST your upgrade without ever touching your live store.

 

This makes sense because you can know beforehand of any issues or errors that might arise during the upgrade process, before you make the changes to your live store. This way you can investigate the issue and find a solution and ideally solve it on your live store before upgrading.

Alternatively, you can copy your Database and PrestaShop files onto a local host, but this is not ideal as having it live on a test subdomain will give you the best results.

 

Also, in the modules/autoupgrade there is a file "error_log" . You can check this file to see what has gone wrong during the upgrade. 

I hope this helps. If you follow these instructions, there is minimal risk of upgrading to your current PrestaShop store.

 

For Official PrestaShop Upgrade Documentation, see this link, http://doc.prestashop.com/display/PS15/Updating+PrestaShop

  • Like 13
Link to comment
Share on other sites

1) Make sure you edit the /config/settings.inc.php file of the new "Test" site to point to the new Database, otherwise it will be pointing to the same database as the live site, and mess up the tables.

 

2) Make sure you know how to restore a backup of your site in case you need to (triple check the backup is full, for both the DB & file system).

 

3) Make a list of all the changes you need to make to the test store to get it working correctly after the upgrade (IE update 3rd party modules, redo any file changes), you will need to make those on your live site after you upgrade it.

  • Like 6
Link to comment
Share on other sites

  • 2 weeks later...
Guest
This topic is now closed to further replies.
×
×
  • Create New...