If you have not already, we suggest setting your Plex username to something else rather than email which is displayed on your posts in forum. You can change the username at https://app.plex.tv/desktop#!/account
Welcome to our forums! Please take a few moments to read through our Community Guidelines (also conveniently linked in the header at the top of each page). There, you'll find guidelines on conduct, tips on getting the help you may be searching for, and more!

PMS won't run on Raspberry Pi 2 with raspbian

z7h4c94z7h4c94 Posts: 3Members

I have a raspberry pi 2, I tried installing plex media server using these instructions (https://medium.com/@danielabdilla/home-media-server-using-raspberry-pi-plex-d44e2c6ed292). Everything looks fine, no error messages. But I can't access the web interface on h'ttp://"ip address":32400/web (Firefox can't establish a connection to the server)

  • I can SSH into the pi just fine, using the static IP and the username/password for the pi
  • the pi is plugged into my router via ethernet. i can ping google, update/install packages, browse the internet

PMS status gives me:
pi@raspberrypi-plex:~ $ sudo service plexmediaserver status -l
● plexmediaserver.service - LSB: Plex Media Server
Loaded: loaded (/etc/init.d/plexmediaserver)
** Active: active (exited)** since Sun 2017-06-18 18:08:18 BST; 6min ago
Process: 354 ExecStart=/etc/init.d/plexmediaserver start (code=exited, status=0/SUCCESS)

Jun 18 18:08:16 raspberrypi-plex su[379]: Successful su for pi by root
Jun 18 18:08:16 raspberrypi-plex su[379]: + ??? root:pi
Jun 18 18:08:16 raspberrypi-plex su[379]: pam_unix(su:session): session opened for user pi by (uid=0)
Jun 18 18:08:18 raspberrypi-plex plexmediaserver[354]: Starting Plex Media Server: done
Jun 18 18:08:18 raspberrypi-plex systemd[1]: Started LSB: Plex Media Server.


I was looking at this thread for help: (https://forums.plex.tv/discussion/271503/pms-simply-wont-run-on-my-raspberry-pi-3)

  • i tried stopping the service, deleting Preferences.xml and restarting -- but that didn't help

Output of netstat is empty, suggests that PMS is not listening on port 32400:
pi@raspberrypi-plex:~ $ sudo netstat -anp | grep 32400
pi@raspberrypi-plex:~ $

(I have previously followed similar guides and got plex server running on a headless Ubuntu machine for a friend. so I can troubleshoot and follow instructions. just stuck on this one!)

Any ideas??? Thank you!!

Answers

  • uglymagoouglymagoo Posts: 524Members, Plex Pass Plex Pass

    @z7h4c94 said:

    Any ideas??? Thank you!!

    Please post the output of uname -a so we can make sure it's really a Pi2. Any Pi1 or Pi Zero is not supported.

    PMS on the Raspberry Pi 2 and 3 / Banana Pi / ODROID / many more : Debian repository for armhf and arm64
    Recommended transcoder settings: 1.5 Mbps 480p ultrafast background preset
    My PMS hardware: Banana Pi, RPi 2, NVIDIA Shield TV, Intel Xeon

  • z7h4c94z7h4c94 Posts: 3Members

    Thanks for answering! Here it is:

    pi@raspberrypi-plex:~ $ uname -a
    Linux raspberrypi-plex 4.9.24-v7+ #993 SMP Wed Apr 26 18:01:23 BST 2017 armv7l GNU/Linux

  • z7h4c94z7h4c94 Posts: 3Members

    Hmm... I've just tried to access the web server again - it definitely wasn't working yesteday, for several hours - or 20 mins ago when I replied above. But I can get onto the plex settings page now, and sign in and add libraries.

    Funnily enough the status of the PMS service is still 'active exited' though...

    pi@raspberrypi-plex:~ $ sudo systemctl status plexmediaserver.service
    ● plexmediaserver.service - LSB: Plex Media Server
    Loaded: loaded (/etc/init.d/plexmediaserver)
    Active: active (exited) since Sun 2017-06-18 22:45:55 BST; 20h ago
    Process: 10117 ExecStop=/etc/init.d/plexmediaserver stop (code=exited, status=0/SUCCESS)
    Process: 10172 ExecStart=/etc/init.d/plexmediaserver start (code=exited, status=0/SUCCESS)

    Jun 18 22:45:53 raspberrypi-plex su[10178]: Successful su for pi by root
    Jun 18 22:45:53 raspberrypi-plex su[10178]: + ??? root:pi
    Jun 18 22:45:53 raspberrypi-plex su[10178]: pam_unix(su:session): session op...)
    Jun 18 22:45:55 raspberrypi-plex plexmediaserver[10172]: Starting Plex Media ...
    Jun 18 22:45:55 raspberrypi-plex systemd[1]: Started LSB: Plex Media Server.
    Hint: Some lines were ellipsized, use -l to show in full.

    I'll post back if it turns out it's not stable, but for now maybe the problem solved itself? It's a very unsatisfying answer though :/

Sign In or Register to comment.