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

inport/export script fail from 13.x to 14 #8464

Open
supportFGT opened this issue Jan 3, 2025 · 3 comments
Open

inport/export script fail from 13.x to 14 #8464

supportFGT opened this issue Jan 3, 2025 · 3 comments

Comments

@supportFGT
Copy link

supportFGT commented Jan 3, 2025

I've 2 different standalone server debian 11
server 1 was updated before export to latest version (02/jan/2025)
Version: 13.2.0+20241204194243+1574190327+0011+maintenance132+bullseye1

server 2 was
Version: 13.2.0+20240516161922+1294249809+0011+maintenance132+bullseye1

I've installed a new server debian (bookworm) for the migration process:
Version: 14.0.0+20241212210324+1586725144+0012+maintenance140+bookworm1

The database import failed on each server

> Dump file was made without triggers and procedures
> Importing bare schema for 13.2
> ---------------------------------------------------------------------------------
> Replacing create statements from the dump and removing drop statements
> ---------------------------------------------------------------------------------
> Importing packetfence-db-dump-2025-01-03_00h30.sql into pf
> ERROR 1062 (23000) at line 1239: Duplicate entry '1' for key 'PRIMARY'
@JeGoi
Copy link
Contributor

JeGoi commented Jan 6, 2025

Looks like this #8105

@JeGoi
Copy link
Contributor

JeGoi commented Jan 6, 2025

The database import failed on each server

Do you mean, you tried to import from each 13.2 servers on your new server 14.0, correct?

@JeGoi
Copy link
Contributor

JeGoi commented Jan 6, 2025

server 2 was
Version: 13.2.0+20240516161922+1294249809+0011+maintenance132+bullseye1

This one should have the error.

server 1 was updated before export to latest version (02/jan/2025)
Version: 13.2.0+20241204194243+1574190327+0011+maintenance132+bullseye1

This one should not have the error.

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