Added artifact, created deployment into a raspberry Pi3 device
The deployment failed, I check the logs on raspberryPi3, this is the error logs
"
time=“2019-11-13T06:50:55Z” level=error msg=“Fetching Artifact headers failed: installer: failed to read Artifact: readHeaderV3: handleHeaderReads: Cannot load handler for unknown Payload type ‘rootfs-image’” module=state
"
Can someone help me out, any clues on how to do proceed further?
Hello @chetansk, and welcome to the Mender community.
It is unclear what the error might be, the error message does not really make any sense. The “rootfs-image” type is something that is built in to the Mender client and do not know why it would classify that as a unknown payload type.
Will need to investigate a bit further.
Can provide out of mender-artifact read <the generated artifact>.
hmm… I am not able to compile mender-artifact Looks like md2man which is needed by urfave has dependency broken. Or my dev environment is screwed up… Anyone else seeing this issue ? Please look at the error logs below
I am trying, but I haven’t been able to reproduce your problem yet.
However, what I can see so far is that the Mender version running in your device is wrong. If you follow the tutorial as-is you should get Mender version 2.1.1. Probably you missed the git checkout 1.2.1 step there.
Can you double check your setup? What does git show prints in mender-convert folder?
I had made some changes in the mender client (mostly setting up few environments and path, not in the core logic) and my code base is based on 2.1.x. Hence the version number is not matching.
I am really sorry for false alarm… It was my mistake. I had a overwritten the mender.conf created by mender-create with my config file (a working one for script/files). The config file obviously did not had RootfsPartA and RootfsPartB set. Browsing the code helped me figuring this out.