Kani999 / netbox-attachments

Plugin to manage attachments for any model
Apache License 2.0
55 stars 4 forks source link

Missing instructions at install #35

Closed johan-kummeneje-complior closed 2 weeks ago

johan-kummeneje-complior commented 1 year ago

Hi, after some debugging it turned out that the directory for the attachments were needed to be manually created and chmodded to netbox user. That would be helpful to have in the installation instructions.

Kani999 commented 1 year ago

I'll try to take a look at it. I'm using a netbox-docker installation. I will do a fresh installation and I try to reproduce the problem.

I have no experience with installing netbox manually.

MROSSFTEK commented 4 months ago

where do you create this folder?

Kani999 commented 4 months ago

@MROSSFTEK folder should be created automatically. My folder path is at /opt/netbox/netbox/media/netbox-attachments

mjf commented 2 weeks ago

I confirm this issue, I had to do:

mkdir -p /opt/netbox/netbox/media/netbox-attachments
chown netbox:netbox /opt/netbox/netbox/media/netbox-attachments

This step SHOULD be documented. It took me a little time to figure it out. :grinning:


Another step I had to do and is also not mentrioned in the installation documentation is to run database migration for the plugin.