itarill
November 21, 2021, 10:29pm
1
Hey there.
I am having the same problems as here:
Hi there,
Registering my restored box to the cloud fails. The connection wheel is turning, but no registration is completed.
[image]
Is there a way to clear cloud connection settings? I thing the box (before the restore of a backup) is configured somewhere with another guid.
Did some debugging:
W | AWS: Error registering device in the cloud. AWS connetion will not work: 403 “Device already exists with a different valid certificate”
Hope there is a solution for this.
Regards,
André
However, that solution (deleting cloud section and line with uuid in nymead.conf) does not seem to work.
I had to restore a dd image on the SD card after playing around a bit, which broke my cloud connection. I also tried registering my pi zero after putting a brand new nymea image on it (account is the same as before).
Thanks for any suggestions.
Try generating a new uuid for /etc/machine-id ( watch out for correct formatting) in addition to removing the config entries.
2 Likes
Foenky
November 22, 2021, 7:01am
3
I forgot to restore all the directories necessary i.e: /etc/nymea & /var/lib/nymea
After I restored all the directories inside these two everything was ok.
1 Like
itarill
November 22, 2021, 10:09am
4
Thanks, this solved my issue.
So in essence:
remove [cloud] section and machine uuid from nymead.conf
sudo vim /etc/nymea/nymead.conf
then sudo rm /etc/machine-id
then sudo systemd-machine-id-setup
Cheers!
3 Likes
Zaphod
February 15, 2022, 7:19pm
5
Thx @mzanetti and @itarill !
This solved it for me too.
All the best!