Skip to content

[Feature & Proposal] Maintenance Mode #9618

Open
@bagasme

Description

@bagasme

We can schedule a maintenance window in case we perform maintenance tasks that requires taking offline Gitea instance (such as upgrading Gitea, migrating data, scaling hardware resources, and troubleshooting system issues).

Feature:

  • Maintenance mode can be scheduled at least certain times ahead (30 minutes, 2 hours, etc.), or absolute date & time (e.g. at June 1 23:00). The window can also be scheduled now.
  • When an instance is in maintenance mode, all HTTP and Git requests should return 503 Service Unavailable error code.
  • Upon maintenance, all users would see a banner notifying about upcoming scheduled maintenance.
  • Visiting the instance's site should return maintenance landing page.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/proposalThe new feature has not been accepted yet but needs to be discussed first.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions