Skip to content
Discussion options

You must be logged in to vote

Almost certainly it's something wrong with one of your custom scripts.

To get a backtrace, set ADMIN and EMAILS in configuration.py (and it will be E-mailed to you), or set DEBUG=True (and you'll get it in the web interface). This will tell you exactly which file is at fault.

The error suggests that there's a script where someone has put ObjectVar() instead of ObjectVar(ModelClass) - see docs.

Check all files under /opt/netbox/netbox/scripts/ - although as I say, it's easier if you get a backtrace as it will tell you exactly which one.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@eudjinnl
Comment options

@candlerb
Comment options

@eudjinnl
Comment options

Answer selected by eudjinnl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants