Plex Media - Usermod - command

beans
Posts: 49
Joined: Thu Jul 24, 2014 2:27 pm

Plex Media - Usermod - command

Postby beans » Tue Jul 29, 2014 12:06 pm

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 ?

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Plex Media - Usermod - command

Postby bigfoot65 » Tue Jul 29, 2014 1:58 pm

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.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

beans
Posts: 49
Joined: Thu Jul 24, 2014 2:27 pm

Re: Plex Media - Usermod - command

Postby beans » Tue Jul 29, 2014 10:49 pm

Using Fedora 19
HDA 7.4.0.1

Usermod - entered alone

Result - bash: usermod: command not found

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Plex Media - Usermod - command

Postby bigfoot65 » Wed Jul 30, 2014 2:32 am

Try installing this app.
https://wiki.amahi.org/index.php/HDA_Tr ... ting_Tools

It might be that it's part of that package.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

beans
Posts: 49
Joined: Thu Jul 24, 2014 2:27 pm

Re: Plex Media - Usermod - command

Postby beans » Wed Jul 30, 2014 3:07 am

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?

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Plex Media - Usermod - command

Postby bigfoot65 » Wed Jul 30, 2014 6:19 am

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.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

Who is online

Users browsing this forum: No registered users and 15 guests