en Jump to content
ets-soft

Migrate or Upgrade Prestashop 1.6 (or other versions) to 1.7 – FREE module

Recommended Posts

Hello there!

After a day trying to upgrade an old PS 1.4 to 1.6 while being a WordPress sysadmin guy until now, I really think your premium plugin could help by starting on a fresh basis. So first off, thanks for your work.


Though, before jumping into it, I feel like there are one or two steps missing in the 3 step process that I would like to understand:
How can you migrate a website on a given domain to another website with the same domain name?

Either you need two servers with the same domain on it, but then how do you reach the second one? Or you need to use a different domain or a subdomain or to install the new prestashop in /anotherdir. All these methods would imply that your website's URL will change, so you need to end the process with a URL change.

Could you please clarify how exactly this is handled in the migration process?

Kind regards

 

Edit: I think I'm dumb > The destination website can just pull data from the source website... Would be my best guess. But you would still need two servers and work with your host files if you wish to keep the same domain name.

Edited by Robin

Share this post


Link to post
Share on other sites

Hi 

Thanks for your interest in our module 

Here is my explanation how our module works


To use our module, the website URL of the source website should be available while migrating the data. source website and target website can be on the same server or different servers

if you have domain or another temporary domain that would be great. However, if you have only 1 domain, and using only 1 server, that's ok, you can install 1.7 site in a folder "newsite" under your root folder

So, your source site (original site) should be: www.yourdomain.com

The target website (1.7 site) should be: www.yourdomain.com/newsite


When using our module, you need to install Prestashop connector module to your source site

Then install "Prestashop migrator" module (premium module) or free module which I shared above on target website


Get the connector URL and Access token, put them on target website (1.7) and start migrating

Wait for some minutes until the migration is done



After migration, you can copy your "newsite" to your root folder and use the same domain for 1.7 site 
 

Now you are done, enjoy your new site


If you want to migrate more data which are not supported in free module, just purchase and enjoy our Premium module 

Here is the link https://addons.prestashop.com/en/data-migration-backup/32298-prestashop-migrator-upgrade-prestashop-to-17.html?_ga=2.245593476.1879104026.1533700680-1713221174.1475285675

I will support you whenever you need

Regards

Share this post


Link to post
Share on other sites

Hello,

Thank you for this very detailed answer.

So I assume the migrator copies over the URL name to the target website, which can then only work with the desired URLs once you replaced the source with the updated one.

Man, that's perfect. I'll do further testing with the Free version, then purchase this wonderful tool.

Best regards!

Share this post


Link to post
Share on other sites

Mhh... Getting error 500 that does not seem to be caused by PHP limits. Not sure if that's the right place to share this, but here are the three identified errors in logs from the source server:

500	GET /modules/ets_pres2presconnector/connector.php?presconnector=1&pres2prestocken=KEYHERE&zip_file_name=oc2m_data_S6ZhuuD HTTP/1.1

