koha-testing-docker / master broken?
I was upgrading my koha-testing-docker: "We are upgrading from Koha 20.12.00.003 to 20.12.00.029" But it's failing with this error: [Tue Apr 13 00:19:38 2021] updatedatabase.pl: {UNKNOWN}: DBI Exception: DBD::mysql::db do failed: Duplicate entry 'TaxRates' for key 'PRIMARY' [for Statement "UPDATE systempreferences set variable="TaxRates" WHERE variable="gist""] at /usr/share/perl5/DBIx/Class/Schema.pm line 1118. [Tue Apr 13 00:19:38 2021] updatedatabase.pl: DBIx::Class::Schema::throw_exception(Koha::Schema=HASH(0x55deb3ffd678), "DBI Exception: DBD::mysql::db do failed: Duplicate entry 'Tax"...) called at /usr/share/perl5/DBIx/Class/Storage.pm line 113 [Tue Apr 13 00:19:38 2021] updatedatabase.pl: DBIx::Class::Storage::throw_exception(DBIx::Class::Storage::DBI::mysql=HASH( 0x55deb376ea38), "DBI Exception: DBD::mysql::db do failed: Duplicate entry 'Tax"...) called at /usr/share/perl5/DBIx/Class/Storage/DBI.pm line 1501 [Tue Apr 13 00:19:38 2021] updatedatabase.pl: DBIx::Class::Storage::DBI::__ANON__("DBD::mysql::db do failed: Duplicate entry 'TaxRates' for key "..., DBI::db=HASH(0x55deb509a688), undef) called at /kohadevbox/koha/installer/data/mysql/updatedatabase.pl line 23442 I'm going to try pulling new images and such but FYI. David Cook Software Engineer Prosentient Systems Suite 7.03 6a Glen St Milsons Point NSW 2061 Australia Office: 02 9212 0899 Online: 02 8005 0595
koha-testing-docker OK with master after I pulled new KTD images, but I wonder if updatedatabase.pl has a problem for upgrades. David Cook Software Engineer Prosentient Systems Suite 7.03 6a Glen St Milsons Point NSW 2061 Australia Office: 02 9212 0899 Online: 02 8005 0595 From: Koha-devel <koha-devel-bounces@lists.koha-community.org> On Behalf Of dcook@prosentient.com.au Sent: Tuesday, 13 April 2021 10:22 AM To: koha-devel@lists.koha-community.org Subject: [Koha-devel] koha-testing-docker / master broken? I was upgrading my koha-testing-docker: "We are upgrading from Koha 20.12.00.003 to 20.12.00.029" But it's failing with this error: [Tue Apr 13 00:19:38 2021] updatedatabase.pl: {UNKNOWN}: DBI Exception: DBD::mysql::db do failed: Duplicate entry 'TaxRates' for key 'PRIMARY' [for Statement "UPDATE systempreferences set variable="TaxRates" WHERE variable="gist""] at /usr/share/perl5/DBIx/Class/Schema.pm line 1118. [Tue Apr 13 00:19:38 2021] updatedatabase.pl: DBIx::Class::Schema::throw_exception(Koha::Schema=HASH(0x55deb3ffd678), "DBI Exception: DBD::mysql::db do failed: Duplicate entry 'Tax"...) called at /usr/share/perl5/DBIx/Class/Storage.pm line 113 [Tue Apr 13 00:19:38 2021] updatedatabase.pl: DBIx::Class::Storage::throw_exception(DBIx::Class::Storage::DBI::mysql=HASH( 0x55deb376ea38), "DBI Exception: DBD::mysql::db do failed: Duplicate entry 'Tax"...) called at /usr/share/perl5/DBIx/Class/Storage/DBI.pm line 1501 [Tue Apr 13 00:19:38 2021] updatedatabase.pl: DBIx::Class::Storage::DBI::__ANON__("DBD::mysql::db do failed: Duplicate entry 'TaxRates' for key "..., DBI::db=HASH(0x55deb509a688), undef) called at /kohadevbox/koha/installer/data/mysql/updatedatabase.pl line 23442 I'm going to try pulling new images and such but FYI. David Cook Software Engineer Prosentient Systems Suite 7.03 6a Glen St Milsons Point NSW 2061 Australia Office: 02 9212 0899 Online: 02 8005 0595
git checkout 9f03a9e974a930416e237b846fe78b8e0e5b3404 # 20.12.00.003 reset_all git checkout master updatedatabase => no errors for me Le mar. 13 avr. 2021 à 02:33, <dcook@prosentient.com.au> a écrit :
koha-testing-docker OK with master after I pulled new KTD images, but I wonder if updatedatabase.pl has a problem for upgrades…
David Cook
Software Engineer
Prosentient Systems
Suite 7.03
6a Glen St
Milsons Point NSW 2061
Australia
Office: 02 9212 0899
Online: 02 8005 0595
From: Koha-devel <koha-devel-bounces@lists.koha-community.org> On Behalf Of dcook@prosentient.com.au Sent: Tuesday, 13 April 2021 10:22 AM To: koha-devel@lists.koha-community.org Subject: [Koha-devel] koha-testing-docker / master broken?
I was upgrading my koha-testing-docker: “We are upgrading from Koha 20.12.00.003 to 20.12.00.029”
But it’s failing with this error:
[Tue Apr 13 00:19:38 2021] updatedatabase.pl: {UNKNOWN}: DBI Exception: DBD::mysql::db do failed: Duplicate entry 'TaxRates' for key 'PRIMARY' [for Statement "UPDATE systempreferences set variable="TaxRates" WHERE variable="gist""] at /usr/share/perl5/DBIx/Class/Schema.pm line 1118.
[Tue Apr 13 00:19:38 2021] updatedatabase.pl: DBIx::Class::Schema::throw_exception(Koha::Schema=HASH(0x55deb3ffd678), "DBI Exception: DBD::mysql::db do failed: Duplicate entry 'Tax"...) called at /usr/share/perl5/DBIx/Class/Storage.pm line 113
[Tue Apr 13 00:19:38 2021] updatedatabase.pl: DBIx::Class::Storage::throw_exception(DBIx::Class::Storage::DBI::mysql=HASH(0x55deb376ea38), "DBI Exception: DBD::mysql::db do failed: Duplicate entry 'Tax"...) called at /usr/share/perl5/DBIx/Class/Storage/DBI.pm line 1501
[Tue Apr 13 00:19:38 2021] updatedatabase.pl: DBIx::Class::Storage::DBI::__ANON__("DBD::mysql::db do failed: Duplicate entry 'TaxRates' for key "..., DBI::db=HASH(0x55deb509a688), undef) called at /kohadevbox/koha/installer/data/mysql/updatedatabase.pl line 23442
I’m going to try pulling new images and such but FYI…
David Cook
Software Engineer
Prosentient Systems
Suite 7.03
6a Glen St
Milsons Point NSW 2061
Australia
Office: 02 9212 0899
Online: 02 8005 0595
_______________________________________________ Koha-devel mailing list Koha-devel@lists.koha-community.org https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : https://www.koha-community.org/ git : https://git.koha-community.org/ bugs : https://bugs.koha-community.org/
participants (2)
-
dcook@prosentient.com.au -
Jonathan Druart