Page 1 of 1

SOLVED: Plex Media Server unavailable

Posted: Fri Nov 02, 2018 5:53 am
by sveben
I have purchased and installed Plex Media Server. When I look in Log Viewer, it says that the app is installed:
======= app install end @ 2018-11-01 16:02:23 +0100 ==========
App: Plex Media Server installed
Your HDA services have been restarted.
Your HDA services have been restarted.
Installing app id y47iytek0u under /var/hda/platform/html/script/.. ENV=production
======= app install begin @ 2018-11-01 16:02:10 +0100 ==========[/color]

But when I try to run the app using http;//plexms.home.net or other commands described in Amaha Wiki, I get the error "503 Service Unavailable".
When I try to start the server, it says "service not found".

[root@localhost ~]# systemctl start plexmediaserver
Failed to start plexmediaserver.service: Unit plexmediaserver.service not found.

I have tries to reinstall the app, but the result is the same.

Re: Plex Media Server unavailable

Posted: Fri Nov 02, 2018 10:11 am
by bigfoot65
[root@localhost ~]# systemctl start plexmediaserver
Failed to start plexmediaserver.service: Unit plexmediaserver.service not found.
The the command:

Code: Select all

sudo systemctl restart amahi-plex
Did you try to access the app right after it installed?

Sometimes it takes a few minutes for the service to get started.

Uninstalling and reinstalling typically does not fix problems. Best to diagnose in the future before uninstall / reinstall.

Also in future it would help if you provide what version of Amahi you have installed by providing the URL for:

Code: Select all

apaste --sysinfo

Re: Plex Media Server unavailable

Posted: Sat Nov 03, 2018 3:39 am
by sveben
I have made some changes according to Amahi Wiki and now when I run "http://plexms.home.net" in the web browser,
I get "The site can not be reached
plexms.home.net took too long time to respond."

The command "sudo systemctl restart amahi-plex" gives the answer
"Failed to restart amahi-plex.service: Unit amahi-plex.service not found."

I*m running Amahi 11 and Fedora 27

My sysinfo is https://paste.fedoraproject.org/paste/n ... E1csyD93cw

/sveben

Re: Plex Media Server unavailable

Posted: Sat Nov 03, 2018 4:23 am
by bigfoot65
Changes you made based on wiki guidance could have broken the app.

Please post the results of:

Code: Select all

sudo rpm -ql amahi-plex
Also describe what manual changes were made.

The log info you provided earlier does not appear to reveal the info for the app. Please verify and post any additional info specific to Plex Media Server.

Re: Plex Media Server unavailable

Posted: Sun Nov 04, 2018 8:38 am
by sveben
The result of sudo rpm -ql amahi-plex:
[sveben@server ~]$ sudo rpm -ql amahi-plex
paket amahi-plex är inte installerat (package amahi-plex is not installed)

Running the app "Server Logs Viewer" tells
App: Plex Media Server installed
Your HDA services have been restarted.
Your HDA services have been restarted.
Installing app id y47iytek0u under /var/hda/platform/html/script/.. ENV=production
======= app install begin @ 2018-11-03 22:17:44 +0100 ==========

Changes I made:
added the plex user to my users group with the command "sudo gpasswd -a plex users"
mapped plexms to my HDA's IP and also plexms with full domain in /etc/hosts (192.168.1.10 plexms plexms.amahi.net)

Can not find any info specific to Plex Media Server

Re: Plex Media Server unavailable

Posted: Sun Nov 04, 2018 9:09 am
by bigfoot65
Try manually adding package:

Code: Select all

sudodnf install amahi-plex
That’s what appears to be missing. Not sure why it didn’t install unless you manually excluded it when making manual config changes.

Re: Plex Media Server unavailable

Posted: Sun Nov 04, 2018 9:28 am
by sveben
It did not work!

[root@server ~]# sudo dnf install amahi-plex
Senaste kontroll av utgång av metadata: för 0:19:29 sedan den sön 4 nov 2018 17:04:27.
Ingen matchning för argumentet: amahi-plex (no match for the argument: amahi-plex)

/sveben

Re: Plex Media Server unavailable

Posted: Sun Nov 04, 2018 9:52 am
by sveben
Sorry!
It was excluded.

/sveben

Re: Plex Media Server unavailable

Posted: Sun Nov 04, 2018 9:58 am
by bigfoot65
That’s what I thought.

The wiki guidance is not officially supported by Amahi. User community contributes and it’s often outdated.

Recommend in future you avoid making manual changes unless absolutely necessary.

Marking this as resolved.

Re: SOLVED: Plex Media Server unavailable

Posted: Sun Nov 04, 2018 10:09 am
by sveben
YES!!
It's working.
I I installed amahi-plex with "sudo dnf install amahi-plex" and it works now.
Thanks for the support!

/sveben