Forums

Resolved
0 votes
Hi team
I've just installed a new ClearOS 7 community stand-alone server on my LAN for the purpose of running Plex and doing a weekly imapsync mail backup. I've set up a flexshare for uploading the media content and installed Plex Server. The Plex Server service will not start. Unfortunately, the server name is "plexserver" so filtering logs looking for "plex" produces many many hits. I've checked /etc/clearos/plex.conf and there are only the 2 lines in the config file.
mode = allow_all
port=32400


The server has 1 NIC which is configured as 'external' with a DHCP assigned IP address (statically assigned from my other COS7 server acting as a firewall) so the IP will never change.

Are there any dependencies the marketplace app needs to run?
Attachments:
Tuesday, March 31 2020, 03:35 PM
Share this post:
Responses (5)
  • Accepted Answer

    Wednesday, April 01 2020, 07:49 AM - #Permalink
    Resolved
    2 votes
    Glad you have it fixed. Please be aware that if Plex ever updates, the package does not restart and needs to be started manually. I am saying this because there is an update coming through next week. Thinking about it I could push a simple change to another package to make Plex restart .......
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, March 31 2020, 04:54 PM - #Permalink
    Resolved
    0 votes
    All dependencies should be automatically installed. Can you try starting it from the command line with a:
    systemctl start plexmediaserver
    If it fails, do a:
    systemctl status plexmediaserver -l
    And see if it says anything useful. Also do a:
    journalctl -xe
    and again look for anything relevant. Then check /var/log/messages for anything.
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, March 31 2020, 06:18 PM - #Permalink
    Resolved
    0 votes
    I tried to reproduce it in a VM, but it install nicely on my VM. Also it starts the Plex service after installation.

    I suggest you try the options Nick proposes.
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, April 01 2020, 01:37 AM - #Permalink
    Resolved
    0 votes
    looking at /var/log/messages I found what the problem was. I'd manually created /var/lib/plexmediaserver after server setup for mounting a 2nd drive for media storage. This was done prior to installing the Plex Server app. The plexmediaserver directory was created with root:root ownership. The Plex Server app was trying to create this directory also and not able to do so as it was already there with the wrong permissions.

    This would appear to be a PEBKAC, PICNIC, Layer 8, ID TEN T error (take your pick, all apply in this instance)
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, April 02 2020, 04:11 AM - #Permalink
    Resolved
    0 votes
    Nick Howitt wrote:

    Glad you have it fixed. Please be aware that if Plex ever updates, the package does not restart and needs to be started manually. I am saying this because there is an update coming through next week. Thinking about it I could push a simple change to another package to make Plex restart .......


    Nick, I did see a post regarding you're plex daemon monitor. If this could be packaged into the ClearOS marketplace app that would be amazeballs, even if it were a 'tick' option! I might even need to buy you a 'Tim Burgess' style beer.
    The reply is currently minimized Show
Your Reply