Skip to content

Server Error when trying to access branches on netbox-docker #183

Open
@BrynjarFAune

Description

@BrynjarFAune

Plugin Version

0.5.2

NetBox Version

4.1.6

Python Version

3.12.3

Steps to Reproduce

Install a fresh netbox-docker instance following this guide, and add the netboxlabs-netbox-branching plugin.

  1. git clone netbox-docker
  2. create files plugin_requirements.txt, Dockerfile-Plugins, docker-compose.override.yml, local_settings.py
  3. add "netboxlabs-netbox-branching" to plugin_requirements.txt
  4. copy the contents of local_settings.py from here
  5. copy the contents of Dockerfile-Plugins from the top link.
  6. add "netbox_branching" to the plugin list in config/plugins.py
  7. docker-compose build --no-cache
  8. docker-compose up -d
  9. access the web interface
  10. click Branching > Branches
    image

Expected Behavior

To see the branches and be able to switch between them on the branches page.

Observed Behavior

The branches plugin appears correct in the GUI,
but I get a server error when I try accessing the Branches page.

Server Error

There was a problem with your request. Please contact an administrator.

The complete exception is provided below:

<class 'django.core.exceptions.FieldError'>

Cannot resolve keyword 'is_active' into field. Choices are: applied_changes, bookmarks, changediff, comments, conflicts, created, custom_field_data, description, events, id, jobs, journal_entries, last_sync, last_updated, merged_by, merged_by_id, merged_time, name, owner, owner_id, schema_id, status, subscriptions, tagged_items, tags

Python version: 3.12.3
NetBox version: 4.1.6
Plugins: 
  netbox_branching: 0.5.2

If further assistance is required, please post to the [NetBox discussion forum](https://github.com/netbox-community/netbox/discussions) on GitHub.

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: revisions neededThis issue requires additional information to be actionabletype: documentationA change or addition to the documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions