![]() You'll need to manually install PHP7 along with any optional modules you're using (e.g. That means that during the OS upgrade, PHP may or may not be upgraded, may or may not be cleaned, but either way, probably won't boot correctly. The package naming patterns are the same, so the source handoff should be smooth.īut if you manually compiled PHP7 or were still running Jessie's PHP5, there will be blood.īecause of build compatibility issues and an approaching end-of-life, PHP5 binaries are completely missing from Stretch's repos. If you had been using Dotdeb's PHP 7.0 binaries under Jessie, congratulations!, PHP shouldn't cause any issues during the OS upgrade. I had to remove those entries to get MariaDB to boot. One more gotcha: Stretch's version drops a handful of under-loved engines that I used to disable manually via -skip-foobar configurations. If you tweaked the hell out of it the previously, move your configurations back to the /etc/mysql directory. You should be back up and running, but the config files will be missing your blood, sweat, and tears. # And for good measure, re-run the security wizard: # Make sure the databases are good and upgraded: # will handle, and anything not related to MySQL that got purged, # Now re-install MariaDB, which the single "mariadb-server" package If any non-MySQL programs get caught in the cross-fire, make a mental note and re-install them later.Copy your configuration files (like my.cnf) to another directory for later reference.When asked, DO NOT let Debian blow away your databases.Either way, MariaDB needs to be synced with Stretch's version (10.1), so shit's gotta change. In others, unsatisfiable dependencies caused the server to blow up. In some cases, MariaDB was ignored, not upgraded, and ran just fine. If you can't figure out why Nginx hates you, you can test the configuration by running: nginx -tĪll of my Jessie servers were running the same version of MariaDB (10.0), but for some reason, the upgrade to Stretch saw different things happen. If your Nginx configuration is failing, remove all mentions of SPDY, then adjust your SSL lines to look like listen 443 ssl http2 But if you're coming from an older version, the main thing to watch out for is that SPDY support has been replaced with HTTP/2 support. If you were running the jessie-backports version of Nginx, you probably won't run into any issues that version more or less matches the main stretch version. I'm a LEMP guy myself, so my Jessie servers happened to be running the jessie-backports edition of nginx, MariaDB 10.0 (rather than MySQL whatever), and Dotdeb's PHP7.0. If you, like me, grow impatient towards the end of a Debian cycle, wanting some newer-than-ancient version of your L(A/E)MP stack, etc., then you might end up avoiding upgrade issues or creating some. You can use "dist-upgrade" from here on out Sudo apt-get update & sudo apt-get dist-upgrade Sudo sed -i 's/jessie/stretch/g' /etc/apt/sources.list # there quickly, but you may need to tweak things manually. Something like the following will get you # Next, adjust your APT sources, both sources.list and anything Sudo apt-get update & sudo apt-get upgrade Regardless, you'll want to monitor the system logs for a little while to see if anything's unhappy.Īnyhoo, onward! Update That Shit # First things first, make sure Jessie is up-to-date. In other cases, you can probably blow the original away. If you made weird changes to the original, the answer is probably "no", however you should make a note and go back later to see what the differences were. While updating, you'll likely be asked whether this or that configuration file should be updated with the new distribution version. If your servers are already running Jessie, upgrading is pretty straightforward.īefore we begin, though, the usual caution: every server is ever so slightly different, so please make sure you have backups before you begin, and do your work while everyone else is asleep in case something goes dreadfully wrong.Īctually, one more caution: READ THE PROMPTS. Debian Stretch is here, bringing with it PHP 7.0, MariaDB 10.1, brotli, and all sorts of random goodies and version bumps. Well boys and girls, it's been 785 days, but the long wait is over. Stuff Technical Blog (702) 608-2086 Upgrading from Debian Jessie to Stretch
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |