I would recommend a clean reinstall. Too many things that could go wrong (unless you know what you're doing).I'm going to upgrade from 12.4 via 13.5 to 15.1.
I very much disagree with this as a general advice.I would recommend a clean reinstall. Too many things that could go wrong (unless you know what you're doing).
Yeah, I also would recommend a clean new install.
As drsnx60 said, backup your stuff first, perhaps do a full backup, and then do a new installation, maybe on a fresh drive.
A new installation will take you less than an hour (not counting backing up your data, which you have to do anyway) while those many upgrade steps will take you days. And a zillion things can go wrong while this stunt, since several things changed since 12.4, like default shell changes from csh to sh - overseeing such thing, and you also have a mess to clean up, too.
Upgrades work fine - they are just time consuming. The upgrade itself is not the step that takes the most time (depending on if you do it in multiple steps or not).
But the reinstalling packages step - sounds simple right?
(before you do the upgrade, be smart and get yourself a list of all currently installed packages and puit it somewhere you can access it during the upgrade / reinstall.)
Well, here is what you have to deal with:
- running pkg upgrade multiple times, due to the fact that package dependencies have change over a few years
- running pkg install for the packages that didn't get upgraded
- finding replacements for the packages that have been removed from the collection
this takes a while. But the real timesucker is this one:
- fixing all necessary configuration changes (example: apache config files - format is the same, but which directives you need to have in there to get a config to work changes with at least some major versions)
- php - apache used to have a built in php modul, now you need to run it via fcgi or similar.
- database upgrades; if you use Mysql, Mariadb, or PostgreSQL, get ready to spend some quality time with all official and unoffical documentation, upgrading from older version (say 4.x, 5.x to 8.x) is never quick or easy.
there is probably more, but I'm getting tired just by writing this.