This is a new install of 2.3.2 installed under apache2 wwwroot/test
URL was wwwroot.com/test
Set up my store, everything is good.
Change the base url and base link url for secure and unsecure to wwwroot.com
Moved the files from wwwroot/test to wwwroot
Frontend is working fine
Backend: image at sign in not loading, menu and most links not working.
Other than clearing cache and browser cache, I don't know what else to do.
Please help.
Hello @naps1saps ,
Please try to deploy the static contents by :
bin/magento setup:static-content:deploy -f
I hope this will help you.
If it helps you, please accept it as solution and give kudos.
egards
hello @naps1saps
I agree @Sarvagya Pandey you need to run deploy command after change in base url
Please run following commands and try admin url
php bin/magento setup:static-content:deploy -f php bin/magento cache:clean php bin/magento cache:flush
If my answer is useful Click Kudos and Accept as solution
Sounds like a permission issue of some kind. I ran the deploy static content and got this for the backend and a whole string of red errors:
In File.php line 151: The contents from the "/wwwroot/pub/static/adminhtml/Magen to/backend/en_US/extjs/resources/css/ytheme-magento.css" file can't be read . Warning!file_get_contents(/wwwroot/pub/static/adminhtml/ Magento/backend/en_US/extjs/resources/css/ytheme-magento.css): failed to op en stream: No such file or directory
Tried resetting the permissions according to the install documentation but it had no effect. If I move everything back to the way it was, it works fine.
It feels like a permission or a file linking issue. Very strange.
Should I post this as a bug?
Hello @naps1saps
For setting right permissions you can follow magento dev docs
https://devdocs.magento.com/guides/v2.3/install-gde/prereq/file-system-perms.html
cd <magento_root> find var generated vendor pub/static pub/media app/etc -type f -exec chmod u+w {} + find var generated vendor pub/static pub/media app/etc -type d -exec chmod u+w {} + chmod u+x bin/magento
you can also post it as a issue but make sure to provide all steps to reproduce the issue on latest version of Magento 2
If My Answer is Useful Click Kudos and Accept as Solution
So instead of moving the magento folder to where I wanted it, I changed the Apache config to point to the folder instead.
Basically instead of the root being wwwroot/site/
Changed it to wwwroot/site/test/
This works fine which supports my theory there is something wrong with the file path links.
I confirmed a new test install has the same problem I experienced so I'm going to submit a bug report but at least I found a solution for the short term.