Jump to content

Issues when Migrating from PrestaShop 1.6 to 8.1.3


Jota_s

Recommended Posts

Hello,

We want to migrate an installation from version 1.6 to 8.1.3. We have decided that the new version will be a fresh installation.

We have installed version 8.1.3 on the development server and proceeded to manually migrate the database following this PrestaShop documentation and using the method "Complete - Via a MySQL client", comparing the tables with mysqldiff and making the necessary modifications to adapt the tables.

Initially, it works correctly, and we have not detected any problems in this installation.

Now we want to move this installation to the production server, and we have performed the following operations:

We copied the PrestaShop directory inside htdocs from the development server to the production server.

We performed a dump of the database and imported it into the production server.

We modified the app/parameters.php file to link the installation to the imported database.

We modified the store URL in the ps_shop_url table.

The result is that the front and back end start, but no products, orders, categories, or anything from the database seems to be detected by the installation, and we do not see any apparent error.

Did we miss any steps? Is there anything else we need to do? We would appreciate any suggestions.

Best regards.

Link to comment
Share on other sites

This is a process we used:

  1. Set site to maintenance
  2. backup all files (except var/cache/*)
  3. backup database
  4. Edit sql backup file and change all staging.domain.ext to prod.domain.ext
  5. idem in .htaccess file
  6. import database
  7. change app/config/parameters.php to your production sql server
  8. remove maintenance mode

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...