{"id":294,"date":"2026-10-10T11:03:57","date_gmt":"2026-10-10T18:03:57","guid":{"rendered":"http:\/\/japanobserver.net\/?p=294"},"modified":"2026-10-10T11:03:57","modified_gmt":"2026-10-10T18:03:57","slug":"upgrading-amazon-linux-whoa-what-a-journey","status":"publish","type":"post","link":"https:\/\/japanobserver.net\/index.php\/2026\/10\/10\/upgrading-amazon-linux-whoa-what-a-journey\/","title":{"rendered":"Upgrading Amazon Linux &#8211; WHOA, what a journey!"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">[NOTE: It&#8217;s been over 6 months since I&#8217;ve posted, so I&#8217;m going to abbreviate this and continue later.]<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Wow, what a path. This might be a LONG one, so sit back, pour a cup of covefe and read on.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I was trying to run something on my Amazon Linux instance but it wouldn&#8217;t update because the version of the OS is out of date. I did manage to run yum update and on my next login I saw this:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"941\" height=\"517\" src=\"http:\/\/japanobserver.net\/wp-content\/uploads\/2026\/05\/AmazonLinux1.png\" alt=\"Warning from Amazon\" class=\"wp-image-297\" srcset=\"https:\/\/japanobserver.net\/wp-content\/uploads\/2026\/05\/AmazonLinux1.png 941w, https:\/\/japanobserver.net\/wp-content\/uploads\/2026\/05\/AmazonLinux1-300x165.png 300w, https:\/\/japanobserver.net\/wp-content\/uploads\/2026\/05\/AmazonLinux1-768x422.png 768w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><figcaption class=\"wp-element-caption\">Whoa &#8211; not what I expected<\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"> I had never seen this before. It also made me realize I have to upgrade or maybe just bring this site down. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Eventually I just figured &#8220;Oh well, time to upgrade&#8221; and spun up a new Amazon Linux 2023 instance and upgraded MySQL and PHP to the latest versions. Then I unpacked my WordPress instance, restored the database to a new one in MySQL and thought it would be a nice night, reading my lame site in all the updated glory. But of course, it all failed. My WordPress version was so out of date that it wouldn&#8217;t run on the latest versions of PHP and MySQL. What&#8217;s worse, I couldn&#8217;t upgrade the versions on my Amazon Linux instance as IT was so out of date that I couldn&#8217;t get even remotely current versions of MySQL and PHP. Oh bother&#8230;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Migrating the database to MySQL isn&#8217;t that hard &#8211; there aren&#8217;t any real routines in the stock WP database that requires a high version of MySQL. Porting the database over to a newer version of MySQL worked pretty easily. The problem was PHP (naturally).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">To sum it up, running my current version of WordPress failed on the latest version of PHP (8.X). After going back several times and uttering many four letter words and curses, I decided to upgrade to Amazon Linux 2 and use all of the current versions on <em>that<\/em> platform. Further, since AL 2 was still current (at the time), this gave me time to figure out what I wanted to do. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Voila! AL 2 had PHP 7.X and it worked. Now I had some lead time. Regrettably, time has gotten away from me and it&#8217;s now October. AL 2 is now reached its EOL and I have to migrate to AL 2023 and port over everything all over again. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">But before I work on that, let me get caught up on my C64 set up since I haven&#8217;t updated anything on that front in a while, either. My poor C64 is just collecting dust in the garage&#8230;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><br><\/p>\n","protected":false},"excerpt":{"rendered":"<p>[NOTE: It&#8217;s been over 6 months since I&#8217;ve posted, so I&#8217;m going to abbreviate this and continue later.] Wow, what a path. This might be a LONG one, so sit back, pour a cup of covefe and read on. I was trying to run something on my Amazon Linux instance but it wouldn&#8217;t update because &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/japanobserver.net\/index.php\/2026\/10\/10\/upgrading-amazon-linux-whoa-what-a-journey\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Upgrading Amazon Linux &#8211; WHOA, what a journey!&#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":[4,5,6,10,18],"tags":[],"class_list":["post-294","post","type-post","status-publish","format-standard","hentry","category-aws","category-database","category-migration","category-system-administration","category-web-servers"],"_links":{"self":[{"href":"https:\/\/japanobserver.net\/index.php\/wp-json\/wp\/v2\/posts\/294","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/japanobserver.net\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/japanobserver.net\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/japanobserver.net\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/japanobserver.net\/index.php\/wp-json\/wp\/v2\/comments?post=294"}],"version-history":[{"count":5,"href":"https:\/\/japanobserver.net\/index.php\/wp-json\/wp\/v2\/posts\/294\/revisions"}],"predecessor-version":[{"id":313,"href":"https:\/\/japanobserver.net\/index.php\/wp-json\/wp\/v2\/posts\/294\/revisions\/313"}],"wp:attachment":[{"href":"https:\/\/japanobserver.net\/index.php\/wp-json\/wp\/v2\/media?parent=294"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/japanobserver.net\/index.php\/wp-json\/wp\/v2\/categories?post=294"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/japanobserver.net\/index.php\/wp-json\/wp\/v2\/tags?post=294"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}