Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'NoneType' object has no attribute '_base_manager' after adding the plugin to netbox #57

Open
annguyenphucbao opened this issue Apr 10, 2023 · 0 comments

Comments

@annguyenphucbao
Copy link

annguyenphucbao commented Apr 10, 2023

  1. Download the release in: https://github.com/ffddorf/netbox-vault-secrets/releases
  2. Put that tarball downloaded in the root folder of netbox-docker
  3. I installed the release in Dockerfile-Plugin as below:
FROM netboxcommunity/netbox:latest

COPY ./netbox_vault_secrets-0.0.1.tar.gz / 
RUN /opt/netbox/venv/bin/pip install --no-warn-script-location /netbox_vault_secrets-0.0.1.tar.gz
COPY configuration/configuration.py /etc/netbox/config/configuration.py
RUN SECRET_KEY="dummy" /opt/netbox/venv/bin/python /opt/netbox/netbox/manage.py collectstatic --no-input
  1. Then I add the plugin to the Netbox configuration
  2. Try building and start the netbox

I got below error:

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

The complete exception is provided below:

<class 'AttributeError'>

'NoneType' object has no attribute '_base_manager'

Python version: 3.10.6
NetBox version: 3.4.7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant