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
Search broken (for devices)... 'NoneType' object has no attribute '_base_manager' #16092
Comments
Having the same issue, but only certain searches throw this exception, it works most of the time for me. |
I've been unable to reproduce this problem on a fresh 4.0.1 installation with a bare minimum object population consisting of:
I tried several different searches which either do or do not match the solitary device, including some that match the device type and the device. If you're able to find a full stack trace in the logs, it might provide hints about which kinds of objects are implicated. One way or another, we need to be able to reproduce the problem on a clean system before we can confirm a bug. |
|
It's indeed not a fresh install but a system upgraded from the last v3 release. I've seen this bug on two such systems now. |
This issue can occur because NetBox is matching on one or more cached search results that reference a type of object which no longer exists (e.g. because a plugin was removed). If you've removed a plugin (likely due to incompatibility with v4.0), be sure to clear the global search index to remove any stale entries. |
That worked for me. Thanks |
No such luck for me. When I try to run the reindex command in the venv, I get:
|
@Azmodeszer You need to disable the topology views plugin because it is currently not compatible with v4.0 |
Oh ffs, I'm an idiot... Thanks, done and fixed now. |
I also tried the following that had helped in the past with a similar issue but no luck this time :(
|
Deployment Type
Self-hosted
NetBox Version
v4.0.1
Python Version
3.10
Steps to Reproduce
Expected Behavior
Well, you know...
Observed Behavior
Seems to only apply if the matching results contain objects of type device.
The text was updated successfully, but these errors were encountered: