Upgrading Packetfence 14 to 15
Basic assumptions: - Debian 12 - Packetfence 14.0 (with latest maintenance patches installed)
We are running packetfence on proxmox, so we first made a snapshot of the working version ;)
We are going to follow the guide at https://www.packetfence.org/doc/PacketFence_Upgrade_Guide.html#_automation_of_upgrades
/usr/local/pf/addons/upgrade/do-upgrade.sh
Will basically get the packetfence-upgrade package, stop all the services, and will make a backup in /root/backup/ of the pre-upgrade status.
In my case it failed rather quickly as it could not validate the 15.0 apt repositories secure-key. We can fix that by doing:
curl -fsSL https://inverse.ca/downloads/GPG_PUBLIC_KEY | gpg --dearmor -o /etc/apt/keyrings/packetfence.gpg
Then we restart the upgrade by doing:
/usr/local/pf/addons/upgrade/do-upgrade.sh
In my case it asked if it should install the maintainers version of switches.conf. I told it to keep the existing one, as all my AP's and switches are defined in it ;)
It now starts doing most of the upgrade parts
The next questions we all answer yes
It will now continue upgrading, afterwards always reboot
