Hello,
When I try to update from 1.7.4.3 to 1.7.4.4 with autoupgrade v4.4.1, nothing happen.
All the pre-Upgrade checklist is green, I click on Upgrade button, but the icone on the left top turn infinitly.
Additionnal information
PrestaShop version: 1.7.4.3
PHP version: 7.2.11
MySQL: mysqlnd 5.0.12-dev
Apache
Hi @BenTen,
It is very likely that the problem is due to file permissions, try changing it to:
files: 0644
folders: 0755
If you don't know how, here a tutorial.
Regards!
Thank you to reply.
the folder autoupgrade in adminxxx
[x] I used the phppsinfo.php by Pierre Rimbaud too, to check if there is something bad with my environment but it's full green.
[x] By doubt, I tried to change php 7.2 to 7.1
But finally, the same problem happen.
@BenTen The upgrade module manages everything through Ajax requests, if you have already changed the file permissions and the problem persists, the only way to go deeper into the problem is unfairly inspecting the Ajax requests in the browser console, here a tutorial for google chrome.
Regards!
Here the errors:
https://tof.cx/image/Vacyz
It seems that the problem is the lack of jQuery, if you are using cache deactivate it as well as all the CCC compressions, this from the performance tab.
no Cache | no CCC.
I forgot to say I'm in multishop (but I guess it's not related)
Hi @BenTen,
We need to retrieve the PHP error log and the debug mode report in order to find out what's wrong.
Thanks!
Hi,
I wouldn't say that jQuery isn't available. Actually, an error in a javascript script (from another module) makes the other unable to run and the upgrade javascript is among them.
I'd rather have a look at the installed modules instead, and disabling them temporarily.
@Quetzacoalt91 In performance > Debug mode, I disabled non PrestaShop modules and disabled all overrides.
But nothing changed.
@BenTen, this function doesn't work, you can follow this link: https://github.com/PrestaShop/PrestaShop/issues/9965 for more details.
You need to disable non PrestaShop modules manually.
Thanks!
I think I found the issue.
When we deactivate Notifications in "Advanced Parameters", the first error javascript happen for a line:
_(for my part, only "new order" was activate, so the first error was for the line):_
var show_new_customers = ;
of
<script>
var show_new_orders = 1;
var show_new_customers = ;
var show_new_messages = ;
var jQueryVersionPS = parseInt($().jquery.replace(/\./g, ""));
</script>
Anyway, I activated the three notifications, the Autoupgrade seems work fine.
Conclusion: I can't upgrade if the notifications are not activated.
Hi @BenTen,
Thanks a lot for your feedback.
I manage to reproduce the issue with the 1-click upgrade v4.4.1.
When we disable Notifications in "Advanced Parameters" ( any option), an error is displayed in the console &we cannot do the upgrade, the click action on the "Upgrade PrestaShop now!" just scroll the page to the top.

We will see how to fix it.
@Quetzacoalt91 what do you think?
Thanks!
Hi @BenTen,
Try this...
In the file: /classes/controller/AdminController.php
Change this:
'show_new_orders' => Configuration::get('PS_SHOW_NEW_ORDERS'),
'show_new_customers' => Configuration::get('PS_SHOW_NEW_CUSTOMERS'),
'show_new_messages' => Configuration::get('PS_SHOW_NEW_MESSAGES '),
To this:
'show_new_orders' => (int)Configuration::get('PS_SHOW_NEW_ORDERS'),
'show_new_customers' => (int)Configuration::get('PS_SHOW_NEW_CUSTOMERS'),
'show_new_messages' => (int)Configuration::get('PS_SHOW_NEW_MESSAGES '),
Clear cache and check if fix the issue.
Hi @Rolige,
Would you be willing to make a pull request on GitHub with your code suggestion?
https://github.com/PrestaShop/PrestaShop/tree/develop
Thank you!
@khouloudbelguith to be honest I have not tested my fix suggestion, if @BenTen or you can corroborate it, I gladly to send the PR.
Hi, this will be done in the module, I found out these variables are also defined in it: https://github.com/PrestaShop/autoupgrade/blob/900017bd5831becde0e55cfd5fd4191ed20533e1/views/templates/main.twig#L2-L7
Will be fixed by https://github.com/PrestaShop/autoupgrade/pull/190
The module has been released, I'm closing this issue.
Regards
Most helpful comment
Will be fixed by https://github.com/PrestaShop/autoupgrade/pull/190