Project

General

Profile

Feature #2465

Fedora 27 to Fedora 35 Amahi Upgrade

Added by bigfoot65 7 months ago. Updated 7 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
12/01/2021
Due date:
% Done:

0%


Description

Upgrading from Amahi 11 (Fedora 27) to Amahi 12 (Fedora 35) is a trick path to navigate. First of all, Fedora upgrade path only allows for going current version +2. Amahi hda-ctl and hda-platform have to be reinstalled in Fedora 35 as there currently are no repositories between Fedora 28 and Fedora 34.

It will take 1-2 hours to complete all the steps, dependent on your internet connection. Also, the upgrade may fail at some point in the process. Ensure you have your data backed up and be prepared should it not work. The best approach to upgrading to Amahi 12 on Fedora 35 is by doing a new install. The Amahi OS Migration Guide will provide details to assist with updating the new install with your previous settings.

To upgrade from Amahi 11 (Fedora 27) to Amahi 12 (Fedora 35), follow the guidance below (ALL Amahi applications must be uninstalled prior to upgrade):

sudo dnf -y upgrade --refresh
sudo dnf -y install dnf-plugin-system-upgrade

Reboot

Due to an issue with the wrong Kernel being selected on boot, recommend doing the following:

sudo /boot/grub2/grub.cfg

Change GRUB_DEFAULT=saved to GRUB_DEFAULT=0
Then execute the following:
sudo grub2-mkconfig -o /boot/grub2/grub.cfg

Upgrade to Fedora 29:
sudo dnf -y system-upgrade download --refresh --releasever=29 --nogpgcheck --allowerasing
sudo dnf system-upgrade reboot
sudo dnf repoquery --unsatisfied
sudo dnf repoquery --duplicates
sudo rpm --rebuilddb
sudo dnf distro-sync --allowerasing
sudo dnf system-upgrade clean
sudo mysql_upgrade -uroot -phda

Also all previous version Kernels need to be uninstalled:
dnf remove $(dnf repoquery --installonly --latest-limit=-1 -q)

Reboot

Upgrade to Fedora 31:

sudo dnf -y system-upgrade download --refresh --releasever=31 --nogpgcheck --allowerasing
sudo dnf system-upgrade reboot
sudo dnf repoquery --unsatisfied
sudo dnf repoquery --duplicates
sudo rpm --rebuilddb
sudo dnf distro-sync --allowerasing
sudo dnf system-upgrade clean
sudo mysql_upgrade -uroot -phda

Uninstall previous version Kernel:
dnf remove $(dnf repoquery --installonly --latest-limit=-1 -q)

Reboot

Upgrade to Fedora 33:

sudo dnf -y system-upgrade download --refresh --releasever=33 --nogpgcheck --allowerasing
sudo dnf system-upgrade reboot
sudo dnf repoquery --unsatisfied
sudo dnf repoquery --duplicates
sudo rpm --rebuilddb
sudo dnf distro-sync --allowerasing
sudo dnf system-upgrade clean
sudo mysql_upgrade -uroot -phda

Uninstall previous version Kernel:
dnf remove $(dnf repoquery --installonly --latest-limit=-1 -q)

Reboot

Upgrade to Fedora 35:

sudo dnf -y system-upgrade download --refresh --releasever=35 --nogpgcheck --allowerasing
sudo dnf system-upgrade reboot
sudo dnf repoquery --unsatisfied
sudo dnf repoquery --duplicates
sudo rpm --rebuilddb
sudo dnf distro-sync --allowerasing
sudo dnf system-upgrade clean
sudo mysql_upgrade -uroot -phda

Uninstall previous version Kernel:
dnf remove $(dnf repoquery --installonly --latest-limit=-1 -q)

Reboot

Next you will need to reinstall Amahi:

sudo dnf -y install hda-ctl hda-platform
sudo systemctl enable --now hda-platform
sudo systemctl enable --now hda-ctl

You should now have an operation version of Amahi 12 on Fedora 35.

History

#1 Updated by bigfoot65 7 months ago

If you have an issue with httpd starting, the following worked for me:

sudo bash -c 'echo "fs.inotify.max_user_watches=524288" >> /etc/sysctl.conf'
sudo systemctl restart httpd

Also available in: Atom