Skip to content
Grav 2.0 is officially stable. Read the announcement →

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

Support

Upgrade from 1.7.50.4 to 1.7.51 broke the admin interface

admin plugins

Solved by Sjoerd Smeets View solution

Started by zoof 2 months ago · 13 replies · 152 views
2 months ago

I signed into the admin interface for my site and saw that I needed to upgrade a bunch of plugins and grav itself. When I tried to do the grav upgrade, it said that I needed to upgrade the plugins first. So I tried to upgrade the plugins and that failed on the admin plugin and now the site is broken. I expect that I can fix it by signing into my VPS but I'm not sure how to go about it. Any help would be greatly appreciated!

2 months ago

Actually, the site itself still renders correctly. I just now have no access to the admin interface.

2 months ago

I have managed to upgrade everything through the command line but the admin interface is still broken.

2 months ago

What does it mean "broken"? What's the error?

2 months ago

A 404 error and it says that the page is not found.

2 months ago

Did you try searching the forum? Would this help?
/forum/plugins/update-to-grav-v1-7-50-2-destroys-admin-panel-t8209

2 months ago

I did but I obviously didn't use the correct keywords. Thank you though.

I'm not sure what I'm supposed to do here. If by root folder, they mean the folder containing "assets", "backup", "bin", "cache", etc., there is an index.php there.

2 months ago Solution

Your admin is disabled. Go to user/plugins/admin/admin.yaml
If it says enabled: false change it to enabled: true

👍 1
2 months ago

It appears to be enabled so that's not the problem.

image|690x362

2 months ago

Oops wrong path.

/user/config/plugins/admin.yaml

1 month ago

This exact thing just happened to me.

1 month ago

Something else to consider for those experiencing a similar behavior.

I had this experience a few times on multiple sites, all hosted on the same system. The Admin plugin was not disabled; instead, the update of the CORE ended with success, but upon completion, the site's main index.php file was missing.

My fix was to manually upload the index.php from the update package GitHub page.

👍 1
1 month ago

I had meant to come here to alert users of the same problem so thanks for posting. Ive had the same missing index file in nearly every upgrade I've done since about 2024 (maybe even before that), so I always make a copy of my existing index.php before I upgrade.

👍 1

Suggested topics

Topic Participants Replies Views Activity
Support · by Thomas, 1 week ago
2 53 9 hours ago
Support · by Anna, 3 days ago
2 59 12 hours ago
Support · by Justin Young, 13 hours ago
1 30 13 hours ago
Support · by Duc , 1 week ago
2 65 5 days ago
Support · by Colin Hume, 1 week ago
2 56 5 days ago