Changes

From Amahi Wiki
Jump to: navigation, search
1,973 bytes added ,  14:23, 10 November 2018
If you access your media files using [https://wiki.amahi.org/index.php/Mount_Shares_Locally locally mounted shares] (eg if you are a [https://wiki.amahi.org/index.php/Greyhole 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 <i>plex</i> who doesnt have access to the local shares by default.
for <b>Ubuntu</b>
To fix, open terminal as root user and type:
sudo usermod -a -G users plex
= Troubleshooting =
 
== Request cannot be recognized -- treating a request as not-local ==
 
When the web app (http://plexms) is working but the server cannot be seen ... it could be due to some DNS issues. You can see the logs indicating that the requests arrive but the name (hda or plexms) is for some reason not recongnized as a local request, so it's labelled as a non-local request.
 
Request came in with unrecognized domain / IP 'plexms' in header Host; treating as non-local
 
To make it recognize requests as local, you can add your HDA's IP address mapping plexms to your HDA's IP and also plexms with full domain in /etc/hosts, for example (assuming 1.2.3.4 is your HDA IP):
 
1.2.3.4 plexms plexms.amahi.net
 
Then restart httpd as root or sudo with: <code>systemctl reload httpd</code>
 
You can see the logs (in both 32 and 64 bit machines) on the Linux side at this location:
 
/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Logs/
 
under these files
 
Plex Media Server.log
Plex Media Service.log
 
== Server Setup v Player Login ==
After install the Plex server still needs to be configured and logged into a [http://www.plex.tv Plex.tv] account. Before the Plex server has been named properly, going to [//plexms.amahi.net //PlexMS.Amahi.Net] from your LAN will bring you to a Plex.tv login then redirect you to a player-only page. To get around this, visit your [HDA's static IP]:32400/web/
example:<br /> 192.168.0.1:32400/web/ <br />
This should bring you to the same log in page, but redirect you to the server setup.
 
The default server name is LocalHostLocalDomain, change this to PlexMS. Now the address [//plexms.amahi.net //PlexMS.Amahi.Net] should bring you to the server page (with player too).
 
Also, visiting your Dynamic DNS name followed by port 32400 (example.yourhda.com:32400) will bring you to a player from anywhere on the internet. Port forwarding is required at your router's firewall.
== Data not shown with Main page login ==
Some users have reported that accessing the app by IP address resolves this issue.
 
:Example:
<pre>http://x.x.x.x:32400/web</pre>
[[Category:apps]]
12,424

edits