Deploying to Hetzner docker problem

Got his errormessage when I tried to deploy a project. It has been working before.
running wappler 6 beta 15

Any idea what this is.

(The xxx is just for hiding info)

error during connect: Get “http://docker/v1.24/containers/json?all=1&filters={“label”%3A{“com.docker.compose.project%3Dxxxxxxxxxxx”%3Atrue}}&limit=0”: command [ssh -l root – xxx.xxx.xxx.xxx docker system dial-stdio] has exited with exit status 255, please make sure the URL is valid, and Docker 18.09 or later is installed on the remote host: stderr=Could not create directory ‘/home/teh/.ssh’.
Host key verification failed.

This is the important detail, you can search this message on Google to understand it. Sorry I lack the availability to help fix the problem, but I hope someone else can help you now that I’ve pointed the important detail

P.S.: I also don’t know why you received that error. The command to “fix it” on MacOS and Linux is:

ssh-keygen -R [IP of the server without square brackets]

Note fixing the issue without understanding it could be masking a security incident

Edit: I might be wrong on the fix

@jellederijke you had this problem too I think? But it was on a new deployment (server), right?

Yes I had this issue, too. But I was under pressure to deploy the application, so I started a new DigitalOcean droplet to errr not fix but skip the issue.

So sadly I don’t have any clue for a solution.

Is this a new computer you are working on? Does it have your SSH keys in your home directory .ssh ?

Seems like it doesn’t have rights to create folder there. I presume your username is ’teh’

See also:

This is one of several nodejs containers on the same server. At least 2 of them have the same problem. I expect that all of the containers have the same problem.

Is this a new computer you are working on?

Working on.

This is not a easy problem. The user “teh”, is this on my local pc or is it on the webserver. Or in the docker image. I have never had this problem before and my web server has no user “teh”. This problem is on every server I have even new ones. Will try to make a linode server also to see what is happening. Where is the username picked up from. The problem is on both old and new (beta) wappler.

This is your pc user folder. What OS are you using?

windows 11 so I dont have a /home/username on this pc. That is my problem I think.

Update on the problem. All my project has stopped deploying. Even on Linode and Digital ocean. Non of my project is working. After different problem solutions I have find out this.

I have reinstalled wappler and without docker installed almost everything works. But when I install docker (last version) the problem occurs again. I can’t find out why it is using “/home/teh” as my homepage because I am using Win 11. So as a last try I will setup a new user on the pc and test it from that user.