问题
I currently have a 1.7.0.3 Prestashop that I'd like to upgrade to the latest stable version. When I start upgrading from the 1-click Upgrade module, the latest version is downloaded correctly but I get an error about the backup name not specified. I then disabled this option of backing up files and database as I couldn't find where to fill in this information (I made manual backups).
I am then told that 17152 files have to be modified, whereas the version comparison tells me that only 5157 files need to be modified and 895 deleted. And the upgrade is stuck at 17152 files left with a great number of ajax calls being made until I get the following error:
[Ajax / Server Error for action upgradeFiles] textStatus: "error " errorThrown:" " jqXHR: " "
As I was looking for a solution, I tried to upgrade from the local directory by choosing this option in the expert mode of the module. But when I save my choice, it is not taken into account and stays on the option "Major version", and therefore downloads the upgrade from Prestashop instead of using the local directory. I get the same result if I choose the option "Minor version". Debug mode brought nothing in the process.
How can I get the upgrade to work?
回答1:
You can NOT do that with the 1-click module. Read more here: http://build.prestashop.com/news/prestashop-1-7-faq/#is-it-be-easy-to-upgrade-from-previous-versions-of-prestashop-to-v17
It's also discussing on this topic: Upgrade Prestashop from 1.6.0.11 to 1.7 (latest version)
However you can migrate your data from your old Prestashop website to Prestashop 1.7 using this free module: https://www.prestashop.com/forums/topic/820013-migrate-or-upgrade-prestashop-16-or-other-versions-to-17-%E2%80%93-free-module/
回答2:
You can not update PrestaShop 1-Click Upgrade with PrestaShop 1 to upgrade PrestaShop from version 1.6 to 1.7. So these versions have completely different structure and are incompatible between itself.
But you can import data from version 1.6 or another version to version 1.7 using our module.
This is a paid module, 199 euros, but it can help with such problems when other options do not work.
来源:https://stackoverflow.com/questions/46091487/upgrading-prestashop-from-1-7-0-3-to-latest-with-1-click-upgrade-module