by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Sep 18 20:32

    Asakiz on test_ci

    Add ci tests Signed-off-by: as… (compare)

  • Sep 18 20:31

    Asakiz on test_ci

    Add ci tests Signed-off-by: as… (compare)

  • Sep 18 20:29

    Asakiz on test_ci

    Update API to agent v2 Signed-… Add ci tests Signed-off-by: as… (compare)

  • Sep 18 13:52

    Asakiz on test_ci

    Add ci tests Signed-off-by: as… (compare)

  • Sep 18 13:48

    Asakiz on test_ci

    Update API to agent v2 Signed-… Add ci tests Signed-off-by: as… (compare)

  • Sep 18 13:18
    bossinfo starred UpdateHub/updatehub-ce
  • Sep 18 01:59

    otavio on master

    cargo: Update all dependencies … (compare)

  • Sep 17 21:06
    NicoJuicy starred UpdateHub/updatehub-ce
  • Sep 17 20:43
    ansarid starred UpdateHub/updatehub-ce
  • Sep 17 19:56
  • Sep 17 17:52
    slash2223456 starred UpdateHub/updatehub-ce
  • Sep 17 16:48
    Jonathas-Conceicao closed #348
  • Sep 17 16:48
    Jonathas-Conceicao commented #348
  • Sep 17 15:13

    Asakiz on test_ci

    Add ci tests Signed-off-by: as… (compare)

  • Sep 17 15:11

    Asakiz on test_ci

    Add ci tests Signed-off-by: as… (compare)

  • Sep 17 14:01

    Asakiz on test_ci

    Update API to agent v2 Signed-… Add ci tests Signed-off-by: as… (compare)

  • Sep 17 12:52
    hariharanpalani starred UpdateHub/updatehub-ce
  • Sep 16 20:31

    otavio on update

    (compare)

  • Sep 16 20:31

    otavio on master

    package_schema: Add Mender and … updatehub: Add support for mend… package-schema: Use top level o… (compare)

  • Sep 16 20:31
    otavio closed #350
Hardik
@rhardik
what is API key?
Otavio Salvador
@otavio
yes, access key
Hardik
@rhardik
Yes provided
Otavio Salvador
@otavio
you need to create it inside it.
Are you following the docs or a tutorial?
Hardik
@rhardik
yes i have created a Demo product ...could you plz share a link for docs/tutorial?
Screenshot from 2020-08-19 22-06-56.png
No idea on this configuration
Hardik
@rhardik
may be i do not have access to this server in my country ...possible??
Otavio Salvador
@otavio
Are you going to use Yocto Project or Zephyr Project?
Hardik
@rhardik
right now I just want to see my package going to updatehub and selected tarball package..
Later i'll use zephyr
Hardik
@rhardik
ok so there are 2 different server
UpdateHub Cloud and UpdateHub CE ??
above tutorial uses UpdateHub CE
Otavio Salvador
@otavio
Yes; the CE is nice for testing
and the cloud nice for production
Hardik
@rhardik
Ok..
Cloud available for testing?
Otavio Salvador
@otavio
Yes, it is
However, the tar file need to be included in an update package
Hardik
@rhardik
Okay thanks for your kind support
I'll try once again....
Otavio Salvador
@otavio
I suggest you first check the CE as it allow you to try it and upload the uhupkg by hand and see it working at first
Hardik
@rhardik
Yes CE must be better option right now
Hardik
@rhardik

gettng permission denied error while compiling updatehub zephyr app.

command : west build -b nrf52833_pca10100 -- -DCONF_FILE="prj.conf overlay-dtls.conf"
.................................................
Error as below

Otavio Salvador
@otavio
@nandojve
Gerson Fernando Budke
@nandojve
Hi @rhardik it seems to be an issue with west tool and not UpdateHub.
I know that there are some changes with the tool zephyrproject-rtos/zephyr#27688
I don't understand why west is trying to create the privkey.der.inc at "/"
I'll try reproduce here.
Gerson Fernando Budke
@nandojve
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
Please, could you give another try with above patch and tell us what happens, please?
west build -b nrf52833_pca10100 samples/subsys/mgmt/updatehub -- -DCONF_FILE="prj.conf overlay-dtls.conf"
Hardik
@rhardik
Hi @nandojve
Your solution works...Thanks a lot !
set(gen_dir ${ZEPHYR_BINARY_DIR}/include/generated/)
I'm using v2.2.99 zephyr version so path is samples/net/updatehub
Hardik
@rhardik
I can upload package to UpdateHub CE local server using UPLOAD_PACKAGE option but I do not see any UPLOAD_PACKAGE option in UpdateHub Cloud UI
Is there any step by step guide to upload package to Cloud UI?
Otavio Salvador
@otavio
To the cloud you must use the uhu
Hardik
@rhardik

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>
```

Gerson Fernando Budke
@nandojve

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.

Hardik
@rhardik
which npm version you use with docker?
Otavio Salvador
@otavio
@rhardik where?
Hardik
@rhardik

@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

Otavio Salvador
@otavio
Oh ... it'll be binding to all IP. Use --http <ip>:port
Hardik
@rhardik
@otavio binding to all ip means I just need to forward this port 8081 and access using public ip ?
Otavio Salvador
@otavio
yes
Hardik
@rhardik

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

so --http accepts only an int (port)
Alan Millen
@amillen_gitlab
Hi. What strategy does UpdateHub use for the OTA updates? Is it a full file system A/B swap symmetric / Asymmetric / single filesystem (OsTree) ?
Also, does the product do differential updates? I can't seem to find answers to either question in the docs.
Many thanks!
Otavio Salvador
@otavio
@rhardik yes, it listen to 0.0.0.0 so you need to forward it
@amillen_gitlab it uses A/B symmetric
Hardik
@rhardik
@otavio Yes Working .. Thanks !