Hi Romy,
Long story: a PR has been introduce in 13.1 (https://github.com/inverse-inc/packetfence/pull/7754) and we opened a ticket about that issue (https://github.com/inverse-inc/packetfence/issues/8105) and a PR (https://github.com/inverse-inc/packetfence/pull/8106) that fix the import from 13.1 to 13.2. We also provide first a fix for 13.1 to 13.2 and a new PR is waiting for the previous version: https://github.com/inverse-inc/packetfence/pull/8193 Short story: - for packetfence-export before 13.1, files are saved under /usr/local/pf - for packetfence-export after 13.1 (included), files are saved in ./ So, - import a exported file from 13.1 or before, in 13.1 or 13.2 will not work. - import a exported file from 13.1 in 13.2 should work To apply the fix until PR#8193 is merged and backported to 13.1 and 13.2 maintenance branches, you need to apply that patch with the following command lines: ``` cd /usr/local/pf/ curl https://patch-diff.githubusercontent.com/raw/inverse-inc/packetfence/pull/8193.diff | patch -p1 --dry-run ``` if fine then: ``` cd /usr/local/pf/ curl https://patch-diff.githubusercontent.com/raw/inverse-inc/packetfence/pull/8193.diff | patch -p1 ``` Then do the importation. Thanks for your feedback. Regards Jeremy Goimard Software Engineer [signature_117474225] Office: +1 613 670 8438 Akamai Technologies - Inverse 145 Broadway Cambridge, MA 02142 Connect with Us: [signature_1388875202]<https://community.akamai.com/> [signature_3364560605] <http://blogs.akamai.com/> [signature_2499095976] <https://twitter.com/akamai> [signature_3425345268] <http://www.facebook.com/AkamaiTechnologies> [signature_4082763092] <http://www.linkedin.com/company/akamai-technologies> [signature_1928680685] <http://www.youtube.com/user/akamaitechnologies?feature=results_main> ________________________________ From: Andres, Romy via PacketFence-users <packetfence-users@lists.sourceforge.net> Sent: Wednesday, June 26, 2024 6:33:21 AM To: packetfence-users@lists.sourceforge.net Cc: Andres, Romy Subject: [PacketFence-users] PF 13.1 Error on import Hello everyone, With the command /usr/local/pf/addons/full-import/export.sh we successfully create an export file. When importing this file on another Packetfence server (version 13.1) with /usr/local/pf/addons/full-import/import.sh -f the following error occurs: Get PF version in PacketFence export grep: /tmp/tmp.JjkJJJKAA3b/usr/local/pf/conf/pf-release: File or directory not found How can the export file be imported successfully? Are there special options to set for export? Thanks in advance for your help. Romy
_______________________________________________ PacketFence-users mailing list PacketFence-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/packetfence-users