I have an old HP thin client running PMS on Ubuntu and it’s been working fine for months until recently. I use it for streaming my music after Google Play Music was axed. I don’t know what’s wrong but it seems like PMS isn’t starting. I found another thread and gathered logs in hopes someone can help me out. I don’t want to have to start over completely! In the thread I’d read to get logs it was solved by reinstalling but I’m not sure how to do that without losing all my settings/setup.
I’ll see if I can zip all the logs I pulled and upload, however, journalctl command to a text file is 117MB. I have a tar.gz of my Logs directory as well as disabling crash reporting and a tar.gz of my Crash Reports directory after a reboot. It seems like there’s some very specific data in those, I’m not sure what exactly needs uploaded. Please let me know!
I’m going to assume “/mnt/storage” is OK since it’s on the same HDD ?
I’ll write out the instructions assuming it is. Let me know if not and I’ll revise. # lines are my comments to you. no need to type them
# up to root
sudo bash
# Make certain Plex isn't trying to start
systemctl stop plexmediaserver
# Create the new directory for Plex to live in
mkdir /mnt/storage/plexmediaserver
# Set ownership to plex:plex
chown plex:plex /mnt/storage/plexmediaserver
# Get in the existing Plex home directory
cd /var/lib/plexmediaserver
# Move the files from sda3 to their new home on sda4
mv /var/lib/plexmediaserver/Library /mnt/storage/plexmediaserver
# Wait for it to finish
# Create an "override" file to alter Plex's configuration
mkdir /etc/systemd/system/plexmediaserver.service.d
# Create the override (use any linux editor of your choice
vi /etc/systemd/system/plexmediaserver.service.d/override.conf
Sorry for the delay. I did the above and now it appears that PMS is running, at least it says loaded and running. I can access the plex server via IP:port on my laptop via Chrome browser but when I go to my playlists it says No soup for you, you don’t have access to this server? Also, Plexamp app won’t load anything?
Move went fine, took very little time to move actually, less than 2 minutes!
So to add a little more color, I have this server on it’s own network separate from my main/primary home network. I can get to it across the network but I decided to put my laptop on the same network as the server and try the server IP:port. This time it went through like it was setting up a new server? Hit a bunch of OKs and stuff, and I’ve been screwing around with it for a while now trying to figure out why I can’t connect to the server…
Well, it turns out it maybe made a new server with a slightly different name? So… once I figured that out, I can now see content and everything under the new server, including on Plexamp app. So I guess it’s all working again, but I had to delete the original server (got some warning about how it’d be re-added if it turns on again?) and so far, besides a server name change it seems to be fine.
May have replied too soon. I turned off my phone’s Wi-Fi and I can’t connect with Plexamp. It works with Wi-Fi on. Used to work, now it doesn’t and I haven’t changed anything regarding port forwarding. One thing I’ve always had issues with since day 1, was that in the web admin interface, under remote access, it always seems to say everything is fine (green) but then shortly it says disconnected/not accessible outside. But it worked anyway. Now after all the above and whatever else has happened, I can’t connect remotely.
If I just, completely start over again, before I do, surely there’s a way to save/export playlists so I can re-load into the re-do?
Sorry for the delay. So what I did was ssh into the box and reboot. Waited a while to make sure it was all back up and idle. Browsed to web interface to ensure logging on and verbose off. Disabled wifi on my phone, then opened Plexamp app on phone. Tried to load playlists till it crapped out. Enabled wifi on the phone, went back to Plexamp home tab, then back to playlists, started playing music on my phone (non-downloaded playlist). Skipped forward a few tracks then disabled wifi on my phone. skipped forward about 10 or so tracks until it quit playing. On web interface, browsed to logs and downloaded the zip. Attached is what I got.
Reminder that so far, my server was working fine for months, including remote access with Plexamp app. Then it quit working one day. Posted for help, we moved the PMS directory. For some reason after I logged into the web interface from a PC on the same network Plex seemed to have “reset” and my old server was gone (offline) but new one with a different name (same as machine name) appeared, content is all there. Seems to be working but now remote access doesn’t work. When I go to remote access in settings, manually specify public port is NOT checked and it says server is accessible but about 10sec later it says it’s NOT accessible. If I enable specify port and forward 32400 in my router, I still can’t remote access and the interface behaves the same way (green OK then 10s later red not ok). In the past months before the server quit working (ran out of room it looks like!) I had remote access with the specify public port unchecked and no port forwarding done in my router.
Same host, different server name, content intact, meaning a new server ID — tells me Preferences.xml got whacked / lost / damaged / no permission in the process.
To fix this is easy:
Settings - Authorized Devices - Server (dropdown)
Remove the old (name you had) one - be careful of the “last seen” date for confirmation.
Now go to Settings - Server - General . Set the Friendly name you expect.
Settings - Users & Sharing - check / add back those which were in limbo.
CONTROL-F5 in the Plex/web browser window to force it to reload the server list (left panel)
Verify it’s now correct
Let’s resolve this because Remote Access is tied to this.
Ok I attempted the above. I did NOT see my old server’s name in the Authorized Devices list to remove. I’m the only user, so I removed everything from the AD list, including a server from less than 24hr ago but it’s name was NOT the old name??? The only thing I DIDN’T remove was the most recent chrome browser login. I F5 refreshed and I then went to general settings and “claimed” the server. I know this is not what you asked me to do, sorry! Remote Access still initially shows as available/good but then changes to not available and manual port isn’t checked/enabled.
Version 2.4.5 per the status page. Not virtualized, a physical machine (old PC).
As I’d mentioned, I originally didn’t have issues with remote access even though the web interface in settings said it wasn’t accessible. And I didn’t have it setup with port forwarding either. But after whatever happened that killed PMS (ran out of space apparently!) and with your help getting it back up, now remote access doesn’t work, can’t get to Plex from outside. That’s when I tried manually doing port forward in pfSense and it still doesn’t work. I’ll be perfectly clear, I know just barely enough about both Plex and pfSense to get them working!
I know, but again, I’m not THAT keen on what I’m doing so I’m afraid to update because if I update and something breaks, my wife and kids will KILL me if there’s no internet!
As far as remote access goes… still not sure what’s happening. On my phone on cellular, I went to homeIP:32400 in chrome app and guess what, it loads! So I know PMS is actually accessible. So I can’t figure out why I can’t access it through Plexamp. Also, Plex Dash doesn’t work (used to, but now under settings it shows “???” for the server and I can’t pick my server), nor does the actual Plex android app. Turn wifi on and the apps start working (except Dash, still shows ??? for server and can’t select my PMS).
Before I ran outta space all these apps worked, both local and remote.