Skip to content

Maintenance Mode active, app still trying to write to DB #6219

Answered by candlerb
oversize asked this question in Q&A
Discussion options

You must be logged in to vote

This came up before: see google groups.

In short, when you login, by default Netbox/Django updates the sessions table, so it doesn't work against a read-only database or replica.

Using SESSION_FILE_PATH (see #2426) might work. There was also a feature request for cookie-based sessions (#3050, #3118) and there's more info in those tickets.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@oversize
Comment options

Answer selected by oversize
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants