{"id":1406,"date":"2020-02-20T23:59:11","date_gmt":"2020-02-21T07:59:11","guid":{"rendered":"http:\/\/dhoytt.com\/mainblog\/?p=1406"},"modified":"2021-12-19T22:18:22","modified_gmt":"2021-12-20T06:18:22","slug":"crazy-os-and-application-updates","status":"publish","type":"post","link":"http:\/\/dhoytt.com\/mainblog\/2020\/02\/crazy-os-and-application-updates\/","title":{"rendered":"Crazy OS and Application  Updates"},"content":{"rendered":"\n<p>I was feeling productive making serious strides gettinng my c7000 chassis <\/p>\n\n\n\n<p>\nI\nwas feeling productive today making\nserious strides getting\nmy c7000 chassis ready and reached\na great stopping point when I decided\nto do a small task that lead to several updates and took parts of my\nweb site down. I was just going to\nlink another blog\u2019s post to one of\nmine to increase traffic to both sites hopefully when I decided to\nupdate to see if I had access to a better plugin to link related\nsites since the one I used extensively no longer had active\ndevelopment and the other one I didn\u2019t have time to dive into\ntoday.<\/p>\n\n\n\n<p> First I wanted to update to the latest version of <a href=\"https:\/\/wordpress.org\/\">WordPress<\/a> 5.23 but the update check discovered I had PHP version 5.4.16 and I needed to be at PhP 5.5 to get to WordPress 3.23 the latest version.<\/p>\n\n\n\n<p>\nFirst\nI did a full OS update on my web server I host WordPress on which is\nCentos 7 OS to see if it picked up the latest PHP version and it\ndidn\u2019t update PHP at all during the update process. The kernel and\nquite a few other files updated seamlessly though. \n<\/p>\n\n\n\n<p>\nSecond\nI updated WordPress to the latest verions I could with PHP 5.4.16\nwhich was version 5.14 of WordPress. I then did minimal poking around\nand determined that of course WordPress 5.23 would work with the\nlatest version of PHP so I decided to see why Centos 7 didn\u2019t\nupdate to the latest version of PHP during the update process.<\/p>\n\n\n\n<p> Found out how to get to the latest version of PHP 7.3 and it was straightforward, so I decided to do it. I found several sites with the same update procedure so I followed  the one at <a href=\"https:\/\/www.digitalocean.com\/community\/questions\/trying-to-install-latest-php-version-on-centos-7\">Digital Ocean <\/a>since they always have to have good material:<\/p>\n\n\n\n<p>\n<strong>Install\nEPEL yum repository on your system<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>yum install epel-release<\/code><\/pre>\n\n\n\n<p>\n<strong>Install\nRemi repository<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>rpm -Uvh http:\/\/rpms.famillecollet.com\/enterprise\/remi-release-7.rpm<\/code><\/pre>\n\n\n\n<p> <strong>Now onto the proper installation<\/strong><\/p>\n\n\n\n<p>\nYour\nsystem is prepared for the PHP installation from yum repositories.\nUse one of the following commands to install PHP 7.3 or PHP 7.2 or\nPHP 7.1 on your system based on your requirements<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>## Install PHP 7.3 <\/code> <code>yum --enablerepo=remi-php73 install php<\/code><\/pre>\n\n\n\n<p>All seemed to go smooth  so I then decided to update to WordPress 5.23 and then updated all of my plugins and all my WordPress themes except for the theme I use for my Music Streaming site <a href=\"http:\/\/dhoytt.com\/snake-ice-radio-blog\/\">\u201cSnakeice\u2019s House of Beats\u201d<\/a> since there were some customizations I didn\u2019t want to work with today and it is only one version behind the latest version on that active theme. All looked good as I updated each site which in turn updated the database.<\/p>\n\n\n\n<p> I then went to the Music Streaming site \u201cSnakeice\u2019s House of Beats\u201d and could not see the now playing information so I started thinking the iFrame plugin I used had failed. I looked at the settings and they were blank! Was glad I was looking at the wrong site, I then checked the correct site with an independent tool to see if my site had picked up something during the updates that would block iframes and it tested out fine.  <\/p>\n\n\n\n<p> Then it dawned on me to test the content I show within my iFrame outside of the iFrame and it wouldn\u2019t come up! Now I went to my r<a href=\"http:\/\/dhoytt.com\/snake-ice-radio-blog\/now-playing\/requests\/?\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\"equest site (opens in a new tab)\">equest site<\/a> and requested a song and that gave database errors! I had failed to consider that the PHP based code of that part of the site which  stands on its own if needed didn\u2019t have the proper PHP updates and that site doesn\u2019t have simple update processes for me it would be all manual  if that\u2019s the issue.<\/p>\n\n\n\n<p> I looked in the Apache\/httpd log files and of course there was the error \u201cPHP Parse error: Invalid numeric literal\u201d. Then went to the site of that application\u2019s forum to see who else ran into this issue and I found the fix was the latest version of the SAM Broadcaster applications PHP templates. I purchased the update installed the new templates in another part of my site after getting that installed on my W2012-r2 site and copying the templates from there. I mad my configuration changes to point to my streaming music server and to sync with that database put in my station credentials and everything didn\u2019t work perfectly. I even noticed the Joomla portion on my site had all types of PHP errors all over the place what a mess!  <\/p>\n\n\n\n<p> Heck even the update of the SAM Broadcaster application on my W2012-r2 server didn\u2019t go smoothly. That took me 3 tries with running the executable as Administrator user and moving files and making sure I killed certain processes before it recognized the new SAM Broadcaster version 2018-10!<\/p>\n\n\n\n<p> Now I ventured over to the SAM forums again and found that one of the people who did SAM Broadcaster consulting work had packaged up some changes for the <a href=\"http:\/\/support.spacialaudio.com\/forums\/viewtopic.php?f=22&amp;t=53771&amp;start=15\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\"SAM Broadcaster files for PHP 7.x (opens in a new tab)\">SAM Broadcaster files for PHP 7.x<\/a> he had supposedly passed on to the team at Spacial Audio who created SAM Broadcaster and should have been in the latest version of SAM. I downloaded that zip package, moved it to my web server, unzipped it, copied what had been my working code to a renamed directory and then copied the changed files over my previously working files. I then looked at my music standalone site  and it looked horrible but a change had occurred that looked like something I could work with!<\/p>\n\n\n\n<p> After copying all the unzipped files over my prior working site I then made changes to my configuration API files pointing to my database, syncing to the W2012-r2 server that streams the music from my Centos 7 web server and refreshing the web page after each change and it got me back up to where I was except of course my Joomla CMS pages which I will tackle the next couple of days.<\/p>\n\n\n\n<p> After all of that I decided to link the other blog\u2019s post to my related post on mint plants  and ended up doing it manually since the plugin I wanted and I updated to use didn\u2019t work! Wow well at least I got somethings updated with more secure code and those blog posts linked! I\u2019ll tackle everything else later, I have several dozens projects left to do after being overseas for a while on my systems around the house and community but I\u2019m at the latest version of Centos 7, PHP (7.3), SAM Broadcaster and Windows 2012-r2 (I updated a couple of days  ago) and made significant progress installing to server blades and setting up things on my c7000 blade chassis.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I was feeling productive making serious strides gettinng my c7000 chassis I was feeling productive today making serious strides getting my c7000 chassis ready and reached a great stopping point when I decided to do a small task that lead &hellip; <a href=\"http:\/\/dhoytt.com\/mainblog\/2020\/02\/crazy-os-and-application-updates\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"wprm-recipe-roundup-name":"","wprm-recipe-roundup-description":"","_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[5,6],"tags":[771,155,501,304,773,150,615,305,775,774,630,598,614,515],"class_list":["post-1406","post","type-post","status-publish","format-standard","hentry","category-home-projects","category-whole-site-development","tag-application-updates","tag-blogs","tag-centos-7","tag-database","tag-digital-ocean","tag-mysql","tag-os-updates","tag-php","tag-plugins","tag-remi-repository","tag-sam-broadcaster","tag-snakeice-house-of-beats","tag-w2012-r2","tag-yum-update"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"_links":{"self":[{"href":"http:\/\/dhoytt.com\/mainblog\/wp-json\/wp\/v2\/posts\/1406","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/dhoytt.com\/mainblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/dhoytt.com\/mainblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/dhoytt.com\/mainblog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/dhoytt.com\/mainblog\/wp-json\/wp\/v2\/comments?post=1406"}],"version-history":[{"count":1,"href":"http:\/\/dhoytt.com\/mainblog\/wp-json\/wp\/v2\/posts\/1406\/revisions"}],"predecessor-version":[{"id":1407,"href":"http:\/\/dhoytt.com\/mainblog\/wp-json\/wp\/v2\/posts\/1406\/revisions\/1407"}],"wp:attachment":[{"href":"http:\/\/dhoytt.com\/mainblog\/wp-json\/wp\/v2\/media?parent=1406"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/dhoytt.com\/mainblog\/wp-json\/wp\/v2\/categories?post=1406"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/dhoytt.com\/mainblog\/wp-json\/wp\/v2\/tags?post=1406"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}