I tried every possible solution on this forum and nothing works:
php bin/magento setup:upgrade
php bin/magento cache:clean
php bin/magento setup:static-content:deploy
core_config_data dev/static/sign to 0
chmod -R 777 var/* pub/*
chown -R user:webgroup pub/static
app/etc/di.xml
Options +FollowSymLinks
Options +SymLinksIfOwnerMatch
Magento\Framework\App\View\Asset\MaterializationStrategy\Copy
rewrite_mod enable
1) Set Magento 2 developer mode.
sudo php bin/magento deploy:mode:set developer
2) Remove Static Content for adminhtml.
sudo rm -rf pub/static/adminhtml/*
3) try forced Content Deploy
sudo php bin/magento setup:static-content:deploy -f
4) Give permission to pub, var, generated
sudo chmod -Rv 777 pub var generated
I deleted also the cache, the static/* , put the .htaccess from pub folder, I tried everything so please somebody help me with this nightmare.
Magento is for make everything easier but I totally disagree, since I use magento everything is more complex and always something is failing.
