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 (
install.sh, …) are there. I was able to build the app file using
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.
After this the app does not appear in the list of “Installed Apps”, and no folder for this app in
When opening " Settings | Utilities | System Diagnostics | View Logs" I also see no error/warn message concerning the upload of a new app.
I also copied the app file on a share of the NAS and used command line programm
/usr/sbin/upload_apkg for an upload:
upload_apkg -d -p MyCloudEX2Ultra_myappname_0.3.bin\(01022021\)
The output of this command is as follows:
[upload_apkg.c:316] before_state=0,current_state=100 [upload_apkg.c:288] sed -i 's/<install_status>0/<install_status>100/g' /tmp/apkg_state.xml [upload_apkg.c:1274] Install apkg end
After this the app also does not appear in the list of installed apps.
Are there further options to find out what is going wrong? Is there a log file that should contain an error message in this case?