Server stuck in 503 Maintenance

Server Version#: 4.160.0
Player Version#:
<If providing server logs please do NOT turn on verbose logging, only debug logging should be enabled>

Upgraded Ubuntu last night; restarted computer. Started getting 503 maintenance upon relaunching server. Let it run overnight. Now I’m getting 401 response (per the logs).

I’m pretty new to this whole thing, so I’m attaching the logs. I know I’m not supposed to have them in verbose mode, but I’m not sure if they are, and I can’t figure out how to turn that off if so.

Any help from Plex wizards would be appreciated. Thanks!

Plex Media Server.log (166.9 KB)

Plex Crash Uploader.log (576 Bytes)

All part of the learning curve. Avoid using default directories /home, /mnt,/media for anything Plex as they can have their permissions overwritten when you do an OS upgrade.

Present in this log file (would have liked to see the whole .zip bundle) are permission problems.

Try the below commands


# change the default permissions to owner='rwx', everyone else to 'r-x' 
#  'x' means to traverse the directory to subdirectories & files
sudo find /home/smeagol -type d -exec chmod 755 {} \;
sudo find /media/smeagol -type d -exec chmod 755 {} \;

# change the default permissions to owner= 'rw-',  everyone else 'r-only'
sudo find /home/smeagol -type f -exec chmod 644 {} \;
sudo find /media/smeagol -type f -exec chmod 644 {} \;

Restart Plex:

sudo systemctl restart plexmediaserver.service

Chuck’s Linux tips covers creating a directory for media and much more: Linux Tips - #10 by ChuckPa

Thanks so much! This worked for me. Now I have a secondary problem, which I don’t necessarily expect any help with, though I wouldn’t mind :slight_smile:

I think a very similar issue happened early in my Plex adventure, and, since I couldn’t figure out how to connect to the server, I created a new server with the same name and mapped to the same drives - and that’s the server I’ve been using this whole time and filling with metadata.

Now my problem is that I got the original server back, and consequently lost connection with the 2nd server (same name, same drives) - and thus lost all of my precious meticulously-added metadata! oy vey, learning curve indeed!

It depends on you being able to provide a detailed list of steps you followed.

If all this occurred on the same machine and you installed Plex using the same commands then you likely overwrote your first/second server.

You likely have two servers hanging around in authorized devices and saved on the clients which is causing the confusion. Some cleanup will be necessary. Best to never reuse the name.

Yeah, not likely to be able to provide that information! Thanks anyway for your guidance!