I developed a very simple app for my “WD MyCloud EX2 Ultra” (which runs on My Cloud OS 5) according to this documentation. The app does not contain a binary, but all the seven script files (preinst.sh, install.sh, …) are there. I was able to build the app file using mksapkg-64b.
When I upload this app file on the WebUI of my MyCloud NAS using the link “Install an app manually”, I can select the app from my local filesystem, and after this a dialog with text “Updating …” appears and stays there forever.
The message in line 4 tells us that it is tried to open file file /usr/local/apps_upload/boottimes_0.3.bin. Therefore I copied boottimes_0.3.bin into folder /usr/local/apps_upload/. When I now call the same command again, then I get the following error message:
The “Segmentation fault” in the last lines tells us that upload_apkg has crashed; the cause for this might be that I use the wrong version of mksapkg as mentioned in my previous posting in this thread:
So can anyone please tell me where I can download the app SDK for “MyCloud OS 5”?
dswv42: Thanks a lot for your help. I downloaded file “My Cloud OS5 Third Party Apps GPL Codes” (about 1 GB), opened the file and got Apps/MyCloudOS5_mksapkg (ca. 30 KB). With this I was able to create an installable file for my app.
However, I had expected that the upload UI of the MyCloud device would show a useful error message when an app file in the wrong format was uploaded.