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

error during updating netbox to netbox version 4.2.0 #25

Open
mhdan opened this issue Jan 7, 2025 · 3 comments
Open

error during updating netbox to netbox version 4.2.0 #25

mhdan opened this issue Jan 7, 2025 · 3 comments

Comments

@mhdan
Copy link

mhdan commented Jan 7, 2025

I am using the docker version of netbox, and then I try to update it to the latest version, 4.2.0, I encounter the below error.

6.104 django.core.exceptions.ImproperlyConfigured: Plugin nb_service requires NetBox maximum version 4.1.99 (current: 4.2.0).\

maybe you need to update your code to support the latest version

@renatoalmeidaoliveira
Copy link
Owner

Hello @mhdan , thanks for oppening the issue, please update the plugin to version 4.2.0

@mhdan
Copy link
Author

mhdan commented Jan 8, 2025

thanks for your fast response,
when I try to update plugin to version 4.2.0 and netbox 4.2.0 after building during the initialize step I encounter another error

postgres-1     | 2025-01-08 06:37:38.401 UTC [1] LOG:  listening on IPv6 address "::", port 5432
postgres-1     | 2025-01-08 06:37:38.406 UTC [1] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
postgres-1     | 2025-01-08 06:37:38.429 UTC [29] LOG:  database system was shut down at 2025-01-08 06:36:50 UTC
postgres-1     | 2025-01-08 06:37:38.453 UTC [1] LOG:  database system is ready to accept connections
netbox-1       | ValueError: Invalid field name/lookup on mac_address: interfaces__mac_address
netbox-1       | [ Use DB_WAIT_DEBUG=1 in netbox.env to print full traceback for errors here ]
netbox-1       | ⏳ Waiting on DB... (0s / 30s)
netbox-1       | ValueError: Invalid field name/lookup on mac_address: interfaces__mac_address
netbox-1       | [ Use DB_WAIT_DEBUG=1 in netbox.env to print full traceback for errors here ]
netbox-1       | ⏳ Waiting on DB... (3s / 30s)
netbox-1       | ValueError: Invalid field name/lookup on mac_address: interfaces__mac_address
netbox-1       | [ Use DB_WAIT_DEBUG=1 in netbox.env to print full traceback for errors here ]

this setup is working with plugin version 4.0.0 and netbox 4.1.11 so I don't change anything in the mac address and or config of netbox

is this issue is related to new update of this plugin?

@renatoalmeidaoliveira
Copy link
Owner

Hello @mhdan, that issue doesn't seen to be related with nb_service. Have you tried to disable all plugin in configuration.py, upgrade your NetBox and enable the plugins again?

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

2 participants