Skip to content

Commit d2a2c1c

Browse files
paulohtb6Feediver1
andauthored
docs: enhance upgrade version steps (#1228)
Co-authored-by: Joyce Fee <102751339+Feediver1@users.noreply.github.com>
1 parent 74e059e commit d2a2c1c

2 files changed

Lines changed: 32 additions & 5 deletions

File tree

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
11
=== Restart the broker
22

3-
Restart the broker's Redpanda service with xref:reference:rpk/rpk-redpanda/rpk-redpanda-stop.adoc[`rpk redpanda stop`], then xref:reference:rpk/rpk-redpanda/rpk-redpanda-start.adoc[`rpk redpanda start`].
3+
To ensure proper ownership and permissions, restart the broker's Redpanda service using `systemctl`:
4+
5+
[,bash]
6+
----
7+
sudo systemctl restart redpanda
8+
----

modules/upgrade/partials/rolling-upgrades/upgrade-your-version.adoc

Lines changed: 26 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,21 +11,43 @@ For Linux distributions, the process changes according to the distribution:
1111
====
1212
Fedora/RedHat::
1313
+
14-
In the terminal, run:
14+
First, check which versions are available and verify your current version:
1515
+
1616
[,bash]
1717
----
18-
sudo yum update redpanda
18+
# List available versions
19+
yum list --showduplicates redpanda
20+
21+
# Check current version
22+
rpk redpanda admin brokers list
23+
----
24+
+
25+
Install the specific version you want to upgrade to. Replace `<version>` with the desired version:
26+
+
27+
[,bash]
28+
----
29+
sudo yum update redpanda-<version> # example: redpanda-25.1.7-1
1930
----
2031

2132
Debian/Ubuntu::
2233
+
23-
In the terminal, run:
34+
First, check which versions are available and verify your current version:
35+
+
36+
[,bash]
37+
----
38+
# List available versions
39+
apt list --all-versions redpanda
40+
41+
# Check current version
42+
rpk redpanda admin brokers list
43+
----
44+
+
45+
Install the specific version you want to upgrade to. Replace `<version>` with the desired version (for example, `25.1.7-1`):
2446
+
2547
[,bash]
2648
----
2749
sudo apt update
28-
sudo apt install redpanda
50+
sudo apt install redpanda=<version> # example: redpanda-25.1.7-1
2951
----
3052

3153
====

0 commit comments

Comments
 (0)