Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUGS-8199] Everyone except Administrators maintenance mode breaks wp-admin #47

Open
crobertwatson opened this issue May 30, 2024 · 1 comment

Comments

@crobertwatson
Copy link

Problem:

When enabling "Everyone except Administrators" in the PAPC Maintenance Mode Settings on the Live site (and probably other environments), upon logging out and then accessing the wp-admin, the user sees "Briefly unavailable for scheduled maintenance. Check back in a minute."

Steps to Reproduce:

  1. Install PAPC and deploy to Live
  2. On Live, access wp-admin and go to Settings > Pantheon Page Cache
  3. Set the Default Max Age to 604800 (1 week) if not already set
  4. Under "Maintenance Mode", select "Everyone except Administrators"
  5. Click "Save Changes"
  6. Log out of wp-admin
  7. Access wp-admin again
  8. See message "Briefly unavailable for scheduled maintenance. Check back in a minute."

Since it happens on a Live site and .maintenance is not present in the wp root directory (and isn't delete-able if it were), the workaround to get back to "Disabled" maintenance mode is to run terminus wp -- $SITE.$ENV option delete pantheon-cache to disable that setting and regain access to wp-admin.

@jazzsequence jazzsequence changed the title Everyone except Administrators maintenance mode breaks wp-admin [BUGS-8199] Everyone except Administrators maintenance mode breaks wp-admin May 31, 2024
@jazzsequence
Copy link
Contributor

Tracking internally as BUGS-8199

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants