Page 1 of 1

Plex Media - Usermod - command

Posted: Tue Jul 29, 2014 12:06 pm
by beans
Hi!

Trying to follow the WIKI.



If you access your media files using locally mounted shares (eg if you are a Greyhole user as suggested above), you will need to change the permissions of your plex server user. The Plex Media Server is run by a special user plex who doesnt have access to the local shares by default.

To fix, open terminal as root user and type (preceed with sudo for Ubuntu):

usermod -a -G users plex


You may need to restart Plex. Now when you want to add directories using the web interface all your shares should be accessible.


But when I use this command I get - Usermod: Command not found.

Is there an difference command I should use ?

Re: Plex Media - Usermod - command

Posted: Tue Jul 29, 2014 1:58 pm
by bigfoot65
You must be doing something wrong as usermod is on my HDA. Try entering usermod by itself on command line and see if it does anything.

Also I am unsure how current that guidance is and may not work with Amahi 7.

Re: Plex Media - Usermod - command

Posted: Tue Jul 29, 2014 10:49 pm
by beans
Using Fedora 19
HDA 7.4.0.1

Usermod - entered alone

Result - bash: usermod: command not found

Re: Plex Media - Usermod - command

Posted: Wed Jul 30, 2014 2:32 am
by bigfoot65
Try installing this app.
https://wiki.amahi.org/index.php/HDA_Tr ... ting_Tools

It might be that it's part of that package.

Re: Plex Media - Usermod - command

Posted: Wed Jul 30, 2014 3:07 am
by beans
Ok, found this page

http://www.golinuxhub.com/2012/09/bash- ... found.html

Just changed usermod for useadd.

Seems that I do have the file and command, BUT there is a path problem.

However, when I ran the command it nows say - usermod: user 'plex' does not exist

This plex user/group should have been created automatically, correct?

Re: Plex Media - Usermod - command

Posted: Wed Jul 30, 2014 6:19 am
by bigfoot65
Possibly, but this is not the standard Plex Media Server package. We custom built it for Amahi, called amahi-plex. The creating of the user/group may have been omitted accidentally or intentionally. Not sure if it was actually needed since we run most apps as apache.

I think I mentioned that the wiki guidance may not be current for Amahi 7. That being the case, you may have to try something different. Have you searched the forums here? Certainly others have encountered this before.