Abdurahman-Amat Posted November 25, 2024 Share Posted November 25, 2024 (edited) Hi everyone, I have been using Prestashop for several years and performing the upgrade process by using the 1-Click-Upgrade module. Currently, Prestashop 8.1.6 is running on a FreeBSD 13.3-RELEASE-p1 amd64 and PHP Version is 8.1.28 . I wanted to upgrade to Prestashop 8.2.0, which is the recommende stable version. I did following usual necessary steps to upgrade the shop, 0. Activate the maintance mode 1. Make the shop folder on server writable with "chmod -R 777 ./<shop folder name>" 2. Deactivate the Payment method My 1-Click-Upgrade module is the latest version v 6.2.0 and showed all Prestashop requirements for an Upgrade are fulfilled, as shown below (in German). The istalled version of PHP is 8.1.28, which is also recommended version. I think the PHP Version should not be the problem. However, when I click to upgrade the refresh symbol (or processing symbol) was displayed for ca. 2 seconds (I showed it with an arrow), then stopped without any message, no error, nothing. Just stopped. This is weird. I searched the entire internet, but couldn't find any clue about this. I am looking for a hint and advice from your guys. Thank you! Edited November 25, 2024 by Abdurahman-Amat (see edit history) Link to comment Share on other sites More sharing options...
Prestashop Addict Posted November 25, 2024 Share Posted November 25, 2024 Hi, can you check your error log file? Link to comment Share on other sites More sharing options...
Abdurahman-Amat Posted November 26, 2024 Author Share Posted November 26, 2024 (edited) 16 hours ago, Prestashop Addict said: Hi, can you check your error log file? hi, i am searching for the right error log file. The app is installed under /usr/local/www/ and there are three directories apache24, <my-prestashop-directory-name>, phpMyAdmin . I actually looked for the words "error", "log", "update" with the builtin grep command on this FreeBSD machine, but for each of that search i got tons of outputs. At least several hundered outputs for each keyword seach. . There must be a way for a goal oriented, i mean somewhat more concret, searching of the cause. The shop is running normally with the version Prestashop 8.1.6, PHP 8.1.28 . Again, the problem is that the upgrade from Prestashop 8.1.6 to Prestashop 8.2.0 with 1-click-upgrade v 6.2.0 failed without any error and any message. Thank you for your comment , by the way! Edited November 26, 2024 by Abdurahman-Amat (see edit history) Link to comment Share on other sites More sharing options...
Prestashop Addict Posted November 26, 2024 Share Posted November 26, 2024 Try to set PS debug mode before runnning upgrade and look at xhr response en browser console to see the error detail Link to comment Share on other sites More sharing options...
Abdurahman-Amat Posted November 26, 2024 Author Share Posted November 26, 2024 (edited) 3 hours ago, Prestashop Addict said: Try to set PS debug mode before runnning upgrade and look at xhr response en browser console to see the error detail Hi, thanks for your tip! I enabled the Debug Mode and opened the Developer Tools window of Chrome Browser . When I click the Upgrade button, the following error is occured. I thought the POST method to send a "ajax-upgradetab.php" file to .../admin***/autoupgrade/ forlder, when the Upgrade option of the 1-Click-Upgrade is clicked. This sending was failed and the handshaking ckeck is showing that "net::ERR_EMPTY_RESPONSE" error. Am i at least partially right? 1. Meanwhile I change edited the php.ini file and changed "UPLOAD_MAX_FILESIZE" to 200M (it was 10M) and "max_file_uploads" to 200 , "Max_execution_time" to 3000 . 2. I checked the permission of the .../autoupgrade/ directory and gave 777 , with "chmod -R 777 <that directory>" permission that it is definitely writable. Unfortunately, the upgrade was not successful and still showing the same error on the Browser Console. Any hint would be highly appreciated! Edited November 26, 2024 by Abdurahman-Amat (see edit history) Link to comment Share on other sites More sharing options...
Prestashop Addict Posted November 26, 2024 Share Posted November 26, 2024 Please look at network tab and response tab Link to comment Share on other sites More sharing options...
Abdurahman-Amat Posted November 27, 2024 Author Share Posted November 27, 2024 19 hours ago, Prestashop Addict said: Please look at network tab and response tab Hi, here are some error infors from the Network tab of the "Developer Tools" window of Chrome This error is occured when I press the "Upgrade" button. And I tried to refresh the page with "Refresh" symbol, then this happned. The page was not reachable, due to some internet network problem. The refresh works when I close the "Developer Tools" window of the Chrome browser. My desktop PC is connected to the internet via a proxy server. Does this reaching internet via Proxy server have anything to do with this problem? Link to comment Share on other sites More sharing options...
Prestashop Addict Posted November 27, 2024 Share Posted November 27, 2024 il y a 6 minutes, Abdurahman-Amat a dit : My desktop PC is connected to the internet via a proxy server. Does this reaching internet via Proxy server have anything to do with this problem? Maybe you should try w/o proxy. Link to comment Share on other sites More sharing options...
Abdurahman-Amat Posted November 27, 2024 Author Share Posted November 27, 2024 1 hour ago, Prestashop Addict said: Maybe you should try w/o proxy. Thanks a lot! I switched to another computer without Proxy and with wired internet connection. The above error "ERR_INTERNET_DISCONNECTED" is disappreared. But when I press the Upgrade button i have still this annoying error with .../autoupgrade/ajax-upgradetab.php and says that "Failed to load resource: net::ERR_EMPTY_RESPONSE" Under the network tab, i dont see any error information. Link to comment Share on other sites More sharing options...
Prestashop Addict Posted November 27, 2024 Share Posted November 27, 2024 Network tab is more explicit for error. Are you un debug mode? Link to comment Share on other sites More sharing options...
musicmaster Posted December 14, 2024 Share Posted December 14, 2024 On 11/27/2024 at 2:22 PM, Abdurahman-Amat said: Thanks a lot! I switched to another computer without Proxy and with wired internet connection. The above error "ERR_INTERNET_DISCONNECTED" is disappreared. But when I press the Upgrade button i have still this annoying error with .../autoupgrade/ajax-upgradetab.php and says that "Failed to load resource: net::ERR_EMPTY_RESPONSE" Under the network tab, i dont see any error information. This is an ajax error. I wrote a post a long time ago about how to analyze it. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now