I’m not sure if it’s proper to jump on this thread to request support for a Synology NAS server for the same issue, but thought I’d start here. After I updated my password and didn’t see my server in Plex, I removed my server from “Plex Authorized Devices”, before I found this thread. Now when I browse to http://[local NAS IP address]:32400/web, no (unclaimed) server is displayed on the general tab. I have uninstalled/rebooted/reinstalled Plex on the server. I also reviewed the Cannot access QNAP Plex Since resetting password - #79 by mm98 thread, but am not very good with programming, so am hoping to resolve without code updates. Thanks in advance for any suggestions.
Let’s not mix this up.
If you’ve verified you’re on the same network/subnet, you might want to follow-up this procedure to do a hard reset of your PMS. Make sure to use the steps related to your version of DSM (6/7).
Thanks tom80H. I’ll try later today. Appreciate your guidance.
I attempted hard reset credentials:
- Stopped PMS
- Ensured same IP on the Synology server and WAN (no VPN)
- Successfully edited “Preferences.xml” in the /Plex/Library/Application Support/Plex Media Server directory * deleting the PlexOnlineUsername, PlexOnlineToken, and PlexOnlineMail pairs, and then saved the file
- Restarted PMS
- Opened incognito window for http://xxx.xxx.xxx.xxx:32400/web
- Screenshot of Plex below
- I checked the xml file and no “pairs” were updated/exist in the file
I’m not sure what to try next and am looking for further guidance.
On what version of DSM are you?
DSM 6.2.4-25556 Update 6
Model = DS415+
If you’re comfortable to SSH into your NAS, you could give this script a try
Thanks again for your continued support @tom80H. I’m not familiar with SSH so let me study up tonight and then attempt to run the script tomorrow.
Tom is about to leave us for the day.
I am eastern US so will be able to help further tonight if you need it.
SSH is pretty straight forward. It’s a secure connection to the NAS where you’re signing into it and all input comes from and output back to your computer (session window – whether SSH or Putty)
How we do this operation is:
-
Upload the utility scipt ( the
.tar
file ) to a well known place on the Syno.
( The Plex shared folder is a good place that’s safe and won’t interfere with PMS ) -
We next SSH (or putty) sign into DSM
-
We change our working directory to be over in the Plex shared folder
-
Now we extract the utility from the tar (just like a ZIP file)
-
We elevate our privilege so the script can run (I’ll show you that – it’s one command)
-
We run the script
-
It will confirm we’re on DSM 6 and then wait for us to get the Plex Claim Token it needs.
-
We quickly copy the token from our browser and paste it back into the SSH window and hit enter.
-
The utility script does the rest for us. It talks to Plex.tv and then updates the Preferences.xml file (your credentials for PMS) so it will start and be in your account
-
It will finish by showing your Plex Username and Email address (to confirm)
-
Lastly we start PMS and open it, one time only, using the Syno’s LAN IP
http://lan.ip.of.syno:32400/web -
After this is done (where the browser - Plex/web and server resync themselves) you are back to normal.
Please disregard. I see now that I can use my PC to communicate with my server. I think that I’ll need to create a local admin account on my PC before I can get into the server. Wish me luck.
Thanks @ChuckPa. I uploaded/extracted the script and enabled my SSH service on the server, but don’t see a command prompt in DSM/Package Center. How do I begin my “DOS-like” session in DSM? Thanks in advance for your help.
A. On your PC, you want Putty
The top one. Install the MSI for Windows
B. Back to the Syno
Control Panel → Terminal & SNMP → Enable SSH (port 22) - Apply
C. Now, back on your PC:
Open Putty,
Enter the LAN IP of your Syno
connect
You’ll see a either login as
or it asking for the admin
password.
If you can enter a username, type your Syno username (same upper/lower case)
then enter your password . (( WARNING: It will not echo anything as you type ))
When you know you’ve typed the password, hit Enter
If it’s right, it’ll give you a prompt
If not, it will sit there a few seconds then make you try again.
(DSM 6 is really tight on security)
Let me know when you get there or get frustrated
I gave up on the Plex root directory and copied the script to the volume1/homes/plex/.ssh directory. Is the command to execute the script “run UserCredentialReset.sh”?
Sorry for delay… (got pulled away suddenly with real-life)
Here I am, signing into my DSM 6 DS1815+
chuck@moesern:~$
chuck@moesern:~$
chuck@moesern:~$ pwd
/var/services/homes/chuck
chuck@moesern:~$ sudo bash
(( it will probably ask for your password here -- expect it. ))
bash-4.3#
bash-4.3#
bash-4.3# synoshare -get Plex
SYNOSHARE data dump:
Name .......[Plex]
Comment ....[Plex metadata storage]
Path .......[/volume1/Plex]
Deny list ..[]
RW list ....[]
RO list ....[]
fType ......[2]
fBrowseable [yes]
FTPPrivilege[7]
Status .....[0x1880]
WinShare .....[yes]
ACL ..........[yes]
Skip smb perm.[yes]
Permit .......[yes]
RecycleBin....[no]
RecycleBinAdminOnly....[no]
HideUnreadable ........[no]
Snapshot browsing .....[no]
On Cold Storage Volume.....[no]
bash-4.3# cd /volume1/Plex <-- shown in the "Path" above
bash-4.3#
bash-4.3# ls User*
UserCredentialReset.tar
bash-4.3# tar xf UserCredentialReset.tar
bash-4.3# ls -la User*
-rwxr-xr-x 1 root root 8241 Aug 27 11:51 UserCredentialReset.sh
----------+ 1 chuck users 10240 Aug 27 11:52 UserCredentialReset.tar
bash-4.3# ./UserCredentialReset.sh
Plex Media Server user credential reset and reclaim tool (Synology (DSM 6))
This utility will reset the server's credentials. It will then reclaim the server for you via a Plex Claim token from Plex.tv
Please enter Plex Claim Token copied from http://plex.tv/claim :
There is no “run” in Linux.
Look at what I did.
You put ./
in front of the file name (Linux treats it as a program)
(the directory you’re in doesn’t matter when the file is right there with you and you type ./
)
Worked like a charm @ChuckPa. I guess I need to pay you a semester’s worth of programming LOL? Thanks to the Plex community and specifically you and @tom80H for your tremendous service. Really appreciate it.
You’re fully up and back to normal ??
OUTSTANDING!!!
… As for that Programming? I’ve been doing this since the dinosaurs taught me.
Thanks for sticking with it…I dropped out after DOS got too complicated LOL. Thanks again @ChuckPa
HAHAH I started before DOS was around LOL