otavio on gatesgarth
u-boot-script-toradex-updatehub… u-boot-script-boundary-updatehu… imx7s-warp: Drop unmaintained b… (compare)
otavio on master
imx7s-warp: Drop unmaintained b… (compare)
fbertux on master
updatehub-package-schema: Upgra… uhu: Upgrade 1.1.0 -> 1.2.0 Si… conf/layer: Add rust-bin-layer … and 4 more (compare)
dependabot-preview[bot] on npm_and_yarn
dependabot-preview[bot] on npm_and_yarn
build(deps): bump core-js from … (compare)
dependabot-preview[bot] on npm_and_yarn
samples/net/updatehub
right now i do not have any target device but just wanted to see how to upload package to UpdateHub Cloud
Logs
```hardik@ub:~$ uhu
UpdateHub Utils 1.0.7
[d43089] uhu> product use
d4308954f6a30c4f114xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
[d43089] uhu> package version 1.0.0
[d43089] uhu> hardware add xyz
Hardware identifier: w
[d43089] uhu> package add
Choose a mode: tarball
Filename: hcf.tar.xz
Target Type: mtdname
Target (installation set 0): 0
Target (installation set 1): 0
Target Path (installation set 0): /home/
Target Path (installation set 1): /home/
Filesystem: ext2
Mount Options:
Format Device [y/N]: N
[d43089] uhu> package push
Loading objects: -
Loading objects: ok
Starting uploading objects...Error: Could not upload metadata: Server is not available. Try again later.
[d43089] uhu>
```
Hi @rhardik I was wrong about west tool. I found a missing update for dtls and send a patch and new test config at zephyrproject-rtos/zephyr#27703
Got merged on master.
@otavio I meant npm version for docker used for updatehub..but npm issue is resolved now. upgraded npm from 3.5.2 to 6.x.x
now I 'm running update-ce using below command line
$ updatehub-ce --http 8081
and logs I see is
http server started on [::]:8081
so need to know how to bind it with any specific IP address
Adding IP i get
updatehub-ce --http 0.0.0.0:8081
Error: invalid argument "0.0.0.0:8081" for "--http" flag: strconv.ParseInt: parsing "0.0.0.0:8081": invalid syntax
Usage:
updatehub-ce [flags]
Flags:
--coap int Coap server listen port (default 5683)
--db string Database file (default "updatehub.db")
--dir string Packages storage dir (default "./")
-h, --help help for updatehub-ce
--http int HTTP listen address (default 8080)
--password string Admin password (default "admin")
--secret string JWT secret key (default "secret")
--username string Admin username (default "admin")
2020/09/03 12:37:20 invalid argument "0.0.0.0:8081" for "--http" flag: strconv.ParseInt: parsing "0.0.0.0:8081": invalid syntax