I managed to wreck the preferences.xml file and subsequently just wiped out everything in the path /var/lib/plexmediaserver/Library/Application Support/
Obviously I should not have done that.
The messaging upon trying to connect says:
“A server could not be found. Download and install Plex Media Server, and it will appear here.” but I’ve completely reinstalled the software pkg, but still the server cannot be found.
I read some posts for suggestions but many don’t apply or didn’t help.
I tried to logon via http://127.0.0.1:32400/web/index.html but it won’t. “Firefox can’t establish a connection to the server at 127.0.0.1:32400.” logs.txt (25.0 KB)
I believe I’ve attached the logs and hopefully that is helpful.
Thanks in advance.
I have located what I suppose to be all the deleted files and folders from /var/lib/plexmediaserver/Library/Application Support/ and have restored them.
But I still cannot sign into the server.
Neither http://127.0.0.1:32400/web/index.html or http://localhost:32400/web but it won’t.
“Firefox can’t establish a connection to the server at …” error messages.
I’ve dropped the firewall to test it. No help.
It should have nothing to do with Ports as I’ve changed nothing there and besides, I checked again the settings and the port is still open.
Got to be some way to get this all restored and working. Anyone?
Not knowing what you actually have, I will assume this is the case.
I also assume the browser is running on the same machine as the server. If this isn’t the case, please advise.
sudo sh
systemctl stop plexmediaserver
chown -R plex:plex /var/lib/plexmediaserver
find /var/lib/plexmediaserver -type d -exec chmod 755 \;
find /var/lib/plexmediaserver -type f -exec chmod 644 \;
cd "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server"
find /var/lib/plexmediaserver -type d -exec chmod 755 {} \ ;
Without the brackets at the end it was crying “chmod: missing operand after ‘755’”
But I found that answer and it seems to have worked, so I followed the same convention on this line.
find /var/lib/plexmediaserver -type f -exec chmod 644 {} \ ;
Got down to the last two steps and it’s a little different, but Settings, Authorized Devices, I didn’t see an old instance but there is the new one there now!
Settings - Devices - Servers
Look for the old instance of the server and this new one. Remove the old one.
But all seems to have went well as far as I can tell.
So Im sitting in the browser here : http://127.0.0.1:32400/web/index.html#!/settings/devices/all
On the left is the settings choices, and I see the server name I defined (same as before)
Has a green circle with a padlock on it next to the server name.
However if I click onto the Home Icon the browser shows
There was an unexpected error loading the dashboard
Please visit our forums if you continue to experience problems
Don’t want to mess it up so afraid to poke around.
I should perhaps add that I DO see all the library names that I defined previously under Libraries on the left side of the screen. But if I choose any one of them, the same error panel about the dashboard results. I did go that much further and wanted to be sure to mention in case it matters.
On the left is the settings choices, and I see the server name I defined (same as before)
Has a green circle with a padlock on it next to the server name.
At this point, I don’t think we’re easily going to be able to pull this off. This is one of those cases where “Premium Support” and someone like me getting hands-on could get it done but Forum-level isn’t working out.
This said,
Stop Plex
cd /var/lib/plexmediaserver
sudo mv Libfrary Library.old
Start Plex
Setup a full new instance.
after you’ve got everything done, we can transfer your watched list to the new install.
It’s a coup!
Nice job! All seems to be working properly at this point.
Once I logged in and accessed by the http://plex.tv/ link and logged into https://app.plex.tv/desktop#, I saw all the libraries pop in with the same last watched, etc. all looking good.
But it still wouldn’t show me anything via http://127.0.0.1:32400/web
But b/c I’m an old DOS baby that can’t get over it, I logged out and rebooted things.
Back into http://Plex.tv signed in and this time directly to http://127.0.0.1:32400/web and voila! All is revealed there as well now. Switched back to https://app.plex.tv/desktop# and all looking good there still. I think it’s a winner!
You surely have great karma. Thanks so much!