docs(deploy): Jellyfin's group gets the ID its compose file runs it with
The sidecar's steps made Jellyfin's user with its own group, to which useradd gave a system group ID (987 on learn.halkyon.eu's server), while compose.jellyfin.yaml runs it as 61096:61096. The group is now made first with the same ID, and the steps say why useradd's warning about an ID above the system range is meant. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Tizian 「ティツィアーン」 <raisondetredev@pm.me>
This commit is contained in:
parent
9d2a93a648
commit
8c57bdf4d1
1 changed files with 6 additions and 3 deletions
|
|
@ -30,11 +30,14 @@ password (a demo's) stays everyone's; the admin signs in through an SSH tunnel o
|
|||
Steps, in order; ✱ marks a step as root.
|
||||
|
||||
1. ✱ **Its user and folders** (the operator, on the instance's server, as a user with
|
||||
sudo): the user ID 61096 is Jellyfin's alone; the media folder is `deploy`'s, so it
|
||||
can copy files in, readable by all.
|
||||
sudo): the user and group ID 61096 are Jellyfin's alone, as the compose file runs it
|
||||
(`useradd` warns that the ID lies above the system range, which is meant: it must
|
||||
not meet a container's IDs); the media folder is `deploy`'s, so it can copy files
|
||||
in, readable by all.
|
||||
|
||||
```sh
|
||||
sudo useradd --system --uid 61096 --user-group --no-create-home --shell /usr/sbin/nologin jellyfin
|
||||
sudo groupadd --system --gid 61096 jellyfin
|
||||
sudo useradd --system --uid 61096 --gid 61096 --no-create-home --shell /usr/sbin/nologin jellyfin
|
||||
cd ~deploy/halkyon-learn/deploy
|
||||
sudo mkdir -p jellyfin/config jellyfin/cache jellyfin/media
|
||||
sudo chown -R jellyfin:jellyfin jellyfin/config jellyfin/cache
|
||||
|
|
|
|||
Loading…
Reference in a new issue