Successful Rockstor 5.1 → 5.5.3 Upgrade on Leap 15.6

Thanks @Hooverdan !

I managed to get the update to apply successfully using a combination of information from this thread plus some extra help from Grok.

  1. On Leap 15.6:

    1. zypper refresh
      
    2. zypper up
      
    3. zypper in opensuse-migration-tool
      
    4. reboot
      
  2. applied the update via

    1. opensuse-migration-tool
      
    2. selected Leap 16.0;

    3. accepted default list of repos to disable;

    4. accepted default option of keeping SELinux;

    5. reboot
      
  3. After first reboot into Leap 16.0:

    1. zypper removerepo Rockstor-Testing
      
    2. zypper addrepo --refresh http://updates.rockstor.com:8999/rockstor-testing/leap/16.0 Rockstor-Testing
      
    3. zypper refresh
      
    4. zypper in rockstor
      
  4. Fixed SELinux (was blocking services):

    1. sed -i -e 's|^SELINUX=.*|SELINUX=permissive|g' \
      -e 's|^SELINUXTYPE=.*|SELINUXTYPE=targeted|g' "/etc/selinux/config"
      
    2. cp /etc/default/grub /etc/default/grub.bak
      
    3. sed -i 's/enforcing=1/enforcing=0/g' /etc/default/grub
      
    4. grub2-mkconfig -o /boot/grub2/grub.cfg
      
    5. reboot
      

After the final reboot, services started as expected;

All data/pools intact. Everything seems to be working normally now.

2 Likes