I have magento CE 2.2.2 I have a problem when i try to enable production mode.
Store give me this error:
Unable to retrieve deployment version of static files from the file system.
If i run:
php bin/magento setup:static-content:deploy -f
I have the sample problem. But if i try to add it_IT , my default language .
php bin/magento setup:static-content:deploy -f it_IT
Works! But when i run:
php bin/magento setup:upgrade
The problem returns to the origin : Unable to retrieve deployment version of static files from the file system.