Hi guys. I’m trying to implement tmate but I’m getting this error:
/bin/sh: 18: /usr/drone/bin/tmate: not found
I’m running drone:latest on Ubuntu 18.04 via docker compose. Have installed tmate both on Ubuntu server and on docker instance doing the tasks on runner. Obviously the path is wrong. This is my docker-compose.yaml file:
tmate is supported for amd64 and arm64 architectures … there is no arm32 distribution for tmate and is therefore unsupported by Drone. For supported architectures, Drone automatically installs the tmate binary into your pipeline container. You should not be manually installing tmate.
Here is where the tmate server is automatically installed:
Here is where Drone copies the tmate server into your pipeline container:
Here is the code that Drone uses to invoke tmate on pipeline step failure:
You can use the above two links to explore the code and triage further.