I tried updating from magento 2.2.3 to 2.2.4 using the web setup wizard.

However the upgrade finishes with a fatal error. I login to my admin and it shows that it is 2.2.4 however when I go to the web setup wizard, I get the same fatal error page.

enter image description here

  • Try after deleting cache and generated folders in private browser window. – kunj May 18 '18 at 21:19
  • you can use command line. Its fast method – Sourav May 19 '18 at 3:00
bin/magento maintenance:enable
composer require magento/product-community-edition 2.2.4 --no-update
composer update
rm -rf var/cache/*
rm -rf var/page_cache/*
rm -rf generated
chmod +x bin/magento
bin/magento setup:upgrade
bin/magento maintenance:disable
  • That did not work. However I changed the 'db' value to 'Files' in env.php. and it works. – James Tsai May 19 '18 at 22:24

You should access to the file app/etc/env.php then fix this command from:

'session' => [
'save' => 'db'

To :

'session' => [
'save' => 'files'

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.