[Bug 42649] New: Koha package upgrade also upgrades DB for disabled instances
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: koha-bugs@lists.koha-community.org Reporter: dcook@prosentient.com.au QA Contact: testopia@bugs.koha-community.org CC: mtj@kohaaloha.com 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.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org