Mender-client missing in pi 5 quickstart

I followed the yocto/ rpi 5 tutorial, and mender-client is missing from the build. I have mender-auth and mender-uupdate, but no client, I tried to append mender-client but it does not seem to exist?

I feel like i am missing something about how to client is supposed to be isntalled but i cant seem to find what i am looking for in the hub, greatful for any help, thanks.

Hi @Genna,

Thanks for reaching out. The Mender Client consists of mender-auth and mender-update on the device, both with the accompanying systemd service units. So to me it sounds like the installation is in good shape. What are you specifically expecting or looking for, concerning the invocation of the CLI binary?

Greetz,
Josef

Thank you for the response, Josef!

Okay, my misunderstanding. I was not seeing the device in the Mender dashboard and was looking for a systemd service called mender or mender-client.

Steps:

  • follow instructions from
  • update TENANT TOKEN to my token
  • flash device
  • config wifi

I would expect the client to run on boot, and once the device is connected to wifi, iw ould see it in my mender dashboard. Let me know if I am missing something!

cheers

I will continue debugging the issue on my end.

Hi @Genna,

Yes, that expectation is basically correct. So your board boots up, and you can ping something on the internet, meaning that it is properly connected? Then the Mender Client should also come up and the device show up in the dashboard.

A few things to check:

  • what is the configured MENDER_SERVER_URL? If you want to use the hosted dashboard, it should point to either https://hosted.mender.io (the default, US instance) or https://eu.hosted.mender.io (the EU instance). So make sure this matches your account.
  • you can evaluate the logs of mender-auth and mender-update, usually journalctl -u mender-authd can give you a pointer if devices do not appear online.

Greetz,
Josef

OK, great. I appreciate your help, Josef!

1 Like

Hi Josef,

i was able to get the client running and see it in my mender dashboard, thanks for your help.

I am now trying to deploy an update and. running into a failure:

Update Module output (stderr): Mounted root does not match boot loader environment (/dev/mmcblk0p3)!

Hi @Genna,

That sounds a lot like a part of the integration is missing. Which tutorial specifically did you follow? So I can try and reproduce it. And which RPi5 incarnation are we talking about?

Greetz,
Josef

Hi Josef,

I was able to fix!

I had messed around with using meta-raspberrypi instead of the Raspberry Pi layer under Mender Community. Switching to the proper layer (following the tutorial) worked.

Thanks again for your help!

1 Like