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

Commitcec9631

Browse files
committed
chore: default to generic troubleshooting link
1 parenta25deb9 commitcec9631

File tree

3 files changed

+13
-18
lines changed

3 files changed

+13
-18
lines changed

‎docs/templates.md

Lines changed: 9 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,11 @@ not support custom VPCs). You can add these features by editing the Terraform
3636
code once you run`coder templates init` (new) or`coder templates pull`
3737
(existing).
3838

39-
- See[Creating and troubleshooting templates](#creating--troubleshooting-templates) for
40-
more info
39+
Refer to the following resources to build your own templates:
40+
41+
- Terraform:[Documentation](https://developer.hashicorp.com/terraform/docs) and[Registry](https://registry.terraform.io)
42+
- Common[concepts in templates](#concepts-in-templates) and[Coder Terraform provider](https://registry.terraform.io/providers/coder/coder/latest/docs)
43+
-[Coder example templates](https://github.com/coder/coder/tree/main/examples/templates) code
4144

4245
##Concepts in templates
4346

@@ -309,18 +312,9 @@ resource "coder_agent" "main" {
309312
You can add these environment variable definitions to your own templates, or customize them however
310313
you like.
311314

312-
##Creating & troubleshooting templates
313-
314-
You can use any Terraform resources or modules with Coder! When working on
315-
templates, we recommend you refer to the following resources:
316-
317-
- this document
318-
-[example templates](https://github.com/coder/coder/tree/main/examples/templates) code
319-
-[Coder Terraform provider](https://registry.terraform.io/providers/coder/coder/latest/docs)
320-
documentation
315+
##Troubleshooting templates
321316

322-
Occasionally, you may run into scenarios where the agent is not able to connect.
323-
This means the start script has failed.
317+
Occasionally, you may run into scenarios where a workspace is created, but the agent is not connected. This means the agent or[init script](https://github.com/coder/coder/tree/main/provisionersdk/scripts) has failed on the resource.
324318

325319
```sh
326320
$ coder ssh myworkspace
@@ -331,8 +325,8 @@ While troubleshooting steps vary by resource, here are some general best
331325
practices:
332326

333327
- Ensure the resource has`curl` installed
334-
- Ensure the resource canreach your Coder URL
335-
- Manually connect to the resource (e.g.,`docker exec` or AWS console)
328+
- Ensure the resource can`curl` your Coder[accessURL](./admin/configure.md#access-url)
329+
- Manually connect to the resourceand check the agent logs(e.g.,`docker exec` or AWS console)
336330
- The Coder agent logs are typically stored in`/var/log/coder-agent.log`
337331
- The Coder agent startup script logs are typically stored in`/var/log/coder-startup-script.log`
338332

‎site/src/components/Resources/AgentStatus.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,8 @@ const TimeoutStatus: React.FC<{
6666
const[isOpen,setIsOpen]=useState(false)
6767
constid=isOpen ?"timeout-popover" :undefined
6868
consttroubleshootLink=
69-
agent.troubleshooting_url??`/templates/${workspace.template_name}#readme`
69+
agent.troubleshooting_url??
70+
"https://coder.com/docs/coder-oss/latest/templates#troubleshooting-templates"
7071

7172
return(
7273
<>

‎site/src/i18n/en/agent.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
},
1616
"timeoutTooltip": {
1717
"title":"Agent is taking too long to connect",
18-
"message":"We noticed this agent is taking longer than expected to connect. You can try troubleshooting the issue",
19-
"link":"here"
18+
"message":"We noticed this agent is taking longer than expected to connect.",
19+
"link":"Troubleshoot"
2020
},
2121
"unableToConnect":"Unable to connect"
2222
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp