Closed ballashop closed 5 years ago
Hi @ballashop,
Can you please provide us the log of your upgrade? It can be found in the log.txt file, available in
Hi @khouloudbelguith where I can find it? Because, into the module/autoupgrade folder I didn't find a tmp folder and I don't have any autoupgrade folder in the main domain path. Thanks to your fast reply.
@ballashop, you can find it in the Project_Folder/Admin_folder/autoupgrade/tmp path. Thanks!
Hi @khouloudbelguith there are sensitive data, can I send you in private way?
Hi @ballashop,
This is a public space. You can provide me the log file by email. My address mail: khouloud.belguith@prestashop.com Let's be safe!
Thanks!
I did, thanks
@ballashop, thanks. I just received the e-mail. I will check & feedback.
Ok, thank you.
@ballashop,
In your log file, I have this error (The same that you attached in the screenshot) => [INTERNAL] /XXXXXXXXXXXX/modules/autoupgrade/classes/UpgradeTools/Translator.php line 90 - sprintf(): Too few arguments. @Quetzacoalt91 what do you think? Thanks!
@khouloudbelguith @Quetzacoalt91 does this error affect to the site? now it's in the maintenance state, can I show it again? Or should I restore the site and database backup? Thanks for your support.
Hi @khouloudbelguith of course, I do immediately thanks
@ballashop no need to restore anything. If the process failed at the step backupDb, nothing has been changed on the shop. You can directly disable the maintenance mode.
I'll have a look at this Translator issue, it could be related to the latest release.
@Quetzacoalt91 thanks for your reply. Tomorrow, I will put the site under maintenance and try to update again. I'm waiting your next kind response. Thanks a lot. Best regard
The translation issue seems unrelated. You should check the server logs if you can access them. This error could be cause by a storage or memory issue, a rule by your hosting provider which prevents to use too many CPU, I/O resources...
Could you please have a look at your server logs? If the scripts stop without providing details, there is nothing I can do.
Hi @Quetzacoalt91, I immediately ask to the hosting service to get more information. I hope to receive assistance asap. Thanks
Dear @khouloudbelguith @Quetzacoalt91 the hosting service found this error: Fatal error: Call to undefined method AdminSelfUpgrade::displayErrors() in xxAdminxxFolderxx/functions.php on line 281 They said that the one click module needs updating, so I clicked on reset (one click module) and I've got this warning: 2 errors The module can not be installed. This version of 1-click upgrade requires PHP 5.6 to work properly. Please upgrade your server configuration. In the fact we use a php 5.5 version. So we asked to the hosting server if we can upgrade the php version. Is it possible that these errors are due to the php version not adequate? I'm waiting your kind response. Thanks a lot.
Hi @ballashop,
Just for your information, we recommend that you run your PrestaShop install on the latest version of PHP. PrestaShop 1.7.0 to 1.7.3 is compatible with PHP 7.1 and PrestaShop 1.7.4 is compatible with PHP 7.2. Thanks!
Hi @khouloudbelguith, yes we know but at the moment we have decided to continue using version 1.6, until the update is available. Do you think it is enough to switch to the php 5.5 version? The server assistance service told us that we can. I'm waiting your kind response. Thanks a lot.
@Quetzacoalt91, what do think? Thanks!
Hi @khouloudbelguith @Quetzacoalt91 sorry, I meant the php version 5.6 and not the 5.5 that is currently in use. Thank you so much.
Yep, PHP 5.6 is the minimum version which allows you to use the upgrade module. Older versions are not compatible.
Hi @Quetzacoalt91 thanks, we upgrading the php to the 5.6 version. do you think that the error as in this issue may depend on the obsolete version of PHP? Thanks.
It could be, yes. We check the version of PHP at the module installation since the v4.4.0. I guess it was already installed on your shop, and upgrading the module to the version 4.4.0 made you miss the error. :)
Hi @khouloudbelguith @Quetzacoalt91, I try to upgrade a php version but the server displayed a database connection error. I have forwarded this error to customer service on the server. I will keep you updated, thanks.
Hi @khouloudbelguith @Quetzacoalt91 the error is not there anymore but I have not had time to update yet, today there is a new 1.6.1.23. I have meanwhile changed the php version to 5.6 and updated the one click module. I hope to be able to backup and update to the latest release soon. Thanks
Hi @khouloudbelguith @Quetzacoalt91 , unfortunately I still was not able to do the update, the error is similar: [Ajax / Server Error for action backupFiles] textStatus: "error" errorThrown: "" jqXHR: "" this time instead of backupDb is backupFiles. I have also opened a ticket to the server customer service.
some info about the server
Thanks for any reply.
Hi, I tried to do the update again, this time the system came up to the backup of the DB tables, but it stopped for about 30 minutes on Database backup: 234 tables left ... displaying this error: [Ajax / Server Error for action backupDb] textStatus: "error" errorThrown: "" jqXHR: ""
Thanks for any reply.
hi @khouloudbelguith @Quetzacoalt91, we believe that the problem is of the server, the assistance advises us to make backups and update manually. I've always done everything via one click module, do you have any suggestions for that manual? Thanks
Hi @ballashop, you can follow this link: https://devdocs.prestashop.com/1.7/basics/keeping-up-to-date/ for more details about to upgrade Prestashop. Thanks!
Hi @khouloudbelguith, sorry form my late, thanks a lot for the link. I'm going to read. Thanks again.
Hi @ballashop,
You are welcome! So, can I close this issue?
Hi @khouloudbelguith, can I re-open if I didn't find a solution? Thanks a lot.
@ballashop, that's ok, this issue is still open. Waiting for your feedback.
Hi @khouloudbelguith,
thanks, about the link you wrote before, there is a paragraph that I didn't understand well.
I mean this: Note about vendor
folder.
honestly I did not understand which folder refers to the "vendor" one.
I ask you the courtesy to give me directions please.
Thanks.
@ballashop, you can find the vendor folder under you Project_Folder/vendor. Thanks!
Hi @khouloudbelguith I didn't find this folder, we don't have any "vendor" folder into the main project path. Maybe is it in the update package? I'm waiting your kind response. Thanks
@ballashop, yes, this folder exists only in the PSv1.7, it doesn't exist in the PS1.6. Thanks!
Ok, thanks, but we need to update to a latest version of 1.6 from 1.6.1.20 to 1.6.1.23 WE are not ready to change to 1.7 sorry. That paragraph is not useful for updating version 1.6, is'n it? Thanks
@ballashop, There are two ways to upgrade PrestaShop1.6:
For more information you can follow this documentation: http://doc.prestashop.com/display/PS16/Updating+PrestaShop Thanks!
Ok, but the link you wrote before: https://devdocs.prestashop.com/1.7/basics/keeping-up-to-date/upgrade/ is it just for 1.7? Thanks
ping @Quetzacoalt91
Yes, these explanations are also valid on PrestaShop 1.6 and older versions.
hi, @Quetzacoalt91 @khouloudbelguith, thanks I'm going to try. I will contact you as soon as I have more info. Thanks a lot
@ballashop, Thanks! Waiting for your feedback.
the local upgrade test with MAMP was successful by one click module, which means that the problem lies with the online server. Thanks
@ballashop, so in your local, the issue is solved?
HI @khouloudbelguith @Quetzacoalt91, at this point I think so. thanks for your patience.
@ballashop, It seems that your issue is not a PrestaShop's core bug but most likely a server configuration or customization problem. I close the issue, feel free to open a new one when needed. Thanks!
Describe the bug Dear staff, after update the module, see issue #11224 I try to update to the Minor release, but I've got this error: [Ajax / Server Error for action backupDb] textStatus: "error " errorThrown:" " jqXHR: " " Before each operation I backed up the database and the entire site.
To Reproduce Steps to reproduce the behavior:
Before each operation I backed up the database and the entire site.
Screenshots
Additionnal information PrestaShop version: 1.6.1.20 PHP version: 5.5 1-Click Upgrade: 4.4.0