https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36986 --- Comment #15 from Victor Grousset/tuxayo <victor@tuxayo.net> --- The CI does:
Upgrade to 23.12.00.059 [18:09:07]: Bug 36819 - Change barcode width value if it still has the wrong default value [33mChanged the barcode width in patron card creator default layout from 8% to 80%.[0m Upgrade to 23.12.00.060 [18:09:07]: Bug 36665 - Add system preference StaffLoginBranchBasedOnIP Added new system preference 'StaffLoginBranchBasedOnIP' Upgrade to 23.12.00.061 [18:09:07]: Bug 26176 - Rename AutoLocation and StaffLoginBranchBasedOnIP system preferences [32mRenamed system preference 'StaffLoginBranchBasedOnIP' to 'StaffLoginLibraryBasedOnIP'[0m Upgrade to 24.05.00.000 [18:09:07]: Koha 24.05.00 release Upgrade to 24.06.00.000 [18:09:07]: Increase DBRev for 24.06 🎵 Mamma mia, here we go again! Upgrade to 24.06.00.001 [18:09:07]: Bug 36986 - Rename StaffLoginLibraryBasedOnIP system preference ERROR - {UNKNOWN}: DBI Exception: DBD::mysql::db do failed: Duplicate entry 'StaffLoginLibraryBasedOnIP' for key 'PRIMARY' at /kohadevbox/koha/C4/Installer.pm line 741
And on my PC setting up a DB before Bug 26176 and doing the updatedatabase to main (Bug 36986L (follow-up) Ensure idempotency) does this:
Changed the barcode width in patron card creator default layout from 8% to 80%. Upgrade to 23.12.00.060 [21:09:31]: Bug 36665 - Add system preference StaffLoginBranchBasedOnIP Added new system preference 'StaffLoginBranchBasedOnIP' Upgrade to 23.12.00.061 [21:09:31]: Bug 26176 - Rename AutoLocation and StaffLoginBranchBasedOnIP system preferences Renamed system preference 'AutoLocation' to 'StaffLoginRestrictLibraryByIP' Renamed system preference 'StaffLoginBranchBasedOnIP' to 'StaffLoginLibraryBasedOnIP' Upgrade to 24.05.00.000 [21:09:31]: Koha 24.05.00 release Upgrade to 24.06.00.000 [21:09:31]: Increase DBRev for 24.06 🎵 Mamma mia, here we go again! Upgrade to 24.06.00.001 [21:09:31]: Bug 36986 - Rename StaffLoginLibraryBasedOnIP system preference
The difference is that my local run has «Renamed system preference 'AutoLocation' to 'StaffLoginRestrictLibraryByIP'» which the CI doesn't have (why? :o ) and not the error that the CI sees at the end. I also got the same with MariaDB 10.5 as the CI run: https://jenkins.koha-community.org/view/main/job/Koha_Main/2927/consoleText -- You are receiving this mail because: You are watching all bug changes.