Following the tutorial provided step by step I have generated a single file artifact, however when I try to use this for a deployment I get the following error from the device:
2024-05-31 18:09:35.518 +0000 UTC info: Running Mender client 4.0.2
2024-05-31 18:09:35.519 +0000 UTC info: Deployment with ID 24b6fe54-31e6-4eb3-b543-fed5a58ec130 started.
2024-05-31 18:09:35.524 +0000 UTC info: Sending status update to server
2024-05-31 18:09:36.57 +0000 UTC error: Parse error: Failed to parse the header: Failed to parse the type-info artifact_provides JSON: The JSON is not an object
2024-05-31 18:09:36.578 +0000 UTC info: Sending status update to server
The JSON contained within the type-info file in the artifact is as follows;
{“type”:“single-file”,“artifact_depends”:null,“artifact_provides”:null}
Why is this not working as expected?
As a side note - the documentation on using the single-file-artifact-gen here seems very outdated and does not work since the --software-version and --software-name arguments are seemingly unsupported.