CLOSED: Plex on Amahi 9. Service won't start.

WiFiNetGuy
Posts: 37
Joined: Wed Apr 23, 2014 1:56 pm

CLOSED: Plex on Amahi 9. Service won't start.

Postby WiFiNetGuy » Fri May 13, 2016 11:11 am

I just upgraded to Amahi 9. While on Amahi 8 I couldn't get the Plex Media Server service to run. I was hoping that the upgrade to 9 would help. I wasn't betting the farm on it. But I like to tinker so upgrading was something I wanted to do anyway.

I've uninstalled the PlexMS app on the Amahi 8 machine and then upgraded to A9. I then reinstalled the app. Everything looks like it installed fine but the server is shown as Stopped (red dot) in the Server screen on the dashboard. If I try to Start it from there, it turns green but on a refresh it goes back to red.

If I issue a systemctl start amahi-plex it completes without issues.

The result of a systemctl status amahi-plex -l is as follows:
****************
● amahi-plex.service - Plex Media Server for Amahi
Loaded: loaded (/usr/lib/systemd/system/amahi-plex.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Fri 2016-05-13 13:03:24 EDT; 1h 5min ago
Process: 2999 ExecStopPost=/bin/rm -f /run/amahi-plex.pid (code=exited, status=0/SUCCESS)
Process: 2995 ExecStop=/usr/bin/kill $MAINPID (code=exited, status=1/FAILURE)
Process: 2986 ExecStart=/usr/bin/amahi-plex (code=exited, status=0/SUCCESS)
Main PID: 2989 (code=exited, status=255)

May 13 13:03:23 localhost.localdomain systemd[1]: Starting Plex Media Server for Amahi...
May 13 13:03:23 localhost.localdomain systemd[1]: Started Plex Media Server for Amahi.
May 13 13:03:23 localhost.localdomain runuser[2989]: pam_unix(runuser:session): session opened for user apache by (uid=0)
May 13 13:03:24 localhost.localdomain amahi-plex[2986]: Error: Unable to set up server: sqlite3_statement_backend::loadOne: database disk image is malformed
May 13 13:03:24 localhost.localdomain runuser[2989]: pam_unix(runuser:session): session closed for user apache
May 13 13:03:24 localhost.localdomain systemd[1]: amahi-plex.service: Main process exited, code=exited, status=255/n/a
May 13 13:03:24 localhost.localdomain kill[2995]: kill: not enough arguments
May 13 13:03:24 localhost.localdomain systemd[1]: amahi-plex.service: Control process exited, code=exited status=1
May 13 13:03:24 localhost.localdomain systemd[1]: amahi-plex.service: Unit entered failed state.
May 13 13:03:24 localhost.localdomain systemd[1]: amahi-plex.service: Failed with result 'exit-code'.
****************

I'm not sure what to try next. Any help is appreciated.

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

Re: Plex on Amahi 9. Service won't start.

Postby bigfoot65 » Fri May 13, 2016 11:56 am

Please submit a bug report.

Login with your amahi.org credentials. Select Projects followed by Apps. Then choose New Issue and provide details of the issue.
ßîgƒσστ65
Applications Manager

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

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

Re: Plex on Amahi 9. Service won't start.

Postby bigfoot65 » Thu May 19, 2016 2:41 am

Dialogue continued in bug 2053.

Closing thread.
ßî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 11 guests