I have a Magento 2 store which throws an error when entering production mode.
bin/magento deploy:mode:set production
Runs most the way until hitting deploy static content:
Something went wrong while deploying static content. See the error log for details.
Command returned non-zero exit code: `/usr/bin/php7.0 -f /var/www/mage2/public_html/bin/magento setup:static-content:deploy -f en_GB en_US`
I can however run deploy static content without an error it seems.
In my logs i am getting a few errors for the theme with theme_dir not passed.
[InvalidArgumentException] Required parameter 'theme_dir' was not passed
I am unsure why these are set to en_US however as would like them en_GB. I have all the themes set in the correct folders however i believe and am unsure how to resolve this error.