Maintenance Mode
Maintenance Mode temporarily restricts access to GeoHazardWatch for non-administrator users. While active, regular users see a maintenance notice instead of normal content. Administrators retain full access and can continue working normally.
Maintenance mode is stored in memory and resets automatically when the server restarts.
When to Use Maintenance Mode
- Performing a large import or export
- Running a manual reindex on a heavily loaded system
- Applying configuration changes that require a brief period of restricted access
- During scheduled database or file system maintenance
Enabling Maintenance Mode
- Go to Admin Dashboard
- Click Enable Maintenance in the Administrative Tools panel
- Confirm the action when prompted
A warning banner is shown on the Admin Dashboard while maintenance mode is active.
Disabling Maintenance Mode
- Go to Admin Dashboard
- Click Disable Maintenance
- Confirm the action when prompted
Users can access the platform again immediately after maintenance mode is disabled.
Behavior During Maintenance
- Regular users visiting any page see a maintenance notice with no page content
- Administrators see the platform normally with a banner indicating maintenance mode is on
- API requests from non-administrators receive an HTTP 503 response
- The server log records when maintenance mode is enabled and disabled
Notes
- Maintenance mode does not stop background processes (scans, indexing, etc.)
- It does not persist across restarts — re-enable it after restarting if needed
- There is no scheduled maintenance mode; it must be toggled manually