Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
/deploy-code-serverPublic template

Commitf28ac67

Browse files
authored
add troubleshooting steps (#46)
1 parent16e0f59 commitf28ac67

File tree

4 files changed

+39
-3
lines changed

4 files changed

+39
-3
lines changed

‎deploy-vm/README.md

Lines changed: 32 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,40 @@ A simple startup script to run code-server with --link on a VM, designed to run
44

55
**Coming soon:** One-click templates in popular marketplaces.
66

7-
##In this repo:
7+
##In this repo
88

99
-[launch-code-server.sh](./launch-code-server.sh) - Command tested on Ubuntu machines (uses --link)
1010
-[launch-linode.sh](./launch-linode.sh) - launch-code-server.sh adapted for Linode
1111

12-
##Other scripts:
12+
##Troubleshooting
1313

14-
-[code-server, CloudFlare, and Caddy](https://github.com/alec-hs/coder-cloudflare-setup): Sets up code-server and configures CloudFlare DNS
14+
- Ensure you have port 80 open on your server's firewall
15+
16+
- SSH or use the built-in console to connect to your workspace
17+
18+
1. Check the code-server status
19+
20+
```console
21+
systemctl status code-server@coder
22+
23+
# if not working:
24+
systemctl restart code-server@coder
25+
```
26+
27+
1. Ensure journalctl is capturing logs
28+
29+
```console
30+
journalctl -u code-server@coder
31+
```
32+
33+
1. Ensure the HTTP redirect server is working
34+
35+
```console
36+
systemctl status coder-cloud-redirect
37+
38+
# systemctl restart coder-cloud-redirect
39+
```
40+
41+
## Other scripts
42+
43+
- [code-server, CloudFlare, and Caddy](https://github.com/alec-hs/coder-cloudflare-setup): Sets up code-server and configures CloudFlare DNS

‎guides/aws-ec2.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,5 @@
2828
sudo hostnamectl set-hostname bens-devbox
2929
sudo systemctl restart code-server@coder
3030
```
31+
32+
See our[troubleshooting guide](../deploy-vm#troubleshooting) if you are unable to connect after some time.

‎guides/digitalocean.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,5 @@
1111
1. Once your server starts, you can simply navigate to the IP address and get forwarded to a secure version of code-server, which will be proxied behind your GitHub account. For information on how this works, see[code-server --link](https://github.com/cdr/code-server#cloud-program-%EF%B8%8F).
1212

1313
<imgsrc="../img/digitalocean-launch-code-server.gif"alt="DigitalOcean launch code-server"width="800" />
14+
15+
See our[troubleshooting guide](../deploy-vm#troubleshooting) if you are unable to connect after some time.

‎guides/linode.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,10 @@
1313
<imgsrc="../img/linode-launch-code-server.gif"alt="Linode launch code-server"width="700" />
1414

1515
1. Optional: To change the URL in the address bar from`linode-[xxxx]` to something more descriptive, you just need to change your hostname and restart code-server:
16+
1617
```sh
1718
sudo hostnamectl set-hostname bens-devbox
1819
sudo systemctl restart code-server@coder
1920
```
21+
22+
See our[troubleshooting guide](../deploy-vm#troubleshooting) if you are unable to connect after some time.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp