open-remote-ssh icon indicating copy to clipboard operation
open-remote-ssh copied to clipboard

Can't install most extensions on remote: The '<extension.name>' is not available in VSCodium for Web

Open quazar-omega opened this issue 1 year ago • 0 comments

I'm on CentOS Linux 7.9.2009 and I faced an issue like #30, then in troubleshooting I found out that the node that was installed wouldn't run due to missing GLibc

Error output

# ./bin/c8a36a69377856369f139f39ee56dd3838130fbf/node
./bin/c8a36a69377856369f139f39ee56dd3838130fbf/node: /lib64/libm.so.6: version `GLIBC_2.27' not found (required by ./bin/c8a36a69377856369f139f39ee56dd3838130fbf/node)
./bin/c8a36a69377856369f139f39ee56dd3838130fbf/node: /lib64/libc.so.6: version `GLIBC_2.25' not found (required by ./bin/c8a36a69377856369f139f39ee56dd3838130fbf/node)
./bin/c8a36a69377856369f139f39ee56dd3838130fbf/node: /lib64/libc.so.6: version `GLIBC_2.28' not found (required by ./bin/c8a36a69377856369f139f39ee56dd3838130fbf/node)
./bin/c8a36a69377856369f139f39ee56dd3838130fbf/node: /lib64/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by ./bin/c8a36a69377856369f139f39ee56dd3838130fbf/node)
./bin/c8a36a69377856369f139f39ee56dd3838130fbf/node: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by ./bin/c8a36a69377856369f139f39ee56dd3838130fbf/node)
./bin/c8a36a69377856369f139f39ee56dd3838130fbf/node: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by ./bin/c8a36a69377856369f139f39ee56dd3838130fbf/node)

So I used a workaround, I installed node through nix:

nix-env -iA nixpkgs.nodejs_21

And then symlinked the node binary to the nix package:

rm node
ln -s $(which node) ./node

And then I could finally connect successfully.

After that though, whenever I try to install an extension that (I think*) should be supported on the remote I get the error that it's not available, so far I could only install Even Better TOML and ms-python.

~~* I think they should, because I was able to install them if I put the .vsix file on the server and installed from that file, but it wouldn't work from the extension tab. I'd like to be able to though, so is something wrong with my setup or did I just misunderstand some steps?~~ Update: they do install, but no matter the extension, even the ones that were installed in the canonical way, they don't work at all, is there any place I can see the logs?

quazar-omega avatar Jan 25 '24 09:01 quazar-omega