mod_fcgid: stderr: PHP Warning: require_once(/var/www/vhosts/mysite.com/httpdocs/modules//authorizeaim/backward_compatibility/Context.php): failed to open stream: No such file or directory in /var/www/vhosts/mysite.com/httpdocs/modules/ets_pres2presconnector/connector.php on line 29

mod_fcgid: stderr: PHP Fatal error: require_once(): Failed opening required '/var/www/vhosts/mysite.com/httpdocs/modules//authorizeaim/backward_compatibility/Context.php' (include_path='.:/opt/plesk/php/5.6/share/pear') in /var/www/vhosts/mysite.com/httpdocs/modules/ets_pres2presconnector/connector.php on line 29

Same error happens upon visiting the connector URL.

So I installed the backward compatibility module which unfortunately didn't help (same error). This website I'm working on definitely hates me.

Any clue?

Thank you

 

Edit: Some clue
I added these files manually to /modules/authorizeaim/backward_compatibility
Found in the prestashop addon: https://addons.prestashop.com/fr/migration-donnees-sauvegarde/6222-.html

Edit 2:
New error:

mod_fcgid: stderr: PHP Fatal error: Call to a member function ajaxPercentageExport() on null in /var/www/vhosts/laboiteaetoles.com/httpdocs/modules/ets_pres2presconnector/connector.php on line 38

 

Edited by Robin

Share this post


Link to post
Share on other sites

Hi 

Please try to export the data by clicking on "Download" button at "Prestashop connector" module

Then upload the file to import on your target site 

Regards

Share this post


Link to post
Share on other sites

Hello,

I've read your other posts and the first post entirely and should have mentioned: Sadly, the Download feature fails as well in my case.
When clicking on it, it shows an admin page in "Admin Panel > Modules" where only the text "x2" is written in the page body. 

5b6c104bbdfcd_psfaildownloaddata.thumb.PNG.0211467ae01b9e8f4ff3384b41b1bceb.PNG

No error in logs when this occurs.

Share this post


Link to post
Share on other sites

Thanks for the module just gave it a shot and got it to export just fine, doing it all locally on my own machine, as soon as I click to start the migration on the new site it instantly stops, doesn't even appear to attempt to run before warning be about limits, I've already set the limits higher than what is suggested too. 

Share this post


Link to post
Share on other sites

I have been tried the free version and doesn't work for me.

When I try to migrate with http link doesn't finish and when I try to migrate by the download file show me an error

 

Sorry! The server is not responding or timed out while importing data into the website database. This problem happens because the server is too LIMITED in resource usability.
Below are suggested solutions for the problem:
Update server settings, make sure both servers are configured with UNLIMITED (or least 2 minutes) for max_execution_timeand they can execute an UNLIMITED number of continuous HTTP requests. Disable any firewall programs or server settings that stop the servers (or give 500 Internal Server Error) when a large number of HTTP requests are sent to them during the migration.

Try to copy the target website to a better server or even alocal computer (give maximum server resource usability for the website) then start the migration again.

 

The settings I have is

max_execution_time 3600
max_input_time 600
max_input_vars 12000
memory_limit 512M

 

Can you help me?

Share this post


Link to post
Share on other sites
On 10/08/2018 at 3:35 AM, ets-soft said:

Hi Robin,

The text is not from our module. As I see on the screenshot, it seems your site got error with jquery, pls replace your jquery file to the new jquery file which I send in this message

image.png.3ca84d13037047999d7f27da0bef930b.png

Regards

jquery-1.11.0.min.js

 

Thank you.
I'm not sure how to properly replace it, like I said, I'm usually more into WordPress and have very little knowledge of PS for now.

I went to /httpdocs/js/jquery, then added the file and renamed the older one to end with .bak, saw no change, then I tried to rename jquery-1.11.0.min.js to jquery-1.4.4.min.js, but the same error occurs. Am I doing it wrong?

Share this post


Link to post
Share on other sites

Hello,

Thank you, unfortunately, no luck for me.

Source server logs show error 500 and these:

500 GET /modules/ets_pres2presconnector/connector.php?presconnector=1&ajaxPercentageExport=1&zip_file_name=oc2m_data_ycS2xMQ HTTP/1.1

mod_fcgid: stderr: PHP Fatal error: Call to a member function ajaxPercentageExport() on null in /var/www/vhosts/mysite.com/httpdocs/modules/ets_pres2presconnector/connector.php on line 38

 

Since the zip export does not work for me, that might be the reason.

Share this post


Link to post
Share on other sites

Hi @ets-soft doesn't work for me :(

 

I still have the same problem when I import from my computer and when I use the link.

 

There is any way to know more detailed the problem? Any chance the import be slower to check if can be the server problem?

Edited by FerreireX

Share this post


Link to post
Share on other sites
1 hour ago, FerreireX said:

Hi @ets-soft doesn't work for me :(

 

I still have the same problem when I import from my computer and when I use the link.

 

There is any way to know more detailed the problem? Any chance the import be slower to check if can be the server problem?

 

Have you followed the instruction showing when you import?

Sorry! The server is not responding or timed out while importing data into the website database. This problem happens because the server is too LIMITED in resource usability.
Below are suggested solutions for the problem:
Update server settings, make sure both servers are configured with UNLIMITED (or least 2 minutes) for max_execution_timeand they can execute an UNLIMITED number of continuous HTTP requests. Disable any firewall programs or server settings that stop the servers (or give 500 Internal Server Error) when a large number of HTTP requests are sent to them during the migration.

Try to copy the target website to a better server or even alocal computer (give maximum server resource usability for the website) then start the migration again.

Share this post


Link to post
Share on other sites

 

hello, very good module, I could migrate well with the free version, the problem I have is that you do not see the images in the products, I do not know how to verify if you copied them well?

 

best regards

Jose

Edited by joseangel2003

Share this post


Link to post
Share on other sites

Hi Jose,

Yes, to save the time, we migrate the products images directly without downloading them

That's why we need the source website URL available while migrating the data

You just need to install the target site on a temporary domain or in a sub folder of root where your source site is localted

Make sure target website and source website are using different URL then the images will be migrated correctly 

Regards

Share this post


Link to post
Share on other sites

Premium module 1.0.6 installed. max_execution_time set to 1800. Got this error:

 

Sorry! The server is not responding or timed out while importing data into the website database. This problem happens because the server is too LIMITED in resource usability.
Below are suggested solutions for the problem:

  • Update server settings, make sure both servers are configured with UNLIMITED (or least 2 minutes) for max_execution_timeand they can execute an UNLIMITED number of continuous HTTP requests. Disable any firewall programs or server settings that stop the servers (or give 500 Internal Server Error) when a large number of HTTP requests are sent to them during the migration.

 

Share this post


Link to post
Share on other sites

Hey

 

Thanks for your module and your contribution

I tried your free module (but if it works I'll need the premium version) to migrate 1.6.1.5 to the last release of 1.7

I've got a dedicated server, so I push to unlimited all time out, max size etc...

When the migration is being, till 98,98% everything is ok but then I've got the error message "Sorry! The server is not responding or timed out while importing data into the website database. etc etc etc..."

 

But all categories and products are well migrated !

 

My problem is, when I want to see one of my product page, it shows me the message (in french) "vous n'avez pas accès à ce produit" / "you can't access to this product".

I go, in admin panel, to the product sheet, I swith the button "Online" to "Offline", save, and then "Offline" to "Online, save.

And it works. My product is well displayed on the website

 

Do you have an idea why ? a possible way to fix it ?

 

Thanks in advance

Share this post


Link to post
Share on other sites
On 8/28/2018 at 4:20 PM, samuelongui said:

Premium module 1.0.6 installed. max_execution_time set to 1800. Got this error:

 

Sorry! The server is not responding or timed out while importing data into the website database. This problem happens because the server is too LIMITED in resource usability.
Below are suggested solutions for the problem:

  • Update server settings, make sure both servers are configured with UNLIMITED (or least 2 minutes) for max_execution_timeand they can execute an UNLIMITED number of continuous HTTP requests. Disable any firewall programs or server settings that stop the servers (or give 500 Internal Server Error) when a large number of HTTP requests are sent to them during the migration.

 

 

Hi 

Following the instruction, pls increase the max_execution_time to unlimited then try again

Share this post


Link to post
Share on other sites
On 8/29/2018 at 2:17 AM, julien_wmx said:

Hey

 

Thanks for your module and your contribution

I tried your free module (but if it works I'll need the premium version) to migrate 1.6.1.5 to the last release of 1.7

I've got a dedicated server, so I push to unlimited all time out, max size etc...

When the migration is being, till 98,98% everything is ok but then I've got the error message "Sorry! The server is not responding or timed out while importing data into the website database. etc etc etc..."

 

But all categories and products are well migrated !

 

My problem is, when I want to see one of my product page, it shows me the message (in french) "vous n'avez pas accès à ce produit" / "you can't access to this product".

I go, in admin panel, to the product sheet, I swith the button "Online" to "Offline", save, and then "Offline" to "Online, save.

And it works. My product is well displayed on the website

 

Do you have an idea why ? a possible way to fix it ?

 

Thanks in advance

 

Hi 
 

I sent you a private message, please check it and send me your website URL

Regards

Share this post


Link to post
Share on other sites

Hi,
I have successfully moved from presta 1.6 to 1.7 and everything workds fine except for products with combination 
for example this link:

koodak.city/product/1113/روروئک-دلیجان-مدل-alvan-racer

is now this : 

emrooz.digilix.net/product/1113/-764-روروئک-دلیجان-مدل-alvan-racer

I mean the pervious link does not work and it gives me 404 error which is presta 1.7's new feature and each combination has a link 
do you have a solution for this ?

Share this post


Link to post
Share on other sites

Bought your Premium version but unfortunately it's not working at all for us .... we are trying to migrate from 1.6.1.20 to 1.7.4.2

We have set the PHP7 variables four times higher than you recommended in this post. The server is a very fast machine with 128Gb memory so it's more than enough. Source and destination is on the same server. First we tried with your connector module but we get this message within 1-2 seconds:

Sorry! Direct migration can’t be done because there was problems with server to server connection between the target website and the source website. This problem happens because one of the servers (or both servers) is not responding or timed out. 
Below are suggested solutions for the problem:
Update server settings, make sure both servers are configured with UNLIMITED (or least 2 minutes) for max_execution_timeand they can execute an UNLIMITED number of continuous HTTP requests. Disable any firewall programs or server settings that stop the servers (or give500 Internal Server Error) when a large number of HTTP requests are sent to them during the migration.

Try to download entire data of the source website using the Prestashop Connector module, then import the data into the target website with “Source Type” is set to “Upload data file from computer”

Try to copy your websites to a better server or local computer (give maximum server resource usability for the websites) then start the migration again.

 

So we tried the download method instead but the resulting zip file is only 2.2Mb .... we have around 6000 products, 25000pictures and 800 customers so the file seems a little :) small so we did not try to proceed to import to the 1.7.4.2 server.

 

Any ideas what could be wrong?  Concidering the error message the only thing I can think of is if your module don't support https. The source server use only https(443) with HSTS and are preloaded in the HSTS lists, it don't accept any http traffic at all.

The source and destination server is on the same machine but we have not set up  the destination server to use https yet so it's a plain http server.  The domain setup look like this:

https://source.mydomain.com

http://destination.mydomain.com

 

Share this post


Link to post
Share on other sites

Looks very good,and perhaps I wish in next days or a month the premium offer,but always like make some tests with free option,for in the future dont be a waste of money and time,or make but dont make.Its easy sell a produt or service,but some things even when is free its expensive tool(damage,dont make the work,etc,etc)
I already have some problems in a template take almost a month with several mistakes and for the resolution the support was like talk with a robot for one a question for a day,and dont read the all the email with pictures with the problems.:(:(
More almost 60 days for all the solutions,and I hope next days or months dont have or see more errors.

About your tool
For me last day crash in 87.47% and already pass more then 10Hours
When I start run very fast and stop at the same 87.47%
In only some minutes,after I restart and crash after so many hours at same point

Could be very good tool,but I go try again,in ten hours I import a lot of articles and costumers manualy,If a have a tool that dont make the work,I must make by hand.
It sucks make manually,but runs ok.

Good work,keep working all days in tool,the worst thing for a company its think that some product is good enough.

 

Share this post


Link to post
Share on other sites

I did a trial migration of my site today; kudos on making a solution for the problems for those of us who has so-so-hosting and where the 1-click-upgrade won't work. However, I'm curious as of one or two thing for the premium version:

- Does it migrate suppliers properly?
-- And if so, does it add the proper supplier references on the product page? With 2500+ products I'm not really in the mood for doing a one-by-one-handmodification there...
- All category images from my old installation didn't make the transition. This of course is a rather easy hand-hack but annoying nonetheless.

 

Thanks in advance!

Share this post


Link to post
Share on other sites
On 9/18/2018 at 6:35 PM, boozary said:

Hi,
I have successfully moved from presta 1.6 to 1.7 and everything workds fine except for products with combination 
for example this link:

koodak.city/product/1113/روروئک-دلیجان-مدل-alvan-racer

is now this : 

emrooz.digilix.net/product/1113/-764-روروئک-دلیجان-مدل-alvan-racer

I mean the pervious link does not work and it gives me 404 error which is presta 1.7's new feature and each combination has a link 
do you have a solution for this ?

 

Hi 

I don't really understand your question

Pls tell me more detail about the problem that you got

 

Share this post


Link to post
Share on other sites
On 9/25/2018 at 7:03 AM, seanr22a said:

Bought your Premium version but unfortunately it's not working at all for us .... we are trying to migrate from 1.6.1.20 to 1.7.4.2

We have set the PHP7 variables four times higher than you recommended in this post. The server is a very fast machine with 128Gb memory so it's more than enough. Source and destination is on the same server. First we tried with your connector module but we get this message within 1-2 seconds:

Sorry! Direct migration can’t be done because there was problems with server to server connection between the target website and the source website. This problem happens because one of the servers (or both servers) is not responding or timed out. 
Below are suggested solutions for the problem:
Update server settings, make sure both servers are configured with UNLIMITED (or least 2 minutes) for max_execution_timeand they can execute an UNLIMITED number of continuous HTTP requests. Disable any firewall programs or server settings that stop the servers (or give500 Internal Server Error) when a large number of HTTP requests are sent to them during the migration.

Try to download entire data of the source website using the Prestashop Connector module, then import the data into the target website with “Source Type” is set to “Upload data file from computer”

Try to copy your websites to a better server or local computer (give maximum server resource usability for the websites) then start the migration again.

 

So we tried the download method instead but the resulting zip file is only 2.2Mb .... we have around 6000 products, 25000pictures and 800 customers so the file seems a little :) small so we did not try to proceed to import to the 1.7.4.2 server.

 

Any ideas what could be wrong?  Concidering the error message the only thing I can think of is if your module don't support https. The source server use only https(443) with HSTS and are preloaded in the HSTS lists, it don't accept any http traffic at all.

The source and destination server is on the same machine but we have not set up  the destination server to use https yet so it's a plain http server.  The domain setup look like this:

https://source.mydomain.com

http://destination.mydomain.com

 

 

Hi

I'm so sorry for the late response

Our module works well with https, to check more detail why it shows error on your site, I need to access your website and check the problem directly there

Please send me a contact message via Addons marketplace then I'll support you there

By the way, our module only export the products data (without product images, the images will be migrated directly from source website during the migration)
So, 2.2 MB is normal, just use it to import, but please make sure the sourve website is available during the migration to migrate product images


 

Share this post


Link to post
Share on other sites
On 9/28/2018 at 4:15 PM, tugapresta said:

Looks very good,and perhaps I wish in next days or a month the premium offer,but always like make some tests with free option,for in the future dont be a waste of money and time,or make but dont make.Its easy sell a produt or service,but some things even when is free its expensive tool(damage,dont make the work,etc,etc)
I already have some problems in a template take almost a month with several mistakes and for the resolution the support was like talk with a robot for one a question for a day,and dont read the all the email with pictures with the problems.:(:(
More almost 60 days for all the solutions,and I hope next days or months dont have or see more errors.

About your tool
For me last day crash in 87.47% and already pass more then 10Hours
When I start run very fast and stop at the same 87.47%
In only some minutes,after I restart and crash after so many hours at same point

Could be very good tool,but I go try again,in ten hours I import a lot of articles and costumers manualy,If a have a tool that dont make the work,I must make by hand.
It sucks make manually,but runs ok.

Good work,keep working all days in tool,the worst thing for a company its think that some product is good enough.

 

Hi 


Thanks for your interest in our module 

Yes, at the first, the module migrate some data which doesn't have much related data, for example: minor data (currency, language, shop, etc) them customer data, carrier, ... after that, when you keeps staying at more than 80%  for a long time because it's migrating products / orders which has many related data such as attribute, images, features, suppier, manufacture, quanity, etc. so it will take long time if you have many products

Just be patient and wait, it will be done :)

Regards

Share this post


Link to post
Share on other sites
On 9/30/2018 at 8:38 PM, gorkij said:

I did a trial migration of my site today; kudos on making a solution for the problems for those of us who has so-so-hosting and where the 1-click-upgrade won't work. However, I'm curious as of one or two thing for the premium version:

- Does it migrate suppliers properly?
-- And if so, does it add the proper supplier references on the product page? With 2500+ products I'm not really in the mood for doing a one-by-one-handmodification there...
- All category images from my old installation didn't make the transition. This of course is a rather easy hand-hack but annoying nonetheless.

 

Thanks in advance!

 

Hi 

Thanks for trying our free version, hope you like it 

According your questions, yes, our premium version of the module migrates all suppliers, manufactures and they are connecting to products (the same data on your source website), you don't need configure anything after the migration, just enjoy the new site

The module also migrates all category images, descriptions, etc and they are also connecting to related products as well 

If you are ready to migrate all data for your source website to new version of prestahop, just purchase the premium module and enjoy it

We're always available via Addons marketplace to support you if you need any help with premium version

Regards

Share this post


Link to post
Share on other sites
10 hours ago, ets-soft said:

 

Hi 

Thanks for trying our free version, hope you like it 

According your questions, yes, our premium version of the module migrates all suppliers, manufactures and they are connecting to products (the same data on your source website), you don't need configure anything after the migration, just enjoy the new site

The module also migrates all category images, descriptions, etc and they are also connecting to related products as well 

If you are ready to migrate all data for your source website to new version of prestahop, just purchase the premium module and enjoy it

We're always available via Addons marketplace to support you if you need any help with premium version

Regards

Hi! Excellent, I'll get on that in a bit. I do however have another question : is it possible to clean out all previous entries of an PS 1.7 installation that I used as a test site and re-use the pro modules to do a migration again, in order to lessen the downtime between the migration? I'm basicially looking to do all of the module installations and theme work before doing the migration?

(In other words, since my SSL certificate and other things needs to be set up proper I'm going to have to make sure I keep a minimum downtime due to the cert being locked (for some bloody weird reason) to a subdir of my site, and not to my entire domain...)

Edited by gorkij

Share this post


Link to post
Share on other sites
On 10/2/2018 at 8:40 PM, gorkij said:

Hi! Excellent, I'll get on that in a bit. I do however have another question : is it possible to clean out all previous entries of an PS 1.7 installation that I used as a test site and re-use the pro modules to do a migration again, in order to lessen the downtime between the migration? I'm basicially looking to do all of the module installations and theme work before doing the migration?

(In other words, since my SSL certificate and other things needs to be set up proper I'm going to have to make sure I keep a minimum downtime due to the cert being locked (for some bloody weird reason) to a subdir of my site, and not to my entire domain...)

Hi 

I'm sorry for late response 

Yes, when you use our premium version, you can delete all the data on 1.7 (which is imported by free version) before importing data from source website 

Our premium version will migrate everything, and you don't need to worry about it

Just need to make sure the target website has enough space and server limitation for migration

Regards

 

Share this post


Link to post
Share on other sites

Hi ! 

Thank you for your migration plugin. All the products are migrating but I have a problem with the Categories. Non of them are migrating. I looked in the Category.xml file and this was empty. Is there a fix for this issue ? 

Thank you,

Share this post


Link to post
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

×

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More