Compare commits
3
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8e5bd28843 | ||
|
|
3b2501d091 | ||
|
|
f992804739 |
@@ -87,6 +87,12 @@
|
||||
HOST1_EMBY_URL="http://localhost:8096"
|
||||
HOST1_EMBY_API_KEY="0c27448d93a7431f9ac63569f7655829"
|
||||
|
||||
# ━━━ Jellyfin ━━━
|
||||
# API key: Jellyfin Dashboard → Administration → API Keys → + New Key
|
||||
HOST1_JELLYFIN_CONTAINER="Jellyfin"
|
||||
HOST1_JELLYFIN_URL="http://localhost:8095"
|
||||
HOST1_JELLYFIN_API_KEY="956d0168987f4e4680626653abb080f0"
|
||||
|
||||
# ━━━ Gitea ━━━
|
||||
# Personal access token for gitea_ssh_setup.sh — registers this server's SSH public key
|
||||
# with Gitea so git operations use key auth instead of passwords.
|
||||
@@ -545,6 +551,7 @@
|
||||
# ⚠️ Tdarr does NOT belong here — keep Tdarr on SSD, not ramdisk.
|
||||
HOST1_TRANSCODE_SERVERS=(
|
||||
"${HOST1_EMBY_CONTAINER}|${HOST1_EMBY_URL}|${HOST1_EMBY_API_KEY}|emby"
|
||||
"${HOST1_JELLYFIN_CONTAINER}|${HOST1_JELLYFIN_URL}|${HOST1_JELLYFIN_API_KEY}|jellyfin"
|
||||
)
|
||||
|
||||
# ==============================================================================================
|
||||
|
||||
@@ -482,6 +482,44 @@ leave the container in a broken state where Emby refuses to start at all.
|
||||
# Re-adding the mount after a clean start works reliably.
|
||||
```
|
||||
|
||||
### Emby With NVIDIA GPU — bind-propagation=shared Fails to Start
|
||||
|
||||
> **Regression:** This worked before unRAID 7.2.5. The kernel update changed how mount
|
||||
> namespaces are initialized, exposing a conflict in the NVIDIA container runtime path.
|
||||
|
||||
`--runtime=nvidia` combined with a `NVIDIA_VISIBLE_DEVICES` environment variable conflicts
|
||||
with `bind-propagation=shared`. Docker fails during container init with:
|
||||
|
||||
```
|
||||
OCI runtime create failed: runc create failed: unable to start container process:
|
||||
error during container init: error jailing process inside rootfs:
|
||||
open /proc/self/mountinfo: no such file or directory
|
||||
```
|
||||
|
||||
`--runtime=nvidia` alone (no `NVIDIA_VISIBLE_DEVICES` env var) does NOT cause this.
|
||||
The conflict requires both.
|
||||
|
||||
**Root cause:** `NVIDIA_VISIBLE_DEVICES` triggers the NVIDIA container runtime to bind
|
||||
mount CUDA libraries and device nodes into the container namespace. This GPU device setup
|
||||
interferes with the mount namespace initialization that `bind-propagation=shared` requires.
|
||||
|
||||
**Fix — replace the NVIDIA env var approach with the `--gpus` flag:**
|
||||
|
||||
In the unRAID Docker template for Emby:
|
||||
|
||||
1. **Extra Parameters** — remove `--runtime=nvidia`, add `--gpus` with the GPU UUID:
|
||||
```
|
||||
--gpus device=GPU-62e1659d-1ed4-935f-3df3-4bb4339438f1 --pids-limit=0 \
|
||||
--mount type=bind,source=/mnt/ram-transcode,target=/ext-ram-transcode,bind-propagation=shared
|
||||
```
|
||||
|
||||
2. **Variables** — remove the `NVIDIA_VISIBLE_DEVICES` variable entirely.
|
||||
The `--gpus` flag handles GPU assignment without the env var.
|
||||
|
||||
`--gpus device=UUID` uses Docker's native GPU device flag (default runtime) rather than
|
||||
the full NVIDIA container runtime setup. The container still gets GPU access; it just
|
||||
skips the device mount phase that conflicts with `bind-propagation=shared`.
|
||||
|
||||
### Increasing Ramdisk Size After Initial Setup
|
||||
|
||||
```bash
|
||||
|
||||
Reference in New Issue
Block a user