Raspberry Pi Plex Server not working

Raspberry Pi Plex server won’t turn on. Sometimes turns on for 30 seconds then turns off again? Have turned it off everyday for the last week if that is the issue? Can someone please find out what’s gone wrong so I can start it up again?

The tail of the server log file after it has turned itself off might help.

How do you change that?

cd to /var/lib/plexmediaserver/Library/Logs/Plex Media Server and tail the last 100 lines of Plex Media Server.log (tail -100 “Plex Media Server.log”). Attach the output to your next posting.

The problem is that when i plug everything into my pi, all my movies appear on my server and you cant play them. They then disappear after 5 minutes and when you load up putty and enter the IP Address foe the pi it crashes and doesnt give you an option to log in to your username and password for the pi.

Confusing!

Are you saying, you have your media on an external HD which you connect to an USB port. Upon which they show up in Plex, but you can not play them on some/any client.

Let us forget about Plex for a moment. If you do not start the plexserver, does the system then run stably? I.e. you can open a shh connection and do what every you are up to?

I suspect your power supply is not up to the job. But that is just a guess.

When plugging in the Raspbery Pi to a plug and turning it on, the Plex Server starts up and you can see all my movies (which is on an external USB Hard Drive). I can not play the movies though because it needs to be mounted. After around 5 minutes of the Plex Server being turned on, putty freezes and will not let me enter my credentials for the raspberry pi and the Plex server stops working. Sorry to make it sound so confusing :wink:

Please, stop the plex server before your system goes gaga: sudo systemctl stop plexmediaserver

Then observe for some time whether your system runs stably.

I would also be interested in the output of ‘df -h’. That should show whether you USB disk has been mounted.

Then navigate to /var/lib/plexmediaserver/Library/Logs/Plex Media Server

You will find old log files. The end of the most recent “Plex Media Server.log” might be interesting.

Then you might start the server again. And watch what happens with tail -f “Plex Media Server.log”

Before I can even start using commands for my Raspberry PI, I plug it into power and go onto putty but when entering the ip address for the Pi, putty just freezes on the command prompt then around 10 seconds later it says: Network error-connection timed out.

I have stopped my plex server by using the command you showed me (sudo systemctl stop plexmediaserver) and observed the system and the pi stops working again and shows the network error message like before.

Do you think this is a power problem and if so why has it started doing this and what would i need to buy to stop it from happening?
Thanks for your help :slight_smile:

I think he means your pi can’t power the external USB drive.
Is your USB hard drive plugged into the wall, or is it just powered by USB (via the Pi)?

In other words, does the USB hard drive have 2 wires (power + usb) coming out of it, or 1 (just usb)?

The external hard drive is plugged into the two USB 3.0 ports on the Raspberry Pi and has two cables for power and data.

Silly question for ya…

If you unplug the external drive, will the raspberry continue to start up and run? I realize there will be missing media, but that would rule out a huge power supply demand…?

I e not had my little raspberry running for a few years, so I may be out of touch with all of this…

Good luck?

Ive found the solution! I was using a network extender plug on a plug extension line which was why there was no power to the pi! It works fine now on a different plug socket but ive ran into another problem.

It now works fine but usually after an hour it stops again and the path where the hard drive is has changed from /dev/sda to /dev/sdb and I have to remount it? Why is it doing this?

Thanks for your help in the meantime.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.