Media directory not created by default #11947

Open
opened 2025-12-29 21:51:48 +01:00 by adam · 0 comments
Owner

Originally created by @GunniBusch on GitHub (Dec 23, 2025).

Change Type

Addition

Area

Installation/upgrade

Proposed Changes

In the installation instructions, when you are instructed to chown the directories, the command sudo chown --recursive netbox /opt/netbox/netbox/media/does not work since the directory /opt/netbox/netbox/media/is not available by default. At least when using the release based install method.

Posible solution

Add instructions to create the directory /opt/netbox/netbox/media/ after each upgrade and install before changing directory permissions.

OR

Ship this directory in the git repo with a .gitkeep, to track said directory.

Originally created by @GunniBusch on GitHub (Dec 23, 2025). ### Change Type Addition ### Area Installation/upgrade ### Proposed Changes In the installation instructions, when you are instructed to chown the directories, the command `sudo chown --recursive netbox /opt/netbox/netbox/media/`does not work since the directory `/opt/netbox/netbox/media/`is not available by default. At least when using the release based install method. ## Posible solution Add instructions to create the directory `/opt/netbox/netbox/media/` after each upgrade and install before changing directory permissions. **OR** Ship this directory in the git repo with a .gitkeep, to track said directory.
adam added the type: documentationstatus: needs ownernetbox labels 2025-12-29 21:51:48 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#11947