LoginSignup
6

More than 3 years have passed since last update.

VS CodeアップデートしたらRemote-SSHが動かなくなった

Posted at

本日VSCodeをアップデート(1.43.0)したらRemote-SSHが動かなくなってしまったので一応メモ。

  • VS Code(1.43.0)
  • Ubunu 18.04

ログを確認すると、以下のようなものが出力されていた(適当にマスキング)。

[18:23:31.201] > 663e0e29aad8: running
> 
[18:23:31.215] > Acquiring lock on /home/xx/.vscode-server/bin/xxxx
> xxxx/vscode-remote-lock.xxxx.xxxx       
> 
[18:23:31.223] > \ln /home/xxx/.vscode-server/bin/xxxxxx/vscod
> e-remote-lock.xxx.xxxxx.target /home/xxx/.v
> scode-server/bin/xxxxxx/vscode-remote-lock.kur
> e.xxxxx
> Installation already in progress...
> 663e0e29aad8##24##
> ln: failed to create hard link '/home/xxx/.vscode-server/bin/xxx
> xxxx/vscode-remote-lock.xxxx.xxxx
> 5f9903a': File exists
>

failed to create hard link でファイルを作成できない(すでに存在する)ということで、同名のファイルはたしかにあったので、削除したら動いた。深追いはしていない。

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
What you can do with signing up
6