My workstation is running Windows. This is where I am browsing and writing to you now. I use Notepad++ for more complex things and notepad for simple stuff.
“The contents of the tar ball is already” the file I created did not have 775 permissions, so I used +x to get execute permission on the newly created file.
If did it this way instead of using WinSCP or similar to get the script over to the server.
Click-download the file, keeping in in the TAR file, then when you SCP the tar file over to the Linux VM, you won’t have any fussing around to do on the Linux side.
SCP the file to your username. (it will end up in your home directory)
SSH/Putty into the machine, landing in your home directory
sudo tar xf UserCredentialReset.tar
sudo ./UserCredentialReset.sh
This is why I published it in a tar file. tar protects the script even if on a Windows host.
Linux noobie here. I managed to enable SSH and extract the UserCredentialReset.sh script. When I run it using “sudo ./UserCredentialReset.sh” I get the error:
Ok I manage to put the tar file in a better place (I think).
In the PlexShare wich helped me extracted the tar and run it.
I get ERROR: PMS is running. Please stop PMS and try again. wich i did via app center…
Is there a proper command to stop the server?
[/share] # tar xf UserCredentialReset.tar
[/share] #
We start it up
[/share] # tar xf UserCredentialReset.tar
[/share] # ./UserCredentialReset.sh
Plex Media Server user credential reset and reclaim tool (QNAP)
This utility will reset the server's credentials. It will then reclaim the server for you via a Plex Claim tokem from Plex.tv
Please enter Plex Claim Token copied from http://plex.tv/claim :
Next step is to open Claim | Plex and COPY the token.
Return to this SSH session and PASTE the claim-xxxxx string .
Please enter Plex Claim Token copied from http://plex.tv/claim : claim-s51jKQsGUtM18yXxL8z7
Clearing Preferences.xml
Preferences.xml cleared
Getting new credentials from Plex.tv
Claim completed without errors.
Username: ChuckPA
Email: ChuckIsCrazy@loonies.com
Thanks - this definitely helped resolve my problem after the password reset. I would highly suggest getting instructions like this included in the same message that was sent to everyone to reset their password.