
{"id":589,"date":"2020-12-02T15:29:15","date_gmt":"2020-12-02T15:29:15","guid":{"rendered":"http:\/\/blog.gordonbuchan.com\/blog\/?p=589"},"modified":"2021-02-13T23:29:18","modified_gmt":"2021-02-13T23:29:18","slug":"fedora-33-fedora-version-upgrade-breaks-a-production-web-server-and-fedoras-reputation-for-smooth-version-upgrades","status":"publish","type":"post","link":"https:\/\/blog.gordonbuchan.com\/blog\/index.php\/2020\/12\/02\/fedora-33-fedora-version-upgrade-breaks-a-production-web-server-and-fedoras-reputation-for-smooth-version-upgrades\/","title":{"rendered":"Fedora 33: Fedora version upgrade breaks a production web server, and Fedora\u2019s reputation for smooth version upgrades"},"content":{"rendered":"\n<p>My brother hosts his personal website and blog <a href=\"https:\/\/malak.ca\">malak.ca<\/a> on a baremetal DSL server. My brother uses Fedora on his laptop and server.<\/p>\n\n\n\n<p>A perfectly good pre-fork mod_php MPM-ITK PHP handler was in place, and serving web pages.<\/p>\n\n\n\n<p>Upon reboot after the major version upgrade, the web server was showing error 503 for PHP requests on the blog. The config files were a mismatched mess, so we ended up having to do a baremetal format. My brother keeps his data on a separate drive so the baremetal evac only involved a mysql dump file and a few config files, but still.<\/p>\n\n\n\n<p>Note this post about Fedora 33: \u201cSeveral relatively controversial changes are currently under discussion on the project&#8217;s mailing lists&#8230;\u201d<\/p>\n\n\n\n<p><a href=\"https:\/\/lwn.net\/Articles\/824620\/\">https:\/\/lwn.net\/Articles\/824620\/<\/a><\/p>\n\n\n\n<p>\u201cThe default\ndoesn&#8217;t matter, there&#8217;s absolutely no reason to take away the\nsysadmin&#8217;s choice here. There are at least 40 servers I personally am\nresponsible for where I see no reason to move from mod_php to\nphp-fpm, for example.\u201d John M. Harris Jr.<\/p>\n\n\n\n<p>I was a CentOS web server admin for many years, and used Fedora on my personal laptop until last year. My brother ran CentOS in the past, but towards the end of the Long Term Support (LTS) cycle, CentOS had absurdly outdated but security-patched versions of libraries. My brother started using Fedora on his web server, and we have been able to do several major version upgrades without incident. The reliability of this upgrade process is what made Fedora suitable for a web server.<\/p>\n\n\n\n<p>Ubuntu has trouble\nwith major version upgrades. On some Ubuntu version upgrades, the\ninstaller freezes, requiring that a rescue kernel be entered, apt-get\nupdate \u2013fix-missing, dpkg \u2013repair, and other exotic interventions\ntake place before the upgrade process can be resumed and completed.<\/p>\n\n\n\n<p>By comparison, Fedora version upgrading has a better track record, and is usually smooth. A technical error or unforeseen incompatibility would be understandable. A deliberate policy choice to break production web servers to enforce a policy opinion: not cool.<\/p>\n\n\n\n<p>Fortunately, Remi RPM has come to the rescue:<\/p>\n\n\n\n<p><a href=\"https:\/\/rpms.remirepo.net\/\">https:\/\/rpms.remirepo.net\/<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/rpmfind.net\/linux\/rpm2html\/search.php?query=mod_php\">https:\/\/rpmfind.net\/linux\/rpm2html\/search.php?query=mod_php<\/a><\/p>\n\n\n\n<p>Read my brother&#8217;s post on this:<\/p>\n\n\n\n<figure class=\"wp-block-embed-wordpress wp-block-embed is-type-wp-embed is-provider-don-039-s-house-of-fine-patisseries\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"wp-embedded-content\" data-secret=\"xsgXU4T88Z\"><a href=\"https:\/\/www.malak.ca\/blog\/index.php\/2020\/12\/07\/major-changes-to-how-php-requests-are-handled-in-fedora-33\/\">Major changes to how PHP requests are handled in  Fedora 33<\/a><\/blockquote><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; visibility: hidden;\" title=\"&#8220;Major changes to how PHP requests are handled in  Fedora 33&#8221; &#8212; Don&#039;s House of Fine Patisseries\" src=\"https:\/\/www.malak.ca\/blog\/index.php\/2020\/12\/07\/major-changes-to-how-php-requests-are-handled-in-fedora-33\/embed\/#?secret=clZoHVuKhi#?secret=xsgXU4T88Z\" data-secret=\"xsgXU4T88Z\" width=\"525\" height=\"296\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>My brother hosts his personal website and blog malak.ca on a baremetal DSL server. My brother uses Fedora on his laptop and server. A perfectly good pre-fork mod_php MPM-ITK PHP handler was in place, and serving web pages. Upon reboot after the major version upgrade, the web server was showing error 503 for PHP requests &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/blog.gordonbuchan.com\/blog\/index.php\/2020\/12\/02\/fedora-33-fedora-version-upgrade-breaks-a-production-web-server-and-fedoras-reputation-for-smooth-version-upgrades\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Fedora 33: Fedora version upgrade breaks a production web server, and Fedora\u2019s reputation for smooth version upgrades&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-589","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/blog.gordonbuchan.com\/blog\/index.php\/wp-json\/wp\/v2\/posts\/589","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.gordonbuchan.com\/blog\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.gordonbuchan.com\/blog\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.gordonbuchan.com\/blog\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.gordonbuchan.com\/blog\/index.php\/wp-json\/wp\/v2\/comments?post=589"}],"version-history":[{"count":7,"href":"https:\/\/blog.gordonbuchan.com\/blog\/index.php\/wp-json\/wp\/v2\/posts\/589\/revisions"}],"predecessor-version":[{"id":888,"href":"https:\/\/blog.gordonbuchan.com\/blog\/index.php\/wp-json\/wp\/v2\/posts\/589\/revisions\/888"}],"wp:attachment":[{"href":"https:\/\/blog.gordonbuchan.com\/blog\/index.php\/wp-json\/wp\/v2\/media?parent=589"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.gordonbuchan.com\/blog\/index.php\/wp-json\/wp\/v2\/categories?post=589"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.gordonbuchan.com\/blog\/index.php\/wp-json\/wp\/v2\/tags?post=589"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}