[PACKAGE] Syncthing for WD My Cloud

Tired of backup issues?

Syncthing
Syncthing replaces proprietary sync and cloud services with something open, trustworthy and decentralized. Your data is your data alone and you deserve to choose where it is stored, if it is shared with some third party and how it’s transmitted over the Internet.

Official Syncthing website

Download WD application binary.
Simply install it as a 3rd party app in the Apps tab of the WD web UI.

Source on github

Tested on PR4100 and EX2Ultra. Made for devices with 2.x firmware.
Let me know if it doesn’t work for you.

1 Like

The first generation (v4.x firmware) single bay My Cloud units do not have an Apps tab in the My Cloud Dashboard and later versions of the v4.x firmware use the non standard 64k page file size. Is there a way for first gen users to install this program on the v4.x firmware?

This application binary is made with mksapkg, the packager for the currently supported v2.x firmware (mycloud gen2).
Unfortunately I don’t know much about the internals of the v4.x firmware… I’d suggest to try the ARM build but I can’t promiss it will work.

It is conceivable that the compiled binaries that live inside the package COULD run on a gen1… However, installation would be manual, and would need a manually created start/stop script added to /etc/init.d/ which would need to be registered.

The package system on the 2.x firmwares uses a mechanism to start a start/stop script, and organizes package binaries in a special folder on the share volume. The binaries (out of necessity) are all statically linked ones, and the same instruction set is present on the gen1, just less memory. I dunno if the 64k page size issue will appear or not.

It might be worth dissecting the package, pulling its binaries out, putting them in a folder in /opt and then starting them with a custom start/stop script-- but I dont hav a gen1 to test that idea with.

Integration with the web GUI for the gen1 might be a bit of an issue though. You might also need to package a tiny http server on a custom port to manage it, something like lighttpd or something.

When accessing the Internet remotely,
the browser will display https://…/syncthing/index.php. Jump to the IP address of my cloud in the LAN, for example: http://192.168.1.102:8384/.
Unable to access remotely.

Remote access requires additional security measures (and some changes to the redirect php)
See The GUI Listen Address — Syncthing documentation

I’d recommend to use a SSH tunnel to get around it.

Hi @Tfl, are there any known issues? I have a 2TB WD MyCloud on 2.x firmware. Thanks

Myeah it looks like my website fails to pull in the releases from Youtube at the moment.
Last update was version 1.3: Release SyncThing v1.3.0 for WD My Cloud · WDCommunity/wdpksrc · GitHub

Thanks. So it is stable and safe to install? Is it fully compatible with the latest Syncthing versions?

Any chance to see your script updated to work with OS5? It worked beautiful on OS3 and the Goodsync route is a mess.

Yes an OS5 package will come. I’ll let you know here.

1 Like

Just checking in on progress for an OS5 syncthing package.

Have you had any time to donate to this pet project? I’m in dire need of syncthing for my gen2 mycloud.

Thanks for all you do Tfl, but if there’s more you need help with, bugs, donations, etc, let us know.

Here you go, sorry I forgot to post back here.

Oh, awesome! Need a bigger clue though (grin) iss this the link to the
OS5 version of syncthing for mycloud gen2? Is it the same as the
mirror? I don’t see a gen2 specific link.

Thanks!

I really apologize but I’m not sure if Gen2 is in that link you sent…can mycloud gen2 and mycloud mirror gen2 use the same package? I don’t see the original mycloud gen2 in the link you sent.

Thanks for all you do!

Yeah, some of them work for multiple versions. Just try to install them until you have a match :slightly_smiling_face: