As part of its installation routine,Documentation Index
Fetch the complete documentation index at: https://mintlify.com/damianiglesias/proxmox-casaos-deploy/llms.txt
Use this file to discover all available pages before exploring further.
casaosscript.sh creates a /DATA directory tree specifically designed for use with CasaOS Docker app containers. The layout follows a conventional home-media-server pattern that works out of the box with apps like Jellyfin and Plex, and pairs naturally with download clients such as qBittorrent or Transmission when they are also installed through the CasaOS app store.
Directory Tree
The script creates the following structure on the container’s root filesystem:-p flag ensures that all intermediate directories are created in a single call and that no error is raised if a directory already exists.
Permissions
Immediately after creating the/DATA/Media tree, the script applies world-writable permissions recursively:
/DATA/Media. The /DATA/Downloads directory is created but no explicit chmod is applied to it by the script.
This permissive setting is intentional for a CasaOS home-server context. Docker containers launched by CasaOS apps frequently run as non-root UIDs (for example, Jellyfin runs as UID 1000 inside its container by default). When a host directory is bind-mounted into such a container, the container process must have write access as its own UID. Using 777 sidesteps any UID mismatch without requiring you to pre-configure a matching user account on the host.
Using with Jellyfin or Plex in CasaOS
The directories created by the script map directly to the library paths you configure when installing a media server from the CasaOS app store.Open CasaOS in the browser
Navigate to
http://<your-container-ip> in a browser on your local network. Complete the first-run setup wizard if you have not already done so.Install Jellyfin or Plex from the App Store
Click the App Store icon on the CasaOS dashboard. Search for Jellyfin or Plex Media Server and click Install.
Map your library paths
During the installation dialog, configure the volume bindings so that the app container can see your media directories:
- Map
/DATA/Media/Movies→ Movies library path inside the container - Map
/DATA/Media/TV_Shows→ TV Shows library path inside the container
/media by default). Adjust as shown in the app’s installation form.Adding More Directories
The initial directory set covers Movies, TV Shows, and Downloads, but you can extend the structure at any time. Log into the container shell and run:chmod -R 777 /DATA/Media ensures that any newly created subdirectories inherit the same permissive access as the originals. After creating new directories, add them as additional library paths inside your Jellyfin or Plex container through the CasaOS app settings.