[Koha-bugs] [Bug 30899] New: Upgrade sometimes fails at "Upgrade to 21.11.05.004"

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jun 3 11:20:35 CEST 2022


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30899

            Bug ID: 30899
           Summary: Upgrade sometimes fails at "Upgrade to 21.11.05.004"
 Change sponsored?: ---
           Product: Koha
           Version: 21.11
          Hardware: All
                OS: All
            Status: NEW
          Severity: critical
          Priority: P5 - low
         Component: Installation and upgrade (command-line installer)
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: magnus at libriotech.no
        QA Contact: testopia at bugs.koha-community.org

I just ran a Debian package upgrade on a test server, from 21.11.04-2 to
21.11.06-1. Some of the upgrades ran just fine, while others stopped at
21.11.05.004:

...
Upgrade to 21.11.05.003  [10:59:51]: Bug 30565 - Update table
stockrotationrotas
Upgrade to 21.11.05.004  [10:59:51]: Bug 30449 - Check borrower_attribute_types
FK constraint
ERROR - {UNKNOWN}: DBI Exception: DBD::mysql::db do failed: You have an error
in your SQL syntax; check the manual that corresponds to your MariaDB server
version for the right syntax to use near 'CONSTRAINT category_code_fk' at line
1 at /usr/share/koha/lib/C4/Installer.pm line 739
Upgrading database schema for <next site>
...

The server has 79 instances on the server, and 19 of those were affected by
this problem. So far I can not really see a pattern based on the age of the
sites, or similar things.

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.


More information about the Koha-bugs mailing list