File tree Expand file tree Collapse file tree 2 files changed +61
-0
lines changed Expand file tree Collapse file tree 2 files changed +61
-0
lines changed Original file line number Diff line number Diff line change
1
+ # Upgrade
2
+
3
+ This article walks you through how to upgrade your Coder server.
4
+
5
+ <blockquote class =" danger " >
6
+ <p >
7
+ Prior to upgrading a production Coder deployment, take a database snapshot since
8
+ Coder does not support rollbacks.
9
+ </p >
10
+ </blockquote >
11
+
12
+ To upgrade your Coder server, simply reinstall Coder using your original method
13
+ of [ install] ( ../install ) .
14
+
15
+ ## Via install.sh
16
+
17
+ If you installed Coder using the ` install.sh ` script, re-run the below command
18
+ on the host:
19
+
20
+ ``` shell
21
+ curl -L https://coder.com/install.sh | sh
22
+ ```
23
+
24
+ The script will unpack the new ` coder ` binary version over the one currently
25
+ installed. Next, you can restart Coder with the following commands (if running
26
+ it as a system service):
27
+
28
+ ``` shell
29
+ systemctl daemon-reload
30
+ systemctl restart coder
31
+ ```
32
+
33
+ ## Via docker-compose
34
+
35
+ If you installed using ` docker-compose ` , run the below command to upgrade the
36
+ Coder container:
37
+
38
+ ``` shell
39
+ docker-compose pull coder && docker-compose up -d coder
40
+ ```
41
+
42
+ ## Via Kubernetes
43
+
44
+ See
45
+ [ Upgrading Coder via Helm] ( ../install/kubernetes.md#upgrading-coder-via-helm ) .
46
+
47
+ ## Via Windows
48
+
49
+ Download the latest Windows installer or binary from
50
+ [ GitHub releases] ( https://github.com/coder/coder/releases/latest ) , or upgrade
51
+ from Winget.
52
+
53
+ ``` pwsh
54
+ winget install Coder.Coder
55
+ ```
Original file line number Diff line number Diff line change 77
77
"description" : " Other installation methods" ,
78
78
"path" : " ./install/other/README.md" ,
79
79
"icon_path" : " ./images/icons/generic.svg"
80
+ },
81
+ {
82
+ "title" : " Upgrading" ,
83
+ "description" : " Learn how to upgrade Coder" ,
84
+ "path" : " ./install/upgrade.md" ,
85
+ "icon_path" : " ./images/icons/upgrade.svg"
80
86
}
81
87
]
82
88
},
You can’t perform that action at this time.
0 commit comments