Media server stuck on "Starting"?


Computer name is definitely set. I checked the logs and attached -- the PMS com.plexapp.system.log hasn't been updated since 2010 so that's certainly odd. Attached the zip of the two logs. Please advise! I'm stumped!

EDIT: I can't tell if the files are showing up or not so I've posted them [here](http://www.techie.net/~maddog/plex.zip).

Update: I just uninstalled and removed as many Plex* files as I could find, then reinstalled. I started up and tailed the Plex Media Server.log and all I see are non-stop entries of this:

Dec 29, 2011 09:02:19 [0xb106c000] WARN - Warning: Couldn't check file: /Users/futureboy/Library/Application Support/Plex Media Server/Plug-ins/SiteConfigurations.bundle/Contents/Resources

Lots and lots of that.... I checked the Plug-ins folder and it is readable/writable by me. Nothing out of the ordinary. Any thoughts?

OK, final update..... I can't figure this out. But I was able to fire up Plex Media Server within an XP VM (via VirtualBox) and it works after sharing my USB drive via VirtualBox. Ugh. What a pain. But it works! Hopefully in 2012 Plex Mac will have better debug information!

@FutureBoy



Okay, those are some really weird logs. The errors seem to indicate that a lot of the core files aren’t being copied out correctly, so they don’t exist when the Plex Media Server tries to use them. If you go to “~/Library/Application Support/Plex Media Server/Plug-ins/” in Finder, do you have any content in that directory (and if so what)?



I’d also like to know if you have the “rsync” file/binary under “/usr/bin/” (go to “/usr/bin/” in Finder and see if there’s an “rsync” file there).


Hey Chris,

No files in in the Plug-ins directory (permissions on the PMS and Plug-ins folder are both 755 so it should be OK).

I do have rsync but it's not the stock rsync (if Mac OS has a stock rsync). I updated it to 3.0.7 a while back as it seemed much better than the stock (2.x) rsync. My rsync is actually in /opt/local/bin (no idea how it got there)

Starfish:bin futureboy$ rsync --version
rsync version 3.0.7 protocol version 30
Copyright (C) 1996-2009 by Andrew Tridgell, Wayne Davison, and others.
Web site: http://rsync.samba.org/
Capabilities:
64-bit files, 64-bit inums, 64-bit timestamps, 64-bit long ints,
socketpairs, hardlinks, symlinks, IPv6, batchfiles, inplace,
append, ACLs, xattrs, iconv, symtimes, file-flags

I would imagine that's probably the problem, then. I know rsync is used during the installation process (as well as other times, occasionally) to move copies out of the .app to the ~/Library locations.

I suppose it's possible that the issue could be due to the newer version of rsync you have, but I doubt it. Much more likely would be if rsync isn't available at the expected install location. Perhaps you could symlink your current rsync binary back to the expected "/usr/bin/rsync" location and then try running the Plex Media Server again.

It’s working!



I tried symlinking /opt/local/bin/rsync to /usr/bin/rsync but it failed to work still, so I remembered that the stock install of rsync may be elsewhere – a quick google showed that to be /usr/local/bin/rsync. So I had both symlinked back to /opt/local/bin/rsync:



Starfish:bin futureboy$ ls -l /usr/bin/rsync

lrwxr-xr-x 1 root wheel 20 Jan 2 13:39 /usr/bin/rsync -> /opt/local/bin/rsync

Starfish:bin futureboy$ ls -l /usr/local/bin/rsync

lrwxr-xr-x 1 root 502 20 Jan 2 13:06 /usr/local/bin/rsync -> /opt/local/bin/rsync



Once I had it working under /usr/local/bin/rsync, then uninstalled Plex and reinstalled, then it finally worked!



Thanks Chris!

My Problem was I didn’t have anything in “Computer Name”, under “Sharing” in “System Preferences”. Once I added something there - voila PMS worked!

This just started happening to me today, running Lion 10.7.2, PMS Version 0.9.5.2-bf472e4, i deleted the framework bundle but it still won’t get past ‘starting’…please help.



Edit, links to logs here:



com.plexapp.system.log





Plex Media Server log

some more info…



typing python in a terminal window yields

Python 2.7.1 (r271:86832, Jul 31 2011, 19:30:53) [GCC 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)] on darwinType “help”, “copyright”, “credits” or “license” for more information.I notice in Activity Monitor that when I launch PMS, Python seems to launch 4 times. Also, when I quit the PMS once while it was still ‘starting’, i got a Python quit Unexpectedly error

One of the devs helped me fix the problem so i’m posting in case it helps others. Turns out a plugin got corrupted, although he didn’t know which one. Deleted all the plugins our of the Plex Media Server/Plug-Ins folder (with PMS closed) and re-opened PMS and it worked.

thanks cfriedberg that totally fixed it for me. I was starting to pull my hair out!

Awesome. Devs take notes!

Although this seems to have been some time ago, today I run into this problem: hanging forever when starting PMS. I followed the steps as indicated, but to no avail. Is anybody else experiencing this problem at the moment ?

Did you delete all the plugins with the pms closed and restart pms?


I have deleted the Plex media server directory from the Application Support folder and rebuilt the server. After that it worked. Strange....

I was having this problem as well. All of a sudden PMS was getting stuck on “Starting…” . Deleting all the plug-ins didn’t help, but deleting the actual Plug-ins folder did the trick. Just a heads up!

I have used OSx Lion with 0.9.5.2 version of PMS for a few weeks, but now it doesn’t start any more. I’ve uninstalled it completely and then I provided a new installation without success.

PMS now shows the splash and it blocks while “starting for the first time”.



Here is the LOG file PlexMediaServer.log

The folder “PMS Plugin Logs” is empty.



What is the problem?



Thank you, that fixed it like a charm!

What precisely did you do to "uninstall completely"? Did you follow the [wiki instructions](http://wiki.plexapp.com/index.php/PlexNine_PMS_TipsTricks#Completely_Removing_Plex_Client_and_Plex_Media_Server)?