NetBox v4.0.7 start fails with: "connection failed: connection to server at <ip>, port 5432 failed: session is read-only" #17026
-
I am trying to install NetBox 4.0.7 via the netbox community helm chart.
I found following discussion, which indicates a similiar problem but with an older netbox version and there is also not really a solution: #13994 I applied set the variable I can see that the migration was successful, but the connection after the migration is just not working. Fullstack trace:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I fixed the problem with setting externalDatabase:
...
connMaxAge: 300
disableServerSideCursors: true
targetSessionAttrs: any |
Beta Was this translation helpful? Give feedback.
I fixed the problem with setting
externalDatabase.targetSessionAttrs: any
.So my database configurations look like this: