I'm creating my first TerraMaster application. I have arm64 based F4-210 and I decided to start from creating Entware application. My plan was to create entware app first and then to build other apps on top of entware (e.g. tor, dnsmasq, for transparent resources access from LAN, e.t.c.). I used script provided by MaitreKuc memberlist.php?mode=viewprofile&u=2087 in sibling forum message - [TUTO] Install Entware (opkg) viewtopic.php?f=37&t=829.
So I've created it. Installed. But I don't see application icon on TOS desktop. List of installed applications on TOS desktop stopped working. Now I have two apps installed - docker and entware and TOS -> applications -> installed shows nothing. I checked appropriate http request TOS sends to get list of installed applications and it looks strange - I see empty string instead of entware, almost all fields are empty:
Request: http://_nas_ip_:8181/tos/index.php?app/get_installed_app
Response:
Code: Select all
{"code":true,"use_time":0.26152706146240234,"data":{"":{"exec":0,"install":1,"type":"app","category":1,"category_name":"Utilities","name":"Entware#app title"},"docker":{"url":"http:\/\/dl.terra-master.com\/cn\/RTK7.0CJ\/docker_TOS_APP_17.05.6_aarch64.tpk","md5":"c9147e5aec19e62a9fdfde117569a433","time":"2021-05-06 18:14:44","size":"20.36M","version":"17.05.6","id":"docker","name":"Docker","auth":"Docker,Inc.","desc":"Docker enables true independence between applications and infrastructure and developers and IT ops to unlock their potential and creates a model for better collaboration and innovation.","type":"app","category":"Business","install":1,"hideTitle":0,"group":"recommand","exec":1,"width":900,"height":580,"path":"\/module\/index.php?mod=4.Application\/23.docker.php&t=0","icon":"http:\/\/app.terra-master.com\/images\/icons35\/docker.png","thumbs":["http:\/\/dl.terra-master.com\/thumbnail\/docker\/1.png","http:\/\/dl.terra-master.com\/thumbnail\/docker\/2.png","http:\/\/dl.terra-master.com\/thumbnail\/docker\/3.png"],"release_note":"[17.05.5]<br>- X86<br>- Fixd:Unable to download the image file on the front end of version 4.2.11.<br>[17.05.6]<br>-ARM<br>- Fixd:Cannot download the image file on the page.<br>","content":"core.appNormal();","status":2,"category_name":"Бизнес"}},"info":"Operation successful!"}
Here are sources of my app: https://github.com/mpashka/terranas/tre ... ps/entware (terranas/apps/pack.sh script can be used to create app).
My app for arm64: https://drive.google.com/file/d/1QDPxkU ... sp=sharing
Can anybody help me with fixing these issues?
PS: Also there was an issue installing it - installation stopped at 50%. I've found that in order for app to be installed properly it must have appropriate lang section in APP_ID.lang file (see TerraMaster_APP_packaging_guide_en_1.04.pdf). And I had ru-ru locale on my TOS desktop which is not present in packaging guide.