SOLVED: Plex Media Server unavailable

sveben
Posts: 9
Joined: Sat Jul 02, 2016 8:00 am

SOLVED: Plex Media Server unavailable

Postby sveben » Fri Nov 02, 2018 5:53 am

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.

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

Re: Plex Media Server unavailable

Postby bigfoot65 » Fri Nov 02, 2018 10:11 am

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

sveben
Posts: 9
Joined: Sat Jul 02, 2016 8:00 am

Re: Plex Media Server unavailable

Postby sveben » Sat Nov 03, 2018 3:39 am

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

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

Re: Plex Media Server unavailable

Postby bigfoot65 » Sat Nov 03, 2018 4:23 am

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

sveben
Posts: 9
Joined: Sat Jul 02, 2016 8:00 am

Re: Plex Media Server unavailable

Postby sveben » Sun Nov 04, 2018 8:38 am

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

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

Re: Plex Media Server unavailable

Postby bigfoot65 » Sun Nov 04, 2018 9:09 am

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

sveben
Posts: 9
Joined: Sat Jul 02, 2016 8:00 am

Re: Plex Media Server unavailable

Postby sveben » Sun Nov 04, 2018 9:28 am

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

sveben
Posts: 9
Joined: Sat Jul 02, 2016 8:00 am

Re: Plex Media Server unavailable

Postby sveben » Sun Nov 04, 2018 9:52 am

Sorry!
It was excluded.

/sveben

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

Re: Plex Media Server unavailable

Postby bigfoot65 » Sun Nov 04, 2018 9:58 am

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

sveben
Posts: 9
Joined: Sat Jul 02, 2016 8:00 am

Re: SOLVED: Plex Media Server unavailable

Postby sveben » Sun Nov 04, 2018 10:09 am

YES!!
It's working.
I I installed amahi-plex with "sudo dnf install amahi-plex" and it works now.
Thanks for the support!

/sveben

Who is online

Users browsing this forum: No registered users and 2 guests