As I now did the migration on another machine, these are the commands I executed for the migration:
- On Leap 15.6: update to the latest version, including the postgres migration & install the migration tool:
sudo zypper up --no-recommends
sudo zypper up rockstor
sudo zypper in opensuse-migration-tool
reboot
- Run the migration tool
opensuse-migration-tooland select:- openSUSE Leap 16.0
- keep all repos selected (in order to get disabled after the update)
- select
10_keepselinux(although we have to disable it afterwards, I still like to have it installed)
- Reboot -
this might take a very long time (SELinux will go through all the data) - Switch Rockstor repo to Leap 16.0:
sudo zypper removerepo Rockstor-Testing
sudo zypper addrepo --refresh http://updates.rockstor.com:8999/rockstor-testing/leap/16.0 Rockstor-Testing
- Disable SELinux right away, and then reboot
sudo sed -i 's/^SELINUX=.*/SELINUX=permissive/' /etc/selinux/config
sudo cp /etc/default/grub /etc/default/grub.bak
sudo sed -i 's/enforcing=1/enforcing=0/g' /etc/default/grub
sudo grub2-mkconfig -o /boot/grub2/grub.cfg
sudo reboot
Warning: the reboot might take a long time
- Check if SELinux is
Permissiveafter rebooting
sudo getenforce
- Install Rockstor
sudo zypper in rockstor
- Start Rockstor
sudo systemctl enable --now rockstor-bootstrap.service
- Finally, I did list old orphaned packages, remove them and cleaned the zypper cache:
sudo zypper pa --orphaned --unneeded
sudo zypper remove --clean-deps $(zypper packages --unneeded | awk -F'|' '/^i/ {print $3}' | tr -d ' ')
sudo zypper clean --all
Cheers Simon