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 on deactivating plugin #10

Open
cuuush opened this issue Sep 30, 2021 · 0 comments
Open

Error on deactivating plugin #10

cuuush opened this issue Sep 30, 2021 · 0 comments

Comments

@cuuush
Copy link

cuuush commented Sep 30, 2021

I'm getting an exception when loading the Netbox Dashboard after removing phonebox_plugin from my configuration.py
The exception is:
AttributeError: 'NoneType' object has no attribute '_base_manager'
I've discovered after a lot of confusion that the problem is with the Event Log feature, as adding a phone number creates an event log entry. After removing the plugin and un-migrating the models, the Event Log throws the AttributeError.

What would be a good solution to get around this? The idea of "uninstalling" a plugin doesn't really exist in the netbox documentation. Is the only solution to go into the postgresql database and remove all references?

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