Project

General

Profile

Bug #2441

Upgrade from Fedora 27 to Fedora 33

Added by bigfoot65 10 months ago. Updated 8 months ago.

Status:
Assigned
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Start date:
11/14/2020
Due date:
% Done:

0%


Description

Upgrading from Amahi 11 (Fedora 27) to Amahi 12 (Fedora 33) is a trick path to navigate. First of all, Fedora upgrade path only allows for going current version +2. Due to a dependency issue, the upgrade path must include Fedora 31 or 32. The path presented above appears to work best to achieve the upgrade to Fedora 33 without issues. Amahi hda-ctl and hda-platform have to be reinstalled in Fedora 33 as there currently are no repositories between Fedora 28 and Fedora 32.

Also, since there are no repos for Fedora 29 or 31, hda-ctl, hda-platform, and any amahi-specific rpms (i.e. amahi-greyhole) are uninstalled.

To upgrade from Amahi 11 (Fedora 27) to Amahi 12 (Fedora 33), follow the guidance below (uninstall of all applications is best):

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

Reboot

Upgrade to Fedora 29:

sudo dnf -y system-upgrade download --refresh --releasever=29 --nogpgcheck --allowerasing
sudo dnf system-upgrade reboot

Upgrade to Fedora 31:
sudo dnf -y system-upgrade download --refresh --releasever=31 --nogpgcheck --allowerasing
sudo dnf system-upgrade reboot

Upgrade to Fedora 33:
sudo dnf -y system-upgrade download --refresh --releasever=33 --nogpgcheck --allowerasing
sudo dnf system-upgrade reboot

Install Amahi 12 and start services:
sudo dnf -y install hda-ctl hda-platform
sudo systemctl enable --now hda-platform
sudo systemctl enable --now hda-ctl

Reboot

This will take about 1-2 hours depending on your internet connection.

There are known issues with upgrade. On a pristine Amahi 11 (Fedora 27), once the upgrade to Amahi 12 (Fedora 33) is complete the web server continues to stop. The only info provided is " httpd.service: Failed with result 'signal'" which does not indicate much of what the problem could be. It can be restarted, but after a matter of minutes it stops.

History

#1 Updated by cpg 10 months ago

Regarding httpd failing, as of a little while ago services failing with systemd are often reported as failing with this "signal" without much more detail.

For httpd, if you have it running in the machine, do a tail -f /var/log/httpd/*_log and see what happens in those logs when it stops running.

#2 Updated by bigfoot65 10 months ago

The output below is from the error_log:

https://paste.centos.org/view/efd5bffb

Looks like there might be something broken from the upgrade.

#3 Updated by cpg 10 months ago

  • Status changed from New to Assigned
  • Assignee set to cpg

Passenger runs the web app for the dashboard. The dashboard cannot work without it. Maybe when trying to access it for the first time httpd realized it could not and croaked.

Yes, this needs some TLC to be fixed.

#4 Updated by bigfoot65 10 months ago

The dashboard works while httpd is running of course.

Let me know how I can assist.

#5 Updated by bigfoot65 10 months ago

Looks like this command needs to be run as well after upgrade to Fedora 33:

sudo mysql_upgrade -uroot -phda

#6 Updated by mattman 8 months ago

Upgrade from Fedora 27 to 33 went ok, had issues after installing Amahi 12.

Apache would stop after a couple of minutes.

I ran sudo mysql_upgrade -uroot -phda and restarted the system - Apache issue did not clear

error when trying to resolve address with DNS - 'temporary failure in name resolution' error message when trying to ping www.google.co.uk - fix workaround added google DNS to /etc/resolv.conf restart systemd-resolved.

HDA platform is now up and stable I have also installed 'Disk Stats' there are some errors but I will post them to the 'Disk Stats' page.

#7 Updated by bigfoot65 8 months ago

These are the extra commands I ran after upgrade:

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

I got this info from DNF System Upgrade

Also available in: Atom