1

I got some errors in my system (ubuntu 18.6) when I clean my cache and setup upgrade. and I am not localhost in URL I am using IP address.

agen

In Cache clean

enter image description here

17
  • Your php version?? Commented Mar 10, 2020 at 17:03
  • PHP 7.2.24 version Commented Mar 10, 2020 at 17:16
  • Php72 bin/magento c:f try this Commented Mar 10, 2020 at 17:23
  • again get same error after cache flush. Commented Mar 10, 2020 at 17:26
  • 1
    Okay, you change the app/etc/env.php file Commented Mar 10, 2020 at 17:28

2 Answers 2

2

Go to,

And open the app/etc/env.php

Change

'host' => 'localhost',

Into

'host' => '127.0.0.1'

And the php bin/magento s:up now

Solve the issue..

0
0

It's seem to be folder permission issue Try This Command in your root directory

sudo chmod -R 777 /var/www/html/magento2
1
  • it's resolved. localhost problem. Commented Mar 17, 2020 at 15:56

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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