Successful Rockstor 5.1 → 5.5.3 Upgrade on Leap 15.6

Successful upgrade from 5.1.0 to 5.5.3 on openSUSE Leap 15.6

Hi guys,

I’m just sharing my experience here, maybe it helps someone.

I hadn’t seen any updates for a while, so I checked the forum. I was eager to get the new 5.5 version but reluctant because of the PostgreSQL jump. In the end I YOLO’d it and upgraded anyway.

What happened:

  • zypper refresh, zypper up, and zypper dup showed nothing.
  • zypper up rockstor triggered a PostgreSQL conflict. I chose Solution 1 (removed postgresql13-* packages and installed postgresql17 ones).
  • Ran systemctl start rockstor-bootstrap.service (took a while).

Current status:

  • Disks, pools, and shares are all OK
  • Rock-ons are up and running normally
  • WebUI working fine

The PostgreSQL migration went smoother than expected. No issues so far.

If you’re on 5.1 and hesitant, this worked well for me on Leap 15.6.

Thanks for reading and thanks to the contributors for making this possible.

(Planning to do the Leap 16.0 migration next)

4 Likes

To move to 16.0 (or even to SlowRoll or Tumbleweed) you can install the OpenSUSE migration tool.

It will ask to disable all non-openSUSE repos during the install, so you might have to clean those up afterwards (i.e. change if they are OS version dependent, or remove them because they’re not relevant anymore).
But you do have to check the SELinux settings to be permissive (as the new default is not apparmor anymore, but SELinux) and of course, aside from having backups of your data on Rockstor, also create and download a config backup of Rockstor, so that in the worst case, if a re-install is necessary, all settings can be restored accordingly.
My own experience was testing it on an older 15.6 VM, and it worked just fine (sample size of 1 :slight_smile: ) - I just had to ensure the repos were pointing to the new ones for Rockstor, as well as changing the SELinux to permissible. The SELinux change I after installation before rebooting using:

sed -i -e 's|^SELINUX=.*|SELINUX=permissive|g' \
-e 's|^SELINUXTYPE=.*|SELINUXTYPE=targeted|g' \
"/etc/selinux/config"

which, incidentally, is taken from the rockstor-installer setup configuration.

2 Likes