I am posting here since I cannot manage to find an answer searching on the forum so far.
I am using
mender-cli to interface w/ our 2.4 on-premises Mender server. It is being integrated into a Python microservice which uses
subprocess.run() to call it (we are looking into using the APIs directly).
FAILURE: Not able to determine users cache dir
subprocess.run() uses a command array as follows:
/usr/local/bin/mender-cli login --server https://mender-api.fqdn --username email@example.com --password XXX
I am unable however to reproduce the error using an interactive shell (both the microservice and the interactive shell being run as
root). The same command logins fine when called manually.
I am seeing here the issue on
v1.4.0 (downloaded from the doc link) but not on a freshly built binary from the
HEAD github branches. I am not sure what has changed here, esp for
1.4.x looking at the changelog.
So here are my questions:
- Is there a way to know which commit
1.4.0was built against?
- I see that
1.5.0is out but the doc does not mention building from source anymore (contrary to the 2.4 ones. Is that not supported anymore?
Thanks much for your help!