After upgrading netdoc the library directory keeps getting removed and I need to add it back manually. Should it not be downloaded and extracted with the installer?
An exception occurred: FileNotFoundError: [Errno 2] No such file or directory: '/opt/netbox/venv/lib/python3.10/site-packages/netdoc/library/Cisco.yml'
Traceback (most recent call last):
File "/opt/netbox/netbox/extras/scripts.py", line 476, in _run_script
script.output = script.run(data=data, commit=commit)
File "/opt/netbox/netbox/scripts/NetDoc.py", line 290, in run
log_ingest(log)
File "/opt/netbox/venv/lib/python3.10/site-packages/netdoc/utils.py", line 384, in log_ingest
module.ingest(log)
File "/opt/netbox/venv/lib/python3.10/site-packages/netdoc/ingestors/netmiko_cisco_nxos_show_inventory.py", line 30, in ingest
device.update(
File "/opt/netbox/venv/lib/python3.10/site-packages/netdoc/schemas/device.py", line 119, in update
model_o = create_manufacturer_and_model(
File "/opt/netbox/venv/lib/python3.10/site-packages/netdoc/schemas/device.py", line 168, in create_manufacturer_and_model
netbox_model = utils.find_model(
File "/opt/netbox/venv/lib/python3.10/site-packages/netdoc/utils.py", line 326, in find_model
with open(library_file, "r", encoding="utf-8") as vendor_fh:
FileNotFoundError: [Errno 2] No such file or directory: '/opt/netbox/venv/lib/python3.10/site-packages/netdoc/library/Cisco.yml'
After upgrading netdoc the library directory keeps getting removed and I need to add it back manually. Should it not be downloaded and extracted with the installer?
As you can see the entire directory is missing.