Magento2: [500] Internal Server Error after upgrade magento from 2.1.11 to 2.2.2

Created on 30 Jan 2018  路  2Comments  路  Source: magento/magento2


Prec

  1. Upgrade magento 2.1.11 to 2.2.2 via Composer
  2. System Debian 9.

Steps to reproduce

  1. Update magento SSH to 2.2.2 via command line:
composer require magento/product-community-edition 2.2.2 --no-update
composer update
rm -rf var/cache/*
rm -rf var/page_cache/*
rm -rf var/generation/*
bin/magento setup:upgrade
bin/magento cache:clean
bin/magento cache:flush

Expected result

  1. The update has been successful, my magento version is now 2.2.2 - OK

Actual result

  1. Now that I'm viewing my page I see a error code:
[500] Internal Server Error : Wewn臋trzny b艂膮d serwera
--
聽 | Wewn臋trzny b艂膮d serwera (np. zawieszenie programu CGI) lub b艂膮d konfiguracji. Prosz臋 skontaktowa膰 si臋 z administratorem聽[email protected]聽i poinformowa膰 go o czasie pojawienia si臋 b艂臋du wraz z podaniem innych informacji, kt贸re mog艂y by膰 przyczyn膮 b艂臋du.
聽 | 聽
聽 | The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server [email protected]聽and inform them of the time the error occured and anything you might have done that may have caused the error.

LOGS:
[2018-01-30 17:54:27] main.CRITICAL: Asymmetric transaction rollback. {"exception":"[object] (Exception(code: 0): Asymmetric transaction rollback. at /home/brandswearxv/ftp/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php:316)"} []

Format is not valid

Most helpful comment

solutions:
(1)reinstall magento because of database not setup well.
(2)rename root folder's .htaccess file. then restart apache and execute the project.

All 2 comments

solutions:
(1)reinstall magento because of database not setup well.
(2)rename root folder's .htaccess file. then restart apache and execute the project.

Rahul, thanks. I rename htaccess file and now all works!

Was this page helpful?
0 / 5 - 0 ratings