You’re logged into the NAS as root. That’s good.
Some SSH FYIs:
-
Paste (for entering claim code): To paste text into a SSH session, use a right mouse click, not CTRL-V (Windows) or CMD-V (Mac, IIRC).
-
CTRL-C: Is “cancel” in a SSH session. If you’re typing a line of text, ctrl-c will cancel it. If you’re running something like the User Credential Reset script, ctrl-c will stop it.
-
File Listing: On the NAS, if
dirdoes not work, tryls -l(the Unix equivalent). -
You can copy/paste the commands below into the SSH session. Mouse over the top right corner of the text box and you can copy the text to the clipboard. Use the aforementioned right mouse click to paste into the SSH window.
Change to the public directory if possible
cd /mnt/HD/HD_a2/Public
Download the current version of User Credential Reset utility to the NAS:
A quick Google search says the wget command is supported on WD NAS. If it is not, write back and we’ll download a different way.
wget -O UserCredentialReset.sh https://github.com/ChuckPa/UserCredentialReset/releases/latest/download/UserCredentialReset.sh
Make it executable, so you can run it:
chmod a+x UserCredentialReset.sh
Run it, adding the claim code from https://plex.tv/claim.
./UserCredentialReset.sh claim-xxxxx
If it runs correctly, you will see Claim completed without errors.
This is how it looks on a Synology NAS. It should look very much the same on a WD NAS.
User Credential Reset Example
# ./UserCredentialReset.sh claim-FhfS1X33FsxeK9FzJxxx
User credential reset & reclaim tool for Plex Media Server (Linux) (Synology (DSM 7))
(Version: v1.11.0)
This utility will reset the server's credentials.
It will next reclaim the server for you using a Plex Claim token you provide from https://plex.tv/claim
Using given claim token: 'claim-FhfS1X33FsxeK9FzJxxx'
Stopping PMS
Clearing Preferences.xml
Getting new credentials from Plex.tv
Claim completed without errors.
Username: FordGuy61
Email: <redacted>
Starting PMS
Complete.
#
