[Fresh Install] Unable to add plex libraries

I itried to install plex media server on my new ubuntu machine, but whenever i am trying to add a local library it still shows me 0 library,

but only library label gets mentioned on menu bar with no content
image

I tried both ways, by providing directly the path of specific library folder, and by just browsing from “Add Library Browse Folder” (I am unable to locate the folder (Thats on /Desktop))

What could be the reason?
Thanks

Sounds like a permission issue. Keep in mind the Plex Media Server is running as a separate system user (plex), not your personal Linux account!

Thanks for the reply, I tried changing permissions by chmod 777 but I am having the same issue. More help will be appreciated.

Try changing the owner of the plex directory to the user “plex”. (Assuming that you haven’t changed the default user).

@hotheadhacker

Did you install from the Ubuntu app (snap) store or using DPKG ?

I installed via dpkg

Thanks will try it!

@hotheadhacker

If you installed using DPKG,

  1. /var/lib/plexmediaserver (where your metadata is), is already owned by user plex.

  2. The issue you’re having with /Desktop (I presume the Desktop in your GUI) is
    – the real path is /home/<your_username>/Desktop
    – Linux default security will not allow another user (plex) into your home directory unless expressly granted.

  3. Recommended action:
    – Do not put media in your /home directory
    – Instead, create another place for it e.g. /home/media (any name you like)
    – Make yourself the owner (for easy access)
    – Grant user plex access to that directory

sudo mkdir /home/media
sudo chown chuck.chuck /home/media
sudo chmod 755 /home/media

Now your regular username can put media files in here.
You can point Plex to the directory as needed.

1 Like

thanks this solved the issue.

@hotheadhacker

For other things you may want/need to do, here are some quick How To’s.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.