0

I have a clean Magento 2.3.2 in docker container. After I installed sample data with bin/magento sampledata:deploy I cannot run setup:upgrade anymore even with --keep-generated parameter:

Module 'Magento_ConfigurableSampleData':
Running data recurring...Required parameter 'theme_dir' was not passed

After I remove sample data setup:upgrade works good.

I'm on Ubuntu16, the issue is not reproduced in Windows docker.

We have here a lot of answers about 'theme_dir' but I don't have any custom theme and I did not change anything in configuration nor installed any custom modules so that I decided to post a new question.


UPD: The issue had gone away when I stopped magento cronjobs. Probably it was about file permissions or some kind of locks or indexer issues.

1
  • This issue is usually down to the theme in magneto being invalid either with a custom there or incorrect permissions on the vendor folder id recommend checking the permissions on vendor if it is a new install then is going most likely be the answer Commented Aug 22, 2019 at 22:12

1 Answer 1

2

I think this is a permission issue. Try to run

sudo chmod -R 777 var/ pub/ generated/

in your Ubuntu Maschine.

1
  • I applied 0777 permissions as you suggested and stopped my cronjobs (they could affect permissions or locks). Commented Aug 23, 2019 at 15:13

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.