Skip to content

Commit aec5bba

Browse files
committed
docs: enhance upgrade version steps
1 parent 96bb269 commit aec5bba

File tree

2 files changed

+32
-5
lines changed

2 files changed

+32
-5
lines changed
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+
Restart the broker's Redpanda service using systemctl to ensure proper ownership and permissions:
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 what 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>
1930
----
2031

2132
Debian/Ubuntu::
2233
+
23-
In the terminal, run:
34+
First, check what 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>
2951
----
3052

3153
====

0 commit comments

Comments
 (0)