Opened 3 years ago

Last modified 2 years ago

#14028 new enhancement

Maintenance mode nag persists after successful upgrade

Reported by: mrmist Owned by:
Priority: normal Milestone: Future Release
Component: Upgrade/Install Version: 3.0
Severity: normal Keywords: has-patch
Cc:

Description

A number of forum users are reporting that the maintenance nag

"An automated WordPress update has failed to complete" etc.. persists after failed auto-updates even if they then successfully perform manual updates.

Looks like something is leaving $upgrading set.

Attachments (1)

14028.diff (816 bytes) - added by Denis-de-Bernardy 3 years ago.

Download all attachments as: .zip

Change History (10)

This would mean we're not removing the .maintenance file after a manual upgrade, which... we can't exactly detect.

  • Milestone changed from Unassigned to 3.0.1

No no, it means the update_core (site) transient didn't get reset as it should.

  • Milestone changed from 3.0.1 to Future Release
  • Type changed from defect (bug) to enhancement

Woops, nevermind. You're absolutely correct.

Marking this as an enhancement. We should change the message to something that prompts to delete the .maintenance file after a successful manual upgrade.

  • Keywords has-patch added
  • Keywords needs-codex added

On one hand, I would rather there just be a "Dismiss" option (which deletes the file) instead of forcing them to go into FTP and delete the file.

I suppose if they're updating manually, they're already logged in via FTP, in which case part of those instructions should be to remove .maintenance if it exists. We can add that to the Codex as a quick fix.

comment:6 follow-up: ↓ 7   mrmist3 years ago

If removing .maintenance will sort it, then I can add that to codex docs etc.

I see I can't set milestones here any more, trac permissions have changed?

comment:7 in reply to: ↑ 6   nacin3 years ago

Replying to mrmist:

If removing .maintenance will sort it, then I can add that to codex docs etc.

It will indeed.

I see I can't set milestones here any more, trac permissions have changed?

Yes.

  • Keywords needs-codex removed

Fair enough. I've altered the Codex manual update instructions to reference the .maintenance file.

comment:9   dd322 years ago

  • Component changed from General to Upgrade/Install
Note: See TracTickets for help on using tickets.