HELP - Upgrade Mender / Change UUID of Device - HELP


I had someone clone using dd a mender device. How can I rotate the UUID so mender sees it as a new one?

I am also using like a 2 year old version of mender. Is it easy to upgrade.

All of these devices use Raspberian, and I am using hosted mender.

i think you will probably need to deploy to it a new update that replaces the mender device keys so that it appears as a new device in the mender cloud server.

I was looking at the docs.

Do you know how I do this?

this may help

This is what I figured out to make the device present a new key:

 rm /data/mender/mender-agent.pem
 bash /usr/share/mender/identity/mender-device-identity
 cat /etc/mender/mender.conf
 sudo killall mender
 sudo mender -daemon
 authorized new key

the bash mender-device-identity was in there for a reminder for me.

I have some devices with the same cpu serial and mac address so it is an issue for me that i have to solve in the future i think, but i cant remember right now if that is true.