phonebox_plugin icon indicating copy to clipboard operation
phonebox_plugin copied to clipboard

Error on deactivating plugin

Open cuuush opened this issue 4 years ago • 0 comments

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?

cuuush avatar Sep 30 '21 21:09 cuuush