Hi, I have been trying to setup mender client. It was working perfectly until I tried to uninstall the client in order to cancel deployment from the server. After reinstalling the client using deb package I keep getting this error.
Apr 16 15:39:11 NanoPi-NEO4 mender[3837]: time="2020-04-16T15:39:11+09:00" level=error msg="update check failed: transient error: could not read the artifact name. This is a necessary condition in order for a mender update to finish safely. Please give the current artifact a name (This can be done by adding a name to the file /etc/mender/artifact_info) err: open /etc/mender/artifact_info: no such file or directory" module=state
I have no idea on what to put in artifact_info file. Can someone please point me in the right direction I have been stuck on this issue for two days now.
Thanks
Here is the log
> > Apr 16 15:39:11 NanoPi-NEO4 mender[3837]: time="2020-04-16T15:39:11+09:00" level=info msg="State transition: error [Error] -> idle [Idle]" module=mender > Apr 16 15:39:11 NanoPi-NEO4 mender[3837]: time="2020-04-16T15:39:11+09:00" level=info msg="authorization data present and valid" module=mender > Apr 16 15:39:11 NanoPi-NEO4 mender[3837]: time="2020-04-16T15:39:11+09:00" level=info msg="State transition: idle [Idle] -> check-wait [Idle]" module=mender > Apr 16 15:39:11 NanoPi-NEO4 mender[3837]: time="2020-04-16T15:39:11+09:00" level=info msg="State transition: check-wait [Idle] -> update-check [Sync]" module=mender > Apr 16 15:39:11 NanoPi-NEO4 mender[3837]: time="2020-04-16T15:39:11+09:00" level=error msg="could not get the current artifact name" module=mender > Apr 16 15:39:11 NanoPi-NEO4 mender[3837]: time="2020-04-16T15:39:11+09:00" level=error msg="update check failed: transient error: could not read the artifact name. This is a necessary condition in order for a mender update to finish safely. Please give the current artifact a name (This can be done by adding a name to the file /etc/mender/artifact_info) err: open /etc/mender/artifact_info: no such file or directory" module=state > Apr 16 15:39:11 NanoPi-NEO4 mender[3837]: time="2020-04-16T15:39:11+09:00" level=info msg="State transition: update-check [Sync] -> error [Error]" module=mender > Apr 16 15:39:11 NanoPi-NEO4 mender[3837]: time="2020-04-16T15:39:11+09:00" level=info msg="handling error state, current error: transient error: could not read the artifact name. This is a necessary condition in order for a mender update to finish safely. Please give the current artifact a name (This can be done by adding a name to the file /etc/mender/artifact_info) err: open /etc/mender/artifact_info: no such file or directory" module=state > Apr 16 15:39:11 NanoPi-NEO4 mender[3837]: time="2020-04-16T15:39:11+09:00" level=info msg="State transition: error [Error] -> idle [Idle]" module=mender > Apr 16 15:39:11 NanoPi-NEO4 mender[3837]: time="2020-04-16T15:39:11+09:00" level=info msg="authorization data present and valid" module=mender > Apr 16 15:39:11 NanoPi-NEO4 mender[3837]: time="2020-04-16T15:39:11+09:00" level=info msg="State transition: idle [Idle] -> check-wait [Idle]" module=mender