-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Plex: access to media libraries not working anymore #313879
Comments
This commit was added two weeks ago: I would imagine that might be the culprit. Specifically:
The above basically stops Plex from seeing anything inside your home folder. |
Probably the easiest way around this is to bind-mount your media directory to a folder outside your home folder. |
Why would I want to have it outside home? |
So that Plex can see it. At the moment the systemd rules prevent Plex from looking inside your home directory. You can still have the files inside your home dir for convenience, just that they also need to be (bind-mounted) in a location outside for Plex. |
Or one could just undo that one option - or at least set it to "read-only". Pretty sure I'm not the only one that uses plex in /home. For many years (6+) this has worked fine for me like this on NixOS. |
Think you may also be able alter this setting on your system by something like
where |
That works. But I think there should be a notice also that you can set it libarieries in your home. |
Agreed with @sjau and have also been running Plex on NixOS for years and just came across this issue. I also feel like this change kinda makes setting the user for the service pointless. I assume most people are setting the user to their own user so that plex can access media in their home directory. It might be best to just expose PretectHome as an option so users can see that it is there and set it if they need it. This way the issue is also "documented" by that option having a description. |
don't know if related or it's the same bug. I have
It says the folder is empty. Also, it looks like the folders I see from the web ui are not the ones in the server (also not the ones in the client). First time using NixOS so no idea what I'm doing wrong. |
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:
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
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.The text was updated successfully, but these errors were encountered: