AirVantage - Cannot install application over the air


#1

Hello,

I tried to install an application to our Legato system. I build a legato from scratch (18.06), and I build a MangOH to it. After I installed the whole system to the board (with update and instsys commands), the board was able to connect to AirVantage and after the board sends up the application list I saw the so called redSensorsToCloud application with version number V2.0 as installed application on the AirVantage dashboard.

After this I modified the application (redSensorsToCloud), and I built a new version (battery handling has been added). I modified the .app file (I changed the version from 2.0 to 4.0 and added the new battery related keys).

I created the package with the legato builtin av-pack utility, that generated the manifest.app file and pack it together with the update package (I tried with zip and mksys/mkapp too). I could upload it without any error to AirVantage, but after the install hangs, with the next messages on client side:

Dec 14 14:39:51 swi-mdm9x28-wp user.info Legato:  INFO | avcDaemon[8087]/avcDaemon T=main | avcClient.c BearerEventCb() 251 | Connected 1
Dec 14 14:39:52 swi-mdm9x28-wp user.info Legato:  INFO | avcDaemon[8087]/avcDaemon T=main | avcServer.c ProcessUserAgreement() 1418 | Broadcast notification to applications
Dec 14 14:39:54 swi-mdm9x28-wp user.err Legato: =ERR= | avcDaemon[8087]/avcDaemon T=main | avcFs.c ReadFs() 41 | failed to open /avc/packageDownloader/packageUri: LE_NOT_FOUND
Dec 14 14:39:54 swi-mdm9x28-wp user.err Legato: =ERR= | avcDaemon[8087]/avcDaemon T=main | packageDownloader.c packageDownloader_GetResumeInfo() 323 | Failed to read /avc/packageDownloader/packageUri: LE_NOT_FOUND
Dec 14 14:39:54 swi-mdm9x28-wp user.info Legato:  INFO | avcDaemon[8087]/avcDaemon T=main | avcAppUpdate.c NotifyObj9List() 691 | Found 9 object 9 instances
Dec 14 14:39:54 swi-mdm9x28-wp user.info Legato:  INFO | avcDaemon[8087]/avcDaemon T=main | avcAppUpdate.c NotifyObj9List() 692 | obj9ListLen; 116 obj9List: </lwm2m/9/0>,</lwm2m/9/2>,</lwm2m/9/3>,</lwm2m/9/4>,</lwm2m/9/5>,</lwm2m/9/6>,</lwm2m/9/7>,</lwm2m/9/9>,</lwm2m/9/8>
Dec 14 14:39:54 swi-mdm9x28-wp user.info Legato:  INFO | avcDaemon[8087]/avcDaemon T=main | push.c push_Retry() 255 | Push Retry
Dec 14 14:39:54 swi-mdm9x28-wp user.info Legato:  INFO | avcDaemon[8087]/avcDaemon T=main | avcServer.c ProcessUserAgreement() 1418 | Broadcast notification to applications
Dec 14 14:39:54 swi-mdm9x28-wp user.debug Legato:  DBUG | redSensorToCloud[8308]/avPublisherComponent T=main | avPublisher.c AvSessionStateHandler() 1281 | Session Started
Dec 14 14:39:55 swi-mdm9x28-wp user.err Legato: =ERR= | avcDaemon[8087]/avcDaemon T=main | avcFs.c ReadFs() 41 | failed to open /avc/fw/updateState: LE_NOT_FOUND
Dec 14 14:39:55 swi-mdm9x28-wp user.warn Legato: -WRN- | avcDaemon[8087]/avcDaemon T=main | packageDownloader.c packageDownloader_GetFwUpdateState() 527 | FW update state not found
Dec 14 14:39:55 swi-mdm9x28-wp user.err Legato: =ERR= | avcDaemon[8087]/avcDaemon T=main | avcFs.c ReadFs() 41 | failed to open /avc/fw/updateResult: LE_NOT_FOUND
Dec 14 14:39:55 swi-mdm9x28-wp user.warn Legato: -WRN- | avcDaemon[8087]/avcDaemon T=main | packageDownloader.c packageDownloader_GetFwUpdateResult() 572 | FW update result not found

Could you please help, what I made wrong?
Thanks!