I had an issue updating the admin plugin of my website, when updating it complained about the directory of the admin plugin itself not being empty.
I disabled the admin plugin from de web interface, not realizing that this would trow me out.
I went to cli with the hope to be able to re-enable the plugin.
in the admin.yaml file the plugin is enabled. I tried reinstalling the plugin with gpm/install plugin, to no avail.
when I try to reach https:///admin I get a 400 not found page.
A 400 error is odd. Is https:///admin a real thing?
400 Bad Request
The server cannot or will not process the request due to an apparent client error (e.g., malformed request syntax, size too large, invalid request message framing, or deceptive request routing).
I tried uninstalling using bin/gpm but the uninstall failed with the following error:
Cannot override frozen service “login”.
I tried manually removing the admin folder from the user/plugins directory
and then reinstalling using /bin/gpm install admin (to no avail)
I tried installing using /bin/grav but that seems to be for grav skeletons, not for plugins, or am i mistaken?
I finally found and solved the issue,
apart from the admin.yaml file in user/plugins/admin/
there is an admin.yaml file in user/config/plugins/admin
this yaml file also holds a configuration option “enabled” to enable/disable the admin plugin, which was set to “false”
changing it to true resolved the issue.