Hello, please excuse my bad english,
After updating from 2.1.2 to 2.1.3 with composer, no more stylesheets are loaded. In the source code, in the link is an addition ... / versionnnnnnnn ..., which is not present in pub / static (see pictures) . Where does it come from? Can I remove it somewhere?
thank you very much
Solved! Go to Solution.
I recommend you to re-generate all the files from the following folders (make sure to keep the .htaccess files inside those folders):
Then you can run
php bin/magento setup:static-content:deploy.
Thank you very much for your quick reply. Unfortunately it does not work. In correction to my post, I have to say that the link "... /pub/static/versionxxxxxxxxx/... instead of .../pub/static/frontend/ ... is generated. In /pub/static/frontend/all data are available (see pictures). I found out, that I have the same problems, when I make a new installation of 2.1.3. When I make a new install of 2.1.2, it works with "frontend" in the links.
Best regards from Germany
Please excuse again for answering so late. I had an installation that works but because I made many changes, I did not know, what was ultimately the solution.
In the last week I again installed a new Magento and again had the same error. After intensive comparison with the working installation I found the solution. The PHP rewrite module must be activated, which is probably not the case by default.
The command is "a2enmod rewrite" or "sudo a2enmod rewrite". Then "service apache2 restart" to restart the server. That’s all. Small thing - great effect.
Thanks again for the help and best regards from Germany