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.
Teja Bhagavan Kollepara
3,8275 gold badges33 silver badges69 bronze badges
asked Aug 15, 2017 at 16:18

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.
answered Sep 14, 2017 at 21:08
0

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

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

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.