Each time I deploy some changes and run,

cache clean 

commands I face these issues?

Anyone ??

I have deployed child theme and after that, I have run these commands

Front End

Back end****


You can run setup:upgrade without updating static content using the --keep-generated flag. Here is full example (for the www-data user and running using default php interpreter on ubuntu):

sudo -u www-data php bin/magento setup:upgrade --keep-generated
  • I have applied it as well but still same – Anonymous Record Jan 22 '20 at 12:11
  • @HafsaZulfiqar it could be permission issue. Check is you are using right user when run a command. – Siarhey Uchukhlebau Jan 22 '20 at 12:15
  • But when I enable the production mode then It works fine – Anonymous Record Jan 22 '20 at 12:21

Kindly run "php bin/magento s:s:d" command which is for static content deployment that keeps the static files in you cache. Basically after every time you run setup:upgrade it will destroy all the cached files that's why you need to run this command after upgrade.

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.