I changed it to default mode by using this path /apps/magento/htdocs/app/etc/env.php (i am using AWS Lightsail, this is why my path is different) then find where it says developer, and change it to default.

'MAGE_MODE' => 'default',

I checked in on my SSH and it says Default

now that i have done that and i type my instance ip in the browser... I still can't get into my Magento 2 opensource dash.

Is there another way?

this is what it says when when i try to open magento dash by typing my IP address in the url: There has been an error processing your request Exception printing is disabled by default for security reasons.

Thank you

  • 1
    You can check What expception it fired at : /apps/magento/htdocs/var/report. Mar 22, 2018 at 5:04
  • got it Just Flush cache on ssh thank you for all your help. for AWS==== sudo /opt/bitnami/apps/magento/htdocs/bin/magento cache:flush thank you. Mar 22, 2018 at 5:12
  • If you found the answer, please up rate my above comment, thanks. Mar 22, 2018 at 5:25

1 Answer 1


You can change magento mode from either env.php or cli, after changing the mode you have to clear following folders too :


But best way is to change mode using cli as it performs all related actions to set magento mode, You can find all helping material on magento docs here :


Your Answer

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

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