1

I have a Magento 2 based website on an AWS EC2 and an AWS RDS.

I would like to setup AWS ElastiCache Redis for the Magento page and default cache.

I am following the documentation provided here: http://devdocs.magento.com/guides/v2.1/config-guide/redis/redis-pg-cache.html

As soon as I add cache tag to env.php file, Magento stops working and I get the error:

 [InvalidArgumentException]
  There are no commands defined in the "cache" namespace.

1 Answer 1

0
Step 1 - sudo rm -rf var/di/* var/generation/* var/cache/* var/page_cache/* var/view_preprocessed/* var/composer_home/cache/*
Step 2 - sudo chmod 777 var -R
Step 3 - sudo chmod 777 pub -R
Step 4 - sudo php bin/magento setup:static-content:deploy
Repeat step 2 & 3.
0

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.