Georgy Goshin Posted December 26, 2020 Share Posted December 26, 2020 (edited) Hello Upgrading from 1.7.6.7 to 1.7.7.0 failed on the last step, upgrading the database, with the message "internal server error". All files upgraded. Now upgrading database...[Ajax / Server Error for action upgradeDb] textStatus: "error " errorThrown:"Internal Server Error " jqXHR: " Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator at webmaster@shop. to inform them of the time this error occurred, and the actions you performed just before this error. More information about this error may be available in the server error log. [Sat Dec 26 21:19:32.466663 2020] [:error] [pid 6041:tid 139883318339328] [client 192.168.172.107:52112] PHP Warning: require(/home/pohjamar/public_html/shop/vendor/composer/platform_check.php): failed to open stream: No such file or directory in /home/pohjamar/public_html/shop/vendor/composer/autoload_real.php on line 25, referer: https://shop./admin403z0ouvf/index.php?controller=AdminSelfUpgrade&conf=6&token=8a693e4bdbaa6db99271478025eeebd1 [Sat Dec 26 21:19:32.467041 2020] [:error] [pid 6041:tid 139883318339328] [client 192.168.172.107:52112] PHP Warning: require(/home/pohjamar/public_html/shop/vendor/composer/platform_check.php): failed to open stream: No such file or directory in /home/pohjamar/public_html/shop/vendor/composer/autoload_real.php on line 25, referer: https://shop./admin403z0ouvf/index.php?controller=AdminSelfUpgrade&conf=6&token=8a693e4bdbaa6db99271478025eeebd1 [Sat Dec 26 21:19:32.467448 2020] [:error] [pid 6041:tid 139883318339328] [client 192.168.172.107:52112] PHP Fatal error: require(): Failed opening required '/home/pohjamar/public_html/shop/vendor/composer/platform_check.php' (include_path='.:/opt/alt/php72/usr/lib/php') in /home/pohjamar/public_html/shop/vendor/composer/autoload_real.php on line 25, referer: https://shop./admin403z0ouvf/index.php?controller=AdminSelfUpgrade&conf=6&token=8a693e4bdbaa6db99271478025eeebd1 [Sat Dec 26 21:23:26.615614 2020] [core:error] [pid 6041:tid 139883192448768] [client 192.168.172.107:52278] Script timed out before returning headers: ajax-upgradetab.php, referer: https://shop./admin403z0ouvf/index.php?controller=AdminSelfUpgrade&conf=6&token=8a693e4bdbaa6db99271478025eeebd1 Edited December 26, 2020 by Georgy Goshin (see edit history) Link to comment Share on other sites More sharing options...
Georgy Goshin Posted December 26, 2020 Author Share Posted December 26, 2020 (edited) Increasing memory and execution time did not changed the situation I made an update first 1.7.6.8 and then to 1.7.6.9 but update to 1.7.7.0 failed same way Edited December 27, 2020 by Georgy Goshin (see edit history) Link to comment Share on other sites More sharing options...
musicmaster Posted December 28, 2020 Share Posted December 28, 2020 It says it is missing files. So check whether those files are really missing. And if they are missing copy them from a fresh installation of the same PS version. Link to comment Share on other sites More sharing options...
Georgy Goshin Posted December 29, 2020 Author Share Posted December 29, 2020 Quote It says it is missing files. So check whether those files are really missing. And if they are missing copy them from a fresh installation of the same PS version. /vendor/composer/platform_check.php is not present in original version (1.7.6.9). Neither in installed not in downloaded .zip file. Link to comment Share on other sites More sharing options...
musicmaster Posted December 30, 2020 Share Posted December 30, 2020 According this link platform_check,php is an autogenerated file. Makes me wonder what php version you are running. https://php.watch/articles/composer-platform-check Link to comment Share on other sites More sharing options...
musicmaster Posted December 30, 2020 Share Posted December 30, 2020 (edited) Try also making a bug report at https://github.com/PrestaShop/PrestaShop/issues Prestashop staff seldom looks at the forum. They are focused on Github. Edited December 30, 2020 by musicmaster (see edit history) Link to comment Share on other sites More sharing options...
Georgy Goshin Posted December 31, 2020 Author Share Posted December 31, 2020 23 hours ago, musicmaster said: According this link platform_check,php is an autogenerated file. Makes me wonder what php version you are running. https://php.watch/articles/composer-platform-check I tried 7.2 and 7.4, the result is the same. Link to comment Share on other sites More sharing options...
musicmaster Posted December 31, 2020 Share Posted December 31, 2020 Did you clean the cache after you changed PHP versions? Link to comment Share on other sites More sharing options...
Georgy Goshin Posted January 3, 2021 Author Share Posted January 3, 2021 On 12/31/2020 at 1:33 PM, musicmaster said: Did you clean the cache after you changed PHP versions? I will try, but it seems not to be cache related. Error was first seen with 7.2 version Link to comment Share on other sites More sharing options...
Juampe Ruiz Posted February 20, 2022 Share Posted February 20, 2022 I'm facing the same issue trying to update to the last update in feb 22. Any knows that the problem is? 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