{"id":9167,"date":"2019-07-19T18:39:57","date_gmt":"2019-07-19T22:39:57","guid":{"rendered":"https:\/\/pappp.net\/?p=9167"},"modified":"2019-07-19T18:40:32","modified_gmt":"2019-07-19T22:40:32","slug":"server-updated","status":"publish","type":"post","link":"https:\/\/pappp.net\/?p=9167","title":{"rendered":"Server Updated"},"content":{"rendered":"<p>The server that hosts this page was updated from Debian Jessie (8) through Stretch (9) and onto Buster (10) over the course of a few hours today. It involved surprisingly little suffering and should not affect functionality, please let me know if you find anything left in a broken state.<\/p>\n<p>I didn&#8217;t realize how long it had been since I did any manual maintenance here, apt unattended upgrades, certbot, and a few scripts for user-installed package upgrades and backup had done such a good job maintaining things just visibly enough to know it was being taken care of that I&#8217;d let it get past-due.  Most of my other individually-installed boxes are Arch rolling-release machines that require a few minutes of attention every month or two, so they don&#8217;t have the periodic major breaking maintenance issue to the same degree.<\/p>\n<p>Now I can let it take care of itself again until 2022 or thereabouts.<br \/>\nA few notes that may be useful to others under the fold.<br \/>\n<!--more--><\/p>\n<ul>\n<li>The <a href=\"https:\/\/linuxconfig.org\/how-to-upgrade-debian-9-stretch-to-debian-10-buster\">Debian upgrade guides at linuxconfig.org<\/a> (the 8-to-9 and 9-to-10 versions basically only differ by <code>'s\/stretch\/buster\/g'<\/code>) are good checksheets to make sure you haven&#8217;t done anything that will leave a dangling problem, at least for someone like me who doesn&#8217;t have the dpkg\/apt incantations in my fingers.<\/li>\n<li>The advice about using <code>aptitude search '~i(!~ODebian)'<\/code> to track down errant packages-no-longer-in-repo is useful. I knew <code>apt autoremove<\/code> (analogous <code>pacman -Qdtq<\/code> but not the <code>pacman -Qmq<\/code> equivalent.  It sped things along.<\/li>\n<li>Don&#8217;t be a dumbass, if you have \/usr\/bin\/php5 hardcoded in any configurations, like say ttrss&#8217;s config.php, you probably need to change it to \/usr\/bin\/php for PHP7 support&#8230;that only took an hour to spot why update_daemon2.php was barfing looking for php5 while spawning workers.<\/li>\n<li> The changelog for fail2ban warns that configs are likely not compatible between the versions shipped with the major Debian releases.  They aren&#8217;t kidding, take the package version and forward-port your customizations, it&#8217;s not worth trying to port the whole config.<\/li>\n<li> You obviously don&#8217;t want to overwrite your server configs for things like nginx, Debian does-the-right-thing and drops a <code>default.dpkg-dist<\/code> for nginx that you can swipe appropriate-for-version php-fpm lines from to keep things pointed at the best supported php packages.<\/li>\n<li> It turns out that when I&#8217;m working on a freshly-snapshotted VM which also has pruned nightly borg backups for years, I&#8217;m willing to do some seriously brazen shit even on a &#8220;production&#8221; system.  It also turns out that it all worked out and I didn&#8217;t have to revert once.<\/li>\n<p><code><\/code><\/ul>\n","protected":false},"excerpt":{"rendered":"<p>The server that hosts this page was updated from Debian Jessie (8) through Stretch (9) and onto Buster (10) over the course of a few hours today. It involved surprisingly little suffering and should not affect functionality, please let me &hellip; <a href=\"https:\/\/pappp.net\/?p=9167\">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":{"footnotes":""},"categories":[4,8,1,5],"tags":[],"class_list":["post-9167","post","type-post","status-publish","format-standard","hentry","category-computers","category-diy","category-general","category-meta"],"_links":{"self":[{"href":"https:\/\/pappp.net\/index.php?rest_route=\/wp\/v2\/posts\/9167","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pappp.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pappp.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pappp.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pappp.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=9167"}],"version-history":[{"count":0,"href":"https:\/\/pappp.net\/index.php?rest_route=\/wp\/v2\/posts\/9167\/revisions"}],"wp:attachment":[{"href":"https:\/\/pappp.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=9167"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pappp.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=9167"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pappp.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=9167"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}