Youtarr has not yet been accepted into the Community Templates store, but has been validated as working on Unraid
- Install the Community Applications plugin (if you have not already)
- Setup your MariaDB instance. The MariaDB Official docker container will work fine for this purpose.
- See External Database Guide for more information about external DB setup since this uses a DB instance that is not directly bundled with Youtarr.
Set the following configuration options and make note of them as you will need to set the same values in your Youtarr configuration:
Database Name:youtarris recommendedDatabase User:youtarris recommendedPort: Leaving as default of3306is recommendedDatabase Password: Choose something secure
The first time MariaDB runs it will automatically create the database and user for Youtarr.
You will need to create a database and user for Youtarr in that instance and ensure that you note the port, database name, database user and password for your subsequent Youtarr configuration.
See docs/platforms/external-db.md for reference
NOTE: Your MariaDB instance must be up and running before Youtarr starts!
The Unraid template for Youtarr https://github.com/DialmasterOrg/unraid-templates/blob/main/Youtarr/Youtarr.xml
- Open a terminal in Unraid
- Download the template and make it available in Unraid:
curl -L https://raw.githubusercontent.com/DialmasterOrg/unraid-templates/main/Youtarr/Youtarr.xml -o /boot/config/plugins/dockerMan/templates-user/my-Youtarr.xml- Navigate to the Docker tab in Unraid and click "Add container"
- Select "Youtarr" from "User Templates"
- Fill in all configuration details
- Ensure that your MariaDB instance is setup with a database name, user and password matching what you set in the Youtarr configuration
- Use the LAN IP of your Unraid server as DB_HOST (eg
192.168.1.100)- Do not use
127.0.0.1orlocalhost, as those refer to the container itself, not the Unraid host.
- Do not use
- Map your persistent paths (for example
/mnt/user/appdata/youtarr/configfor/app/configand/mnt/user/media/youtubefor/data) and supply the MariaDB connection variables before deploying. - Set both
AUTH_PRESET_USERNAMEandAUTH_PRESET_PASSWORDto set credentials for login to Youtarr - IMPORTANT:
AUTH_PRESET_USERNAMEandAUTH_PRESET_PASSWORDmust meet these rules or they’ll be ignored:AUTH_PRESET_USERNAME: 3-32 characters in lengthAUTH_PRESET_PASSWORD: 8-64 characters in length Leaving them blank requires completing the setup wizard from the Unraid host's localhost (e.g., via SSH port forwarding), which most headless installs won't have handy.
- Click the "Apply" button to start Youtarr
Once the container is running, open http://:3087 in your browser to access Youtarr.
- Note Until the template is accepted into the main Community Applications feed, it is available directly from the repository above.
By default, Youtarr runs as root inside the container. This works fine for most setups, but if you need Plex or Jellyfin to be able to delete files that Youtarr downloads, you'll need to run Youtarr as a non-root user with matching permissions.
Note: The YOUTARR_UID and YOUTARR_GID environment variables do not work on Unraid. You must use the --user parameter instead.
-
Stop the Youtarr container if it's running
-
Set correct ownership on your directories by opening an Unraid terminal and running:
chown -R 99:100 /mnt/user/appdata/youtarr/config chown -R 99:100 /mnt/user/appdata/youtarr/jobs chown -R 99:100 /path/to/your/youtube_videos
Replace the paths with your actual mapped directories. The
99:100corresponds to thenobody:usersuser/group on Unraid. -
Add the user parameter to your container:
- Edit your Youtarr container in Unraid
- Scroll down to "Extra Parameters"
- Add:
--user 99:100 - Click "Apply" to restart the container
-
Verify it's working by running:
docker exec -it Youtarr sh -c 'id'
You should see
uid=99(nobody) gid=100(users)instead ofuid=0(root).
After this setup, Youtarr will create files with nobody:users ownership, which matches the default permissions that Plex and other media apps use on Unraid, allowing them to delete files as needed.