I have the same problem as many people, I spent more than 20 hours studying this, and none of the solutions work. - I did a fresh clean install of magento 2 on a VPS server with all the correct php extensions, etc. - and the installation is going fine ... click on the main page and I donβt get CSS, same thing in the administration area.
Everyone seems to be saying that this is a solution, but it does not work. CSS / js Image Does not appear after installing Magento 2.
First time: resolving your pub / static directory.
Remember that you must do permission to 644 files and to 755 directory.
It should have three directories. If you do not come to the second reason.
Second time: you need to deploy your static file using the PHP command line.
First you have to go to the root of the magento installation and run the php bin / magento setup command: static-content: deploy All the necessary file will be generated, which will be loaded after this command successfully runs, change the file resolution of the following directories to 755 pub / static / interface / pub / static / adminhtml PUB / static / _requirejs
I reinstalled magento, restarted the web server, did everything, I just did that the new clean installation of Magento 2 directly from Magento was broken and could not be fixed. I would expect it to at least work out of the box.
Any help would be greatly appreciated, I really need this store, and I can't even get started. Here's what it looks like when you hit the page:
This is what I get http://portraitsreno.com/error.jpg
source share