All database errors are now being treated as if maintenance mode is enabled #12966
Labels
severity: medium
Results in substantial degraded or broken functionality for specfic workflows
status: accepted
This issue has been accepted for implementation
type: bug
A confirmed report of unexpected behavior in the application
NetBox version
v3.5.2
Python version
3.11
Steps to Reproduce
Expected Behavior
Error message that contains the db error.
Observed Behavior
Popup saying "NetBox is currently operating in maintenance mode and is unable to perform write operations. Please try again later".
This was introduced as part of #11233, more specifically #12490, which treats all errors as maintenance mode:
netbox/netbox/netbox/middleware.py
Lines 202 to 214 in 70c2b35
I think this should be guarded behind
if get_config().MAINTENANCE_MODE:
.The text was updated successfully, but these errors were encountered: