I’m trying to use a Download_Leave_x state script to copy network configuration into the new rootfs.
But when uploading a new image (via standalone mode), I get the following error:
time="2020-03-20T15:46:27Z" level=error msg="statescript: The version read from the version file in the statescript directory does not match the versions supported by the client, please make sure the file is present and formatted correctly (supported: [2 3]; actual: 0)." module=main
The need for this version file is not documented in https://docs.mender.io/2.3/artifacts/state-scripts
How does this file need to look like? Is there anything else that is not documented?
P.S. I’m not using Yocto, we have our own Debian based tooling…