Skip to content

Plex: access to media libraries not working anymore #313879

Open
@sjau

Description

@sjau

Describe the bug

I updated nixos-unstable yesterday and now I get error from the front end, that all media files are unavailable.

Steps To Reproduce

Steps to reproduce the behavior:

  1. Setup plex
  2. Setup some media library
  3. journalctl will tell that plex can't access files:
May 23 05:29:26 servi PlexMediaServer[53327]: Couldn't check for the existence of file "/home/plex/Movies/.grab": boost::filesystem::status: Permission denied [system:13]: "/home/plex/Movies/.grab"

Expected behavior

Before updateing nixos-unstable it worked fine. Now it doesn't. Reverting back to previous generation (from beginning of may) also makes it work fine.

Additional context

By default I set ownership to plex:users of the /home/plex/ folder and files. Folders have 0755 permissions, files have 0644.

I tried also adjusting the group to plex with same result.

I also tried ACLs

getfacl /home/plex/Movies
getfacl: Removing leading '/' from absolute path names
# file: home/plex/Movies
# owner: plex
# group: users
user::rwx
user:plex:rwx
group::rwx
group:plex:rwx
mask::rwx
other::rwx
default:user::rwx
default:user:plex:rwx
default:group::rwx
default:group:plex:rwx
default:mask::rwx
default:other::rwx

None of this helped.

I reverted now back to an older generation and it works fine again.

Notify maintainers

@badmutex @Forkk @thoughtpolice @MayNiklas

Metadata

Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.

 - system: `"x86_64-linux"`
 - host os: `Linux 6.6.30, NixOS, 24.05 (Uakari), 24.05.git.07ea48392271`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.18.2`
 - channels(root): `"nixos"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions