-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Preserve image-attachments directory on upgrade #1341
Comments
This might get murky when dealing with symlinks (e.g. |
I agree symlinks underneath the the /opt/netbox symlink would get hairy, but that seems like the simplest option Looks like media/ is served by django directly, could we not just have a config option to point that elsewhere? |
Yeah, I think exposing it as a config option makes sense. |
+1 for making it a config option. That seems the least insane way to handle this ;) |
There's a config option for this already, |
…g to specify where uploaded files are stored on disk
Feature Request:
I couldn't find it anywhere obvious, but during the upgrade process it is necessary to move the image-attachments directory contents to the new path. Also (at least for my installation) i have to chown to the netbox user on that folder.
I'm curious if we could get the process bundled into the upgrade.sh (maybe just move the contents from the old netbox symlink?). I'd be happy with a config option to point the image-attachments directory somewhere else on the filesystem if not.
The text was updated successfully, but these errors were encountered: