Jump to content

Manual upgrade 1.6 to 1.7


Recommended Posts

Hey, someone tried to manually have to migrate to 1.7? I tried using the method to manually update with version 1.6, but it's not working. Settings file is in a completely different place. Import data from CSV files also eliminated, because eg. By importing the client is not in the file password field. Or how to import data through mysql to be visible BO and FO?

Link to comment
Share on other sites

Hello everyone,

Up to this thread, I have the same problem : I need to upgrade a shop to 1.7, I don't care if previous theme, overrides, modules are lost so I tried to upgrade only database with the manual update procedure : calling the script "http://myshop.com/install/upgrade/upgrade.php"

 

I edited the new config file (app/config/parameters.php), set the right rights for the folder, and it does not work.

Fresh install does work on this server.

I also tried to upgrade with the 1-click installer, providing the url and md5 for the latest 1.7 version, no luck either.

 

Thanks for your help

 

Apache log when calling install/upgrade/upgrade.php script is :

[Thu Feb 02 08:53:50.970121 2017] [:error] [pid 20790] [client 90.66.141.8:51347] PHP Warning:  file_get_contents(/home/web/mycustomer/prestashop-1.7/install/upgrade/sql/index.php.sql): failed to open stream: No such file or directory in /home/web/mycustomer/prestashop-1.7/install/upgrade/upgrade.php on line 377
[Thu Feb 02 08:53:50.970141 2017] [:error] [pid 20790] [client 90.66.141.8:51347] PHP Stack trace:
[Thu Feb 02 08:53:50.970167 2017] [:error] [pid 20790] [client 90.66.141.8:51347] PHP   1. {main}() /home/web/mycustomer/prestashop-1.7/install/upgrade/upgrade.php:0
[Thu Feb 02 08:53:50.970174 2017] [:error] [pid 20790] [client 90.66.141.8:51347] PHP   2. file_get_contents() /home/web/mycustomer/prestashop-1.7/install/upgrade/upgrade.php:377
[Thu Feb 02 08:53:52.968024 2017] [:error] [pid 20790] [client 90.66.141.8:51347] PHP Warning:  require_once(/home/web/mycustomer/prestashop-1.7/app/cache/prod/namespaced_class_stub.php): failed to open stream: No such file or directory in /home/web/mycustomer/prestashop-1.7/classes/PrestaShopAutoload.php on line 159
[Thu Feb 02 08:53:52.968050 2017] [:error] [pid 20790] [client 90.66.141.8:51347] PHP Stack trace:
[Thu Feb 02 08:53:52.968060 2017] [:error] [pid 20790] [client 90.66.141.8:51347] PHP   1. {main}() /home/web/mycustomer/prestashop-1.7/install/upgrade/upgrade.php:0
[Thu Feb 02 08:53:52.968065 2017] [:error] [pid 20790] [client 90.66.141.8:51347] PHP   2. PrestaShopBundle\\Install\\Install->generateSf2ProductionEnv() /home/web/mycustomer/prestashop-1.7/install/upgrade/upgrade.php:390
[Thu Feb 02 08:53:52.968070 2017] [:error] [pid 20790] [client 90.66.141.8:51347] PHP   3. PrestaShopBundle\\Install\\Install->setError() /home/web/mycustomer/prestashop-1.7/src/PrestaShopBundle/Install/Install.php:285
[Thu Feb 02 08:53:52.968075 2017] [:error] [pid 20790] [client 90.66.141.8:51347] PHP   4. spl_autoload_call() /home/web/mycustomer/prestashop-1.7/src/PrestaShopBundle/Install/Install.php:74
[Thu Feb 02 08:53:52.968080 2017] [:error] [pid 20790] [client 90.66.141.8:51347] PHP   5. PrestaShopAutoload->load() /home/web/mycustomer/prestashop-1.7/src/PrestaShopBundle/Install/Install.php:74
[Thu Feb 02 08:53:52.968093 2017] [:error] [pid 20790] [client 90.66.141.8:51347] PHP Fatal error:  require_once(): Failed opening required '/home/web/mycustomer/prestashop-1.7/app/cache/prod/namespaced_class_stub.php' (include_path='/home/web/mycustomer/prestashop-1.7/vendor/pear/pear_exception:/home/web/mycustomer/prestashop-1.7/vendor/pear/console_getopt:/home/web/mycustomer/prestashop-1.7/vendor/pear/pear-core-minimal/src:/home/web/mycustomer/prestashop-1.7/vendor/pear/archive_tar:.:/usr/share/php:/usr/share/pear') in /home/web/mycustomer/prestashop-1.7/classes/PrestaShopAutoload.php on line 159
[Thu Feb 02 08:53:52.968098 2017] [:error] [pid 20790] [client 90.66.141.8:51347] PHP Stack trace:
[Thu Feb 02 08:53:52.968102 2017] [:error] [pid 20790] [client 90.66.141.8:51347] PHP   1. {main}() /home/web/mycustomer/prestashop-1.7/install/upgrade/upgrade.php:0
[Thu Feb 02 08:53:52.968107 2017] [:error] [pid 20790] [client 90.66.141.8:51347] PHP   2. PrestaShopBundle\\Install\\Install->generateSf2ProductionEnv() /home/web/mycustomer/prestashop-1.7/install/upgrade/upgrade.php:390
[Thu Feb 02 08:53:52.968112 2017] [:error] [pid 20790] [client 90.66.141.8:51347] PHP   3. PrestaShopBundle\\Install\\Install->setError() /home/web/mycustomer/prestashop-1.7/src/PrestaShopBundle/Install/Install.php:285
[Thu Feb 02 08:53:52.968125 2017] [:error] [pid 20790] [client 90.66.141.8:51347] PHP   4. spl_autoload_call() /home/web/mycustomer/prestashop-1.7/src/PrestaShopBundle/Install/Install.php:74
[Thu Feb 02 08:53:52.968130 2017] [:error] [pid 20790] [client 90.66.141.8:51347] PHP   5. PrestaShopAutoload->load() /home/web/mycustomer/prestashop-1.7/src/PrestaShopBundle/Install/Install.php:74
[Thu Feb 02 08:54:03.372546 2017] [:error] [pid 21138] [client 90.66.141.8:51362] PHP Warning:  file_get_contents(/home/web/mycustomer/prestashop-1.7/install/upgrade/sql/index.php.sql): failed to open stream: No such file or directory in /home/web/mycustomer/prestashop-1.7/install/upgrade/upgrade.php on line 377
[Thu Feb 02 08:54:03.372575 2017] [:error] [pid 21138] [client 90.66.141.8:51362] PHP Stack trace:
[Thu Feb 02 08:54:03.372583 2017] [:error] [pid 21138] [client 90.66.141.8:51362] PHP   1. {main}() /home/web/mycustomer/prestashop-1.7/install/upgrade/upgrade.php:0
[Thu Feb 02 08:54:03.372587 2017] [:error] [pid 21138] [client 90.66.141.8:51362] PHP   2. file_get_contents() /home/web/mycustomer/prestashop-1.7/install/upgrade/upgrade.php:377
[Thu Feb 02 08:54:05.922901 2017] [:error] [pid 21138] [client 90.66.141.8:51362] PHP Warning:  require_once(/home/web/mycustomer/prestashop-1.7/app/cache/prod/namespaced_class_stub.php): failed to open stream: No such file or directory in /home/web/mycustomer/prestashop-1.7/classes/PrestaShopAutoload.php on line 159
[Thu Feb 02 08:54:05.922935 2017] [:error] [pid 21138] [client 90.66.141.8:51362] PHP Stack trace:
[Thu Feb 02 08:54:05.922945 2017] [:error] [pid 21138] [client 90.66.141.8:51362] PHP   1. {main}() /home/web/mycustomer/prestashop-1.7/install/upgrade/upgrade.php:0
[Thu Feb 02 08:54:05.922952 2017] [:error] [pid 21138] [client 90.66.141.8:51362] PHP   2. PrestaShopBundle\\Install\\Install->generateSf2ProductionEnv() /home/web/mycustomer/prestashop-1.7/install/upgrade/upgrade.php:390
[Thu Feb 02 08:54:05.922958 2017] [:error] [pid 21138] [client 90.66.141.8:51362] PHP   3. PrestaShopBundle\\Install\\Install->setError() /home/web/mycustomer/prestashop-1.7/src/PrestaShopBundle/Install/Install.php:285
[Thu Feb 02 08:54:05.922963 2017] [:error] [pid 21138] [client 90.66.141.8:51362] PHP   4. spl_autoload_call() /home/web/mycustomer/prestashop-1.7/src/PrestaShopBundle/Install/Install.php:74
[Thu Feb 02 08:54:05.922968 2017] [:error] [pid 21138] [client 90.66.141.8:51362] PHP   5. PrestaShopAutoload->load() /home/web/mycustomer/prestashop-1.7/src/PrestaShopBundle/Install/Install.php:74
[Thu Feb 02 08:54:05.922984 2017] [:error] [pid 21138] [client 90.66.141.8:51362] PHP Fatal error:  require_once(): Failed opening required '/home/web/mycustomer/prestashop-1.7/app/cache/prod/namespaced_class_stub.php' (include_path='/home/web/mycustomer/prestashop-1.7/vendor/pear/pear_exception:/home/web/mycustomer/prestashop-1.7/vendor/pear/console_getopt:/home/web/mycustomer/prestashop-1.7/vendor/pear/pear-core-minimal/src:/home/web/mycustomer/prestashop-1.7/vendor/pear/archive_tar:.:/usr/share/php:/usr/share/pear') in /home/web/mycustomer/prestashop-1.7/classes/PrestaShopAutoload.php on line 159
[Thu Feb 02 08:54:05.922988 2017] [:error] [pid 21138] [client 90.66.141.8:51362] PHP Stack trace:
[Thu Feb 02 08:54:05.922991 2017] [:error] [pid 21138] [client 90.66.141.8:51362] PHP   1. {main}() /home/web/mycustomer/prestashop-1.7/install/upgrade/upgrade.php:0
[Thu Feb 02 08:54:05.922996 2017] [:error] [pid 21138] [client 90.66.141.8:51362] PHP   2. PrestaShopBundle\\Install\\Install->generateSf2ProductionEnv() /home/web/mycustomer/prestashop-1.7/install/upgrade/upgrade.php:390
[Thu Feb 02 08:54:05.923000 2017] [:error] [pid 21138] [client 90.66.141.8:51362] PHP   3. PrestaShopBundle\\Install\\Install->setError() /home/web/mycustomer/prestashop-1.7/src/PrestaShopBundle/Install/Install.php:285
[Thu Feb 02 08:54:05.923004 2017] [:error] [pid 21138] [client 90.66.141.8:51362] PHP   4. spl_autoload_call() /home/web/mycustomer/prestashop-1.7/src/PrestaShopBundle/Install/Install.php:74
[Thu Feb 02 08:54:05.923008 2017] [:error] [pid 21138] [client 90.66.141.8:51362] PHP   5. PrestaShopAutoload->load() /home/web/mycustomer/prestashop-1.7/src/PrestaShopBundle/Install/Install.php:74

  • Like 1
Link to comment
Share on other sites

  • 1 month later...

Hello everyone!

 

Arkhee+++

I have same problem. Prestashop 1.7.0.5,  I calling the script /install/upgrade/upgrade.php and get error HTTP 500.

 

log:

PHP Warning:  require_once(C:\***\app\cache\prod\namespaced_class_stub.php): failed to open stream: No such file or directory in C:\***\presta17\classes\PrestaShopAutoload.php on line 160

PHP Fatal error:  require_once(): Failed opening required 'C:\***\app\cache\prod\namespaced_class_stub.php' (include_path='C:\***\vendor/pear/pear_exception;C:\***\vendor/pear/console_getopt;C:\***\vendor/pear/pear-core-minimal/src;C:\***\vendor/pear/archive_tar;.;c:/openserver/modules/php/PHP-5.4;c:/openserver/modules/php/PHP-5.4/PEAR/pear') in C:\***\classes\PrestaShopAutoload.php on line 160


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...