So check that the Synology box can resolve DNS, as well as reach the internet
Curl error 6 means it could not resolve the host, in this case plex.tv
So check that the Synology box can resolve DNS, as well as reach the internet
Curl error 6 means it could not resolve the host, in this case plex.tv
Hi,
I haven’t been at home for several months and when I came back and reset the password, I also couldn’t claim my server anymore. I’m actually extremely frustrated by now. I’m about to leave again for x months and don’t have access to my files which is an absolute catastrophe. I have no deeper knowledge in IT and hence I don’t get all these instructions posted here. Is there a simple solution by now? I’m using a WD My Cloud Pro 4100.
Also: Do you guys know if your customers lost any data due to the hack? Because I had to realize that about a third (!) of all my files are gone.
I really need a (very) quick and simple solution. Thanks in advance.
This will work for the PR4100/
This would not be related
Thanks for your reply.
I’m getting it done until I want to invoke the UserCredentialReset.sh
It shows this message with an error:
./UserCredentialReset.sh: line 138: whoami: not found
Plex Media Server user credential reset and reclaim tool (Western Digital)
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
ERROR: Cannot find Preferences file at ‘/mnt/HD/HD_a2/Nas_Prog/plex_conf /mnt/HD/HD_b2/Nas_Prog/plex_conf/Plex Media Server/Preferences.xml’. Exiting
The preferences file in mnt/HD/HD_a2/Nas_Prog/plex_conf is actually in mnt/HD/HD_a2/Nas_Prog/plex_conf/Plex Media Server
When I copy it into the plex_conf folder, the same error occurs over and over again,
The file in the HD_b2 subfolders is there where it can’t be found. So I don’t get it.
I’m using Windows 11 if that’s from any interest.
Another question: I can do this using Putty and a FTP-Client like FileZilla, right?
Putting the file on the WD can be placed any way except through a windows text editor.
Putty SCP will work just fine for placing the file.
What the script is seeing is apparently the remnant of when it was installed on HD_a2
WD does not tell me where PMS is installed so I must assume the default which is here
# Western Digital
elif [ -f /etc/system.conf ] && grep "Western Digital Corp" /etc/system.conf >/dev/null; then
AppSuppDir="$(echo /mnt/HD/HD*/Nas_Prog/plex_conf)"
Preferences="$AppSuppDir/Plex Media Server/Preferences.xml"
HostType="Western Digital"
return 0
fi
This looks for:
Whichever directory it finds first is the one it uses.
Is this incorrect ?
Can you provide any guidance on how to make this better ?
This is what I have
root@WD-EX2Ultra-OS5 HD_b4 # find / -name Preferences.xml -print
/mnt/HD/HD_a2/Nas_Prog/plex_conf/Plex Media Server/Preferences.xml
^C
root@WD-EX2Ultra-OS5 HD_b4 # df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/root 55529 20587 32075 39% /
devtmpfs 518336 32 518304 0% /dev
mdev 518336 32 518304 0% /dev
ubi0:config 12384 252 11464 2% /usr/local/config
/dev/loop0 170112 170112 0 100% /usr/local/modules
tmpfs 1024 0 1024 0% /mnt
tmpfs 40960 11360 29600 28% /var/log
tmpfs 102400 9120 93280 9% /tmp
cgroup 518336 0 518336 0% /sys/fs/cgroup
/dev/md0p1 537956 4 526688 0% /usr/local/upload
/dev/sda4 951204 112732 822088 12% /mnt/HD_a4
/dev/sdb4 951204 64 934756 0% /mnt/HD_b4
/dev/md1 5810058912 28174240 5723305196 0% /mnt/HD/HD_a2
root@WD-EX2Ultra-OS5 HD_b4 #
If none of this works, and you can ‘cd’ to where the proferences.xml file is,
there is a manual way (what the script normally does for you) which will work.
In most cases, when you and it are on the same network (RFC-1918 compliant home LAN), an incognito window to it usually works by itself. It’ll be unclaimed and you claim it in ‘General’ settings.
Hi and thanks for your reply. Sorry it took me a day to answer, but I didn’t get a notification.
The preferences.xml are indeed at the directions you mentioned.
Other than that, I have no idea how I can help you as I just don’t understand the whole issue and I’m not used to dig under the surface of programs. I’m just a stupid user. ![]()
Hence, I’d be very grateful for the manual guidance. Thanks.
I rechecked here using our WD Ex2Ultra (OS5)
Everything works as it should.
Given you’re having problems, and that WD is not an easy machine to work with, I am willing to make arrangements with you for help.
I am on the east coast USA (your local time minus 6 hours).
Please let me know what works for you.
root@WD-EX2Ultra-OS5 ~ #
root@WD-EX2Ultra-OS5 ~ # df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/root 55529 20586 32076 39% /
devtmpfs 518336 64 518272 0% /dev
mdev 518336 64 518272 0% /dev
ubi0:config 12384 248 11468 2% /usr/local/config
/dev/loop0 170112 170112 0 100% /usr/local/modules
tmpfs 1024 0 1024 0% /mnt
tmpfs 40960 11168 29792 27% /var/log
tmpfs 102400 9056 93344 9% /tmp
cgroup 518336 0 518336 0% /sys/fs/cgroup
/dev/md0p1 537956 4 526688 0% /usr/local/upload
/dev/sda4 951204 112732 822088 12% /mnt/HD_a4
/dev/sdb4 951204 64 934756 0% /mnt/HD_b4
/dev/md1 5810058912 28168244 5723311192 0% /mnt/HD/HD_a2
root@WD-EX2Ultra-OS5 ~ # cd /mnt/HD/HD_a2
root@WD-EX2Ultra-OS5 HD_a2 # ls
Nas_Prog SmartWare lost+found restsdk-data tempnas
Public TimeMachineBackup otaclient restsdk-info tmp
root@WD-EX2Ultra-OS5 HD_a2 # cd Nas_Prog/
root@WD-EX2Ultra-OS5 Nas_Prog # ls
_install plex_conf plexmediaserver
root@WD-EX2Ultra-OS5 Nas_Prog # cd plex_conf/
root@WD-EX2Ultra-OS5 plex_conf # ls
Plex Media Server
root@WD-EX2Ultra-OS5 plex_conf # cd Plex\ Media\ Server/
root@WD-EX2Ultra-OS5 Plex Media Server # ls
Cache Media Preferences.xml_internal-qa-wd
Codecs Metadata __MACOSX
Crash Reports Plug-in Support plexmediaserver.pid
Diagnostics Plug-ins qa_db.zip
Logs Preferences.xml
root@WD-EX2Ultra-OS5 Plex Media Server # pwd
/mnt/HD/HD_a2/Nas_Prog/plex_conf/Plex Media Server
root@WD-EX2Ultra-OS5 Plex Media Server #
That’s super nice of you! Thanks. ![]()
I’m quite flexible with my time as my holidays already started. That’s the good part. The more tricky part is that I’ll leave my computer in ca. 60 hours… for the next 4.5 months. That’s why it’s quite urgent.
Hi,
is there a chance to solve this today? Otherwise, I won’t have access to my NAS for the next five months. ![]()
Thanks in advance.
Hi,
Yes. We can manually solve it.
When is a good time for you (use your local time)
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.