Replies: 1 comment 1 reply
-
There might be some options available or coming soon.
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I use the connection-pooler
pgbouncer
in my NetBox environment and went to start usingnetbox-branching
and have run into issues so wanted to share my findings/notes here in hopes that a solution can be found.Upon launching NetBox with the plugin installed, this error is raised:
unsupported startup parameter in options: search_path
That had me searching around and I found this relevant issue/comment: #165 (comment)
and some other related discussions around the internet:
Some of the "solutions" out there say you can add one of these options to your pgbouncer config:
and that does get things partially working. NetBox loads, and branches can be created. Creating a new branch in NetBox shows "
Changes Ahead
" counts/lists populated with data - but it's a brand new branch off of main so there shouldn't be any changes to speak of.Removing pgbouncer from the equation and having NetBox connect directly to the database makes this issue go away. So clearly without
search_path
support today, netbox-branching appears to not do a real diff.I attempted merging the branch anyway, just to see what happens, and it failed due to the
Device matching query does not exist.
- since in reality, that device had already been deleted in the past in main.Abbreviated log output of attempted merge:
Beta Was this translation helpful? Give feedback.
All reactions