[PACKAGE] Syncthing for WD My Cloud


#1

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.


#2

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?


#3

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.


#4

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.