Migration errors
Closed this issue · 1 comments
Plugin version
1.2.1
netbox-plugin-extensions version
1.0.4
NetBox version
3.2
Python version
3.9
Steps to Reproduce
After python3 netbox/manage.py migrate i see error
File "/usr/local/lib/python3.9/importlib/__init__.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 1030, in _gcd_import File "<frozen importlib._bootstrap>", line 1007, in _find_and_load File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 680, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 850, in exec_module File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed File "/opt/netbox/netbox/netbox/settings.py", line 613, in <module> plugin_config.validate(PLUGINS_CONFIG[plugin_name], VERSION) File "/opt/netbox/netbox/extras/plugins/__init__.py", line 108, in validate raise ImproperlyConfigured( django.core.exceptions.ImproperlyConfigured: Plugin netbox_config_backup requires 'repository' to be present in the PLUGINS_CONFIG section of configuration.py.
PLUGIN_CONFIG = {
'netbox_config_backup': {
# Parent folder must exist and be writable by your RQ worker and readable by the WSGI process
'repository': '/tmp',
Expected Behavior
Successful migration
Observed Behavior
raise ImproperlyConfigured(
django.core.exceptions.ImproperlyConfigured: Plugin netbox_config_backup requires 'repository' to be present in the PLUGINS_CONFIG section of configuration.py.
Found the problem. In your documentation, you need to change PLUGIN_CONFIG to PLUGINS_CONFIG