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

            Bug ID: 42649
           Summary: Koha package upgrade also upgrades DB for disabled
                    instances
   Initiative type: ---
        Sponsorship ---
            status:
           Product: Koha
           Version: 25.11
          Hardware: All
                OS: All
            Status: NEW
          Severity: minor
          Priority: P5 - low
         Component: Packaging
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
                CC: [email protected]

The majority of koha-* commands just work on enabled instances, but in
debian/koha-common.postinst we run "koha-upgrade-schema $(koha-list)"

Might it not be better to do "koha-upgrade-schema $(koha-list --enabled)"? On
one hand, there's merit to making sure all databases are upgraded. On the other
hand, you might've disabled an instance because it has problems with its
database, and then the koha-upgrade-schema fails spectacularly on that problem
database.

It's easy to upgrade a database later, so I think it might be better to just
upgrade enabled Koha instances.

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to