-
Notifications
You must be signed in to change notification settings - Fork 6.1k
Closed as not planned
Milestone
Description
OS/Web Information
- Web Browser: Vivaldi 4.2
- Local OS: Windows 7
- Remote OS: Ubuntu 20.04
- Remote Architecture: AMD?
code-server --version
: 3.12.0
Steps to Reproduce
- Get 3.12.0
- Run
- See error
Expected
Expected code-server to start
Actual
I see this error(mentioned on Slack too):
Please specify a file or folder.
Logs
- Need to do this(see below)
Error log:
gitpod /workspace/coder-lg-blog-codedoc $ code-server --log debug
[2021-09-22T04:28:21.583Z] error Please specify at least one file or folder
Running on Gitpod via the cURL link on my blog repo(needed a base for it, got a base or it)
Installation log:
gitpod /workspace/coder-lg-blog-codedoc $ curl -fsSL https://code-server.dev/install.sh | bash
Ubuntu 20.04.2 LTS
Installing v3.12.0 of the amd64 deb package from GitHub.
+ Reusing ~/.cache/code-server/code-server_3.12.0_amd64.deb
+ sudo dpkg -i ~/.cache/code-server/code-server_3.12.0_amd64.deb
(Reading database ... 65739 files and directories currently installed.)
Preparing to unpack .../code-server_3.12.0_amd64.deb ...
Unpacking code-server (3.12.0) over (3.12.0) ...
Setting up code-server (3.12.0) ...
deb package has been installed.
To have systemd start code-server now and restart on boot:
sudo systemctl enable --now code-server@$USER
Or, if you don't want/need a background service you can run:
code-server
Using the cURL link.
Extra info:
The entire console log:
gitpod /workspace/coder-lg-blog-codedoc $ curl -fsSL https://code-server.dev/install.sh | bash
Ubuntu 20.04.2 LTS
Installing v3.12.0 of the amd64 deb package from GitHub.
+ mkdir -p ~/.cache/code-server
+ curl -#fL -o ~/.cache/code-server/code-server_3.12.0_amd64.deb.incomplete -C - https://github.com/cdr/code-server/releases/download/v3.12.0/code-server_3.12.0_amd64.deb
######################################################################## 100.0%
+ mv ~/.cache/code-server/code-server_3.12.0_amd64.deb.incomplete ~/.cache/code-server/code-server_3.12.0_amd64.deb
+ sudo dpkg -i ~/.cache/code-server/code-server_3.12.0_amd64.deb
Selecting previously unselected package code-server.
(Reading database ... 56822 files and directories currently installed.)
Preparing to unpack .../code-server_3.12.0_amd64.deb ...
Unpacking code-server (3.12.0) ...
Setting up code-server (3.12.0) ...
deb package has been installed.
To have systemd start code-server now and restart on boot:
sudo systemctl enable --now code-server@$USER
Or, if you don't want/need a background service you can run:
code-server
gitpod /workspace/coder-lg-blog-codedoc $ code-server
[2021-09-22T04:26:21.335Z] info Wrote default config file to ~/.config/code-server/config.yaml
[2021-09-22T04:26:21.345Z] error Please specify at least one file or folder
gitpod /workspace/coder-lg-blog-codedoc $ cat ~/.config/code-server/config.yaml
bind-addr: 127.0.0.1:8080
auth: password
password: cb9bb7d9b0d41b78a9e0936a
cert: false
gitpod /workspace/coder-lg-blog-codedoc $ code-server --log
[2021-09-22T04:28:07.428Z] error --log requires a value
gitpod /workspace/coder-lg-blog-codedoc $ code-server --log verbose
[2021-09-22T04:28:14.379Z] error --log valid values: [trace, debug, info, warn, error]
gitpod /workspace/coder-lg-blog-codedoc $ code-server --log debug
[2021-09-22T04:28:21.583Z] error Please specify at least one file or folder
gitpod /workspace/coder-lg-blog-codedoc $ curl -fsSL https://code-server.dev/install.sh | bash
Ubuntu 20.04.2 LTS
Installing v3.12.0 of the amd64 deb package from GitHub.
+ Reusing ~/.cache/code-server/code-server_3.12.0_amd64.deb
+ sudo dpkg -i ~/.cache/code-server/code-server_3.12.0_amd64.deb
(Reading database ... 65739 files and directories currently installed.)
Preparing to unpack .../code-server_3.12.0_amd64.deb ...
Unpacking code-server (3.12.0) over (3.12.0) ...
Setting up code-server (3.12.0) ...
deb package has been installed.
To have systemd start code-server now and restart on boot:
sudo systemctl enable --now code-server@$USER
Or, if you don't want/need a background service you can run:
code-server
gitpod /workspace/coder-lg-blog-codedoc $
Sorry for that but I think it might help
Screenshot
- Need to do this too
Fresh video recording:
2021-09-22.10-05-28.mp4
I am sorry if it seems a little bit snappy, OBS said that my encoding was overloaded while recording.
Notes
This issue can be reproduced in VS Code: idk
I use this on Gitpod since I use code-server rarely, if this is fixed, I can use code-server for my Pi.
Moreover, I don't wanna break my PC by installing code-server immediately and breaking it so I test it for bugs and then install it.
jsjoeio
Metadata
Metadata
Assignees
Labels
No labels