Hi all,
after spending some hours with this issue I now dare to ask. I think I have overseen something stupid. And yes, I i have all sorts of tutorials read... My problem: Site is working properly in developer mode. After switching in production mode my, I run static content deploy command wich runs without any errors. But after that admin and frontend are missing all styles. Seems although deploy command works, static files are not written, pub/static is missing files and console error says require.config failed to load. strangely, I seem to have the opposite problem of those who have in the developer mode problems with the symlinks, because the developer mode with the symlinks works wonderfully, the symlinks are written without problems in pub / static. Version 2.1.7
Can you try once by removing version number by just following below article:
After that just run static-content deploy command and cache:flush command. Please check your files and folders too. Thanks
Check the base URL which is being used for css/js/media files and it might be issue of permission of pub/media pub/static folder, please give permission by below command :
chmod -R 777 pub/media/ pub/static/ var/
deploy static-content with below commands :
php bin/magento setup:upgrade php bin/magento setup:static-content:deploy php bin/magento cache:flush