New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed to update 1.7.8.8 to 8.0.1 #30761
Comments
Hi @Stephane1874, I have experienced errors like this before, when capital letter changed in some of the packages. There is a simmilar issue here - #15187. I just tested upgrade from 1.7.8.8 to 8.0.1 and everything went fine, so I think you intially installed Prestashop on some older version and this is an upgraded install right? Could you please ZIP your vendor folder of 1.7.8.8 and send it to me somehow? I will compare it to 1.7.8.8 clean. Regarding the error in FO after upgrade, it will be some minor module issue. If you enable debug mode in BO or you change |
Hi @Hlavtox, thank you for the answer. Yes, it's an old version 1.7.5 or 1.7.6 I can't remember. I followed the updates every time. My vendor.zip file by following this link |
Your vendor folder is correct, that's not the problem. I suggest disabling every non-native module and trying again. Let me know. 👍 |
Same Issue We faced we installed the 1.7.8.4 and updated with the patches and updates till 1.7.8.8 but when updated it to 8.0.1 we got the same error Quote removed by @Hlavtox |
Hello @Hlavtox, I did some tests with non-native modules disabled and the default theme. I get the same result with different errors depending on the scenario.
I also got this error
I will see this update for later, for now 1.7.8.8 works well, thank you. |
@atomiix @kpodemski We need some investigation guys. 😄 |
I'm facing the same problem... First upgraded from 1.7.8.7 direct to 8.0.1, as I got these errors I made the manual upgrade to 1.7.8.8 them upgraded to 8.0.1 (with 1 click) also had the same errors... so I managed to fix it by copying the
I also managed to fix it removing this subscriber (idk what can be the consequences...) the admin login page loads, but dont login (only refreshes... maybe this is an consequence lol) I also tried to upgrade manually, some things that helped with some errors was:
I'm giving up... as I can't change to another system on this project, I'll freeze it to 1.7.8.8 and make changes to the core by myself. |
I'm trying for the last hours to upgrade to PS8. Because 1clickupgrade always had connection timeouts, I did the manual upgrade, like described in the docs, and also from 1.7.8.8. After that nothing worked. I started debugging and fixed the php-errors inside my override-classes.
The blog posts to this release sounded promising, but the experience while upgrading is not. I will have to revert and freeze too, until these issues are resolved. |
Facing the same issue, any update on that? |
Nope... I made some tryouts but I gave up. I didn't have much time to spend on it, and seems no one cares about :/ |
Friendly reminder @PrestaShop/prestashop-core-developers |
I faced the same issue, what I did was to remove old |
this is also completely broken for me, the steps above didn't help. I followed the upgrade instructions on https://devdocs.prestashop-project.org/8/basics/keeping-up-to-date/upgrade/ and they simply don't work, also the link to the update.php doesn't work (should that be relative to the admin folder)? These instructions are very sparse, they were not very helpful unfortunately. |
Improved documentation for the |
Hello everyone, Could we close this issue as it's a duplicate of this one #31679 ? |
@kpodemski do you agree with Hana ? |
@HanaRebaiQA How is this a duplicate? This was posted in January, and the other one in March. |
@paulnoelcholot because Hana doesn't work yet for Presta :-) |
I also have this exact problem when tried to upgrade our testing environment.
|
I could fix this issue by removing the dependency:
Just remove (safe) this line and you should be good to go: I try to restore that line after the upgrade within the file but it broke the functionality. Therefor I would avoid or replace it with the right dependency if necessary. So far no disadvantage occurred. |
Hi |
May be linked PrestaShop/autoupgrade#609 |
@WahbiPS it is linked, yes |
Hello, we did a fix in this PR that should also fix this problem. |
Fixed by PrestaShop/autoupgrade#609 |
Prerequisites
Describe the bug and add attachments
Hello,
I tried to update my version 1.7.8.8 to 8.0.1 with the 1-Click Upgrade module version 4.15.0 by choosing the major version option.
On my first try, I got this error:
[INTERNAL] /htdocs/vendor/composer/autoload_real.php line 59 - require(): Failed opening required '/htdocs/vendor/composer/../react/promise/src/functions_include.php' (include_path='/htdocs/vendor/pear/pear_exception:/htdocs/vendor/pear/console_getopt:/htdocs/vendor/pear/pear-core-minimal/src:/htdocs/vendor/pear/archive_tar:.:/usr/share/php')
So I added manually on a version 8.0.1 available on my desktop the folder (react), I compressed the archive and deposited in the folder /admin/autoupgrade/download/, I tried again to update update from the 1-Click Upgrade module by choosing the local archive option.
I got this error:
[INTERNAL] /htdocs/vendor/composer/autoload_real.php line 59 - require(): Failed opening required '/htdocs/vendor/composer/../markbaker/complex/classes/src/functions/abs.php' (include_path='/htdocs/vendor/pear/pear_exception:/htdocs/vendor/pear/console_getopt:/htdocs/vendor/pear/pear-core-minimal/src:/htdocs/vendor/pear/archive_tar:.:/usr/share/php')
Same manipulation by adding the missing folder.
I got this error:
[INTERNAL] /htdocs/vendor/composer/autoload_real.php line 59 - require(): Failed opening required '/htdocs/vendor/composer/../markbaker/matrix/classes/src/Functions/adjoint.php' (include_path='/htdocs/vendor/pear/pear_exception:/htdocs/vendor/pear/console_getopt:/htdocs/vendor/pear/pear-core-minimal/src:/htdocs/vendor/pear/archive_tar:.:/usr/share/php')
I added the missing folder and finally managed to complete the process with this error :
The BO seemed to work correctly, but the FO was in error 500.
I didn't keep looking for the solution for the 500 error, I reinstalled my BDD backups and files before I went crazy :)
Maybe it is not possible to do this update yet 1.7.8.8 to 8.0.1?
Expected behavior
No response
Steps to reproduce
Update 1.7.8.8 to 8.0.1
PrestaShop version(s) where the bug happened
1.7.8.8 to 8.0.1
PHP version(s) where the bug happened
7.4
If your bug is related to a module, specify its name and its version
No response
The text was updated successfully, but these errors were encountered: