iDebugAll / phonebox_plugin

A Telephone Number Management Plugin for Netbox and more
MIT License
89 stars 27 forks source link

Error on deactivating plugin #10

Open cuuush opened 3 years ago

cuuush commented 3 years ago

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?