Server installation process already in progress – waiting and retrying

This happen after my MacBook Pro wakeup from sleep. I cannot connect back to my server using Visual Studio Code.

Output log from Visual Studio Code

[16:26:43.681] Server installation process already in progress - waiting and retrying
[16:26:43.681] Terminating local server
[16:26:43.687] Local server exit: 15
[16:26:44.688] askpass server listening on /var/folders/gx/czncylwj1hx6d3_l41862hf40000gn/T/vscode-ssh-askpass-53d9a6d10ba0ccdb298527c460e7eece6924ff2c.sock
[16:26:44.689] Spawning local server with 
[16:26:44.692] Spawned 1059
[16:26:44.814] > local-server> Spawned ssh: 1060
[16:26:44.818] stderr> OpenSSH_8.1p1, LibreSSL 2.7.3
[16:26:47.366] stderr> debug1: Server host key: ecdsa-sha2-nistp256 SHA256:lGG+bghpc89ULJbed2nnBcTyCfBT/0G3CmEW/an3nDw
[16:26:51.051] > ready: 2386524a436d
[16:26:51.461] > Linux 3.10.0-327.13.1.el7.x86_64 #1 SMP Thu Mar 31 16:04:38 UTC 2016
[16:26:51.461] Platform: linux
[16:26:52.248] > 2386524a436d: running
> Acquiring lock on /root/.vscode-server/bin/e5a624b788d92b8d34d1392e4c4d9789406efe8f/vscode-remote-lock.root.e5a624b788d92b8d34d1392e4c4d9789406efe8f
> Installation already in progress...
> 2386524a436d: start
> exitCode==24==
> sshAuthSock====
> listeningOn====
> osReleaseId==centos==
> arch==x86_64==
> webUiAccessToken====
> tmpDir==/run/user/0==
> platform==linux==
> 2386524a436d: end
[16:26:52.248] Received install output: 
exitCode==24==
sshAuthSock====
listeningOn====
osReleaseId==centos==
arch==x86_64==
webUiAccessToken====
tmpDir==/run/user/0==
platform==linux==

Solution

From the log above you can see the file has been locked. Acquiring lock on /root/.vscode-server/bin/e5a624b788d92b8d34d1392e4c4d9789406efe8f/vscode-remote-lock.root.e5a624b788d92b8d34d1392e4c4d9789406efe8f

So you try to remove it then you will be able to connect again.

rm /root/.vscode-server/bin/e5a624b788d92b8d34d1392e4c4d9789406efe8f/vscode-remote-lock.root.e5a624b788d92b8d34d1392e4c4d9789406efe8f

Tags:

Leave a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.