Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deb11 pf13.2 upgrade to deb12 pf 14.0 #8481

Open
serpentes80 opened this issue Jan 10, 2025 · 1 comment
Open

deb11 pf13.2 upgrade to deb12 pf 14.0 #8481

serpentes80 opened this issue Jan 10, 2025 · 1 comment

Comments

@serpentes80
Copy link

I have a cluster running on debian 11 with full-updated packetfence 13.2

I wanted to upgrade to PF14, so I followed the stps on https://www.packetfence.org/doc/PacketFence_Clustering_Guide.html#_performing_an_upgrade_on_a_cluster
I detatched the first node from the cluster, exported the backup following along https://www.packetfence.org/doc/PacketFence_Installation_Guide.html#_export_on_current_installation

then I went to my new deb12 / pf14 installation (ZEN Node on VMWare) and tried to import the config
but I got an error from MariaDB "ib_logfile0 too small"

I tried this serveral times without luck...

Today I tried to import the db and the config seperately following https://www.packetfence.org/doc/14.0.0/PacketFence_Upgrade_Guide.html#_export_database_with_mariadb_backup_and_import_to_packetfence_14_0_on_debian_12

but after that I got an error the database schema were still at 13.2
I got this sorted, but the next error was that httpd.webservices could not be started (missing container)

what a nightmare :-(

@JeGoi
Copy link
Contributor

JeGoi commented Jan 10, 2025

Today I tried to import the db and the config seperately following https://www.packetfence.org/doc/14.0.0/PacketFence_Upgrade_Guide.html#_export_database_with_mariadb_backup_and_import_to_packetfence_14_0_on_debian_12

but after that I got an error the database schema were still at 13.2 I got this sorted, but the next error was that httpd.webservices could not be started (missing container)

Changing DB is always complicated.
But I think that you are closed, try that:

mysql -u root -p pf -v < /usr/local/pf/db/upgrade-13.2-14.0.sql

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants