I have a d9 site with an old installation profile originally written for d8.
I was having some issues with the profile preventing the uninstallation of some modules so I tried moving the entire folder for a moment to see if that removed the profile.
Instead, it broke (WoD) the site. I moved the profile directory right back where it was but no matter what I do the site remains WoD with the message:
the profile myprofile does not exist
The directory and all the files are there. Drush just keeps throwing that error. How can I fix this?
Just to be clear: I understand I should not have moved the directory. My question is how to get the site working again. In effect, what I did was:
- Move the profile outside of
web/profiles
- visit the site + try to clear the cache with drush
- Moved the profile back to
web/profiles
The site will not work now. With modules and themes if the files are moved and replaced the site looks for them when they return, why will it not do this for the profile? Is there some entry in the DB indicating the profile is gone - if there is why would there be such a thing?