-
Notifications
You must be signed in to change notification settings - Fork 5.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Coder/code-server conflicts with the startup command of visual studio code server[Bug]: #5502
Comments
I feel like this bug should be filed with them, don't you think? That shouldn't be overwriting our startup command. They should check for conflicts and handle them if they exist. Have you tried contacting them about it? |
Yes, I just got the qualification of internal test. After the problem occurs, I put forward the issue in both the internal test warehouse and this warehouse. However, what they got was that because the warehouse was not Microsoft, they could not solve the problem and closed the issue |
@jsjoeio I think @2659170494 is talking about #5417 (comment), i.e. executing |
Originally posted by @code-asher in #5360 (comment) |
Ohhh...Whoops! Sorry for the confusion. Thanks for pointing that out @benz0li. @2659170494 does that sound right? You're trying to execute |
@2659170494 Or any regular Terminal [other than code-server Terminal]? |
Maybe, I use SSH to control my server. I haven't used other terminal software, and my server is an ordinary Ubuntu system (but I started the jupyterlab terminal mentioned by benz0li according to the link he gave, but the server was started incorrectly 🤔)。 I mean the conflict of startup commands. When I run code server, the server starts visual studio code server instead of code server. Visual studio code server replaces the startup command of code server during installation |
If the server at https://demo.jupyter.b-data.ch does not start, simply give it another try. |
@2659170494 When you talk about Visual Studio Code Server you mean https://code.visualstudio.com/docs/remote/vscode-server, correct? |
Yes, I have only recently obtained the qualification for internal testing |
OK, I just started it successfully😂 |
[Using [Using $ cat /usr/bin/code-server #!/usr/bin/env sh
exec /usr/lib/code-server/bin/code-server "$@" ℹ️ I do not see any files getting overwritten. But trying to start coder/code-server by executing I advise against installing Visual Studio Code Server and coder/code-server on the same machine. |
No. echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin |
Yes, I know that. I can also start code server under the code folder of code server. However, I am more concerned about whether there are other startup commands for code server? |
I am not sure I followed the issue, but if you install code-server then you install something else on the PATH that also has a binary called
|
Ah, it looks like this is a very old issue. I also raised the same issue in the repositories of VSCode remote release when this issue was released. Now when I roughly review the documents, it seems that they no longer use this command, or in other words, the problem has already been solved by them? |
Oh yes you are right, this is quite old. Yeah I think their command is now called |
Is there an existing issue for this?
OS/Web Information
code-server --version
:4.4.0Steps to Reproduce
1To install the coder/code-server (or visual studio code server)
2.run "code-server" then you will see the estimated results
3.instal the visual studio code server (or coder/code-server)
4. run "code-server" then you will find that the results are different from the original ones
Expected
This will start code server before installation
Actual
After installing visual studio code server, the startup command of visual studio code server overwrites the original startup command. However, the original code server startup sh file can still be found by searching
Logs
No has log
Screenshot/Video
No response
Does this issue happen in VS Code or GitHub Codespaces?
Are you accessing code-server over HTTPS?
Notes
The code server file of visual studio code server is located in /usr/local/bin/, and this file may be a binary file
At present, visual studio code server is still under internal test, so few people may have this bug before it is officially launched. I want to know if code server has any startup commands other than code server?
The text was updated successfully, but these errors were encountered: