[Bug 12584] New: koha-conf.xml for package installations get out of sync
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12584 Bug ID: 12584 Summary: koha-conf.xml for package installations get out of sync Change sponsored?: --- Product: Koha Version: 3.16 Hardware: All OS: All Status: NEW Severity: normal Priority: P5 - low Component: Packaging Assignee: koha-bugs@lists.koha-community.org Reporter: magnus@enger.priv.no QA Contact: testopia@bugs.koha-community.org CC: robin@catalyst.net.nz koha-conf.xml files for instances created with the Debian packages are never updated/upgraded when the packages are updated. This results in lots of missing stuff in the config files over time. This seems to be the root of the problems I have reported in bug 12577. As an example an old instance has 21 lines i the <config> section, while a fresh instance has 30. Perhaps there could be a script that can - read an existing koha-conf.xml (and back it up) - generate a new file with the old values + placeholders or default values (or interactive questions?) for any missing values -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12584 --- Comment #1 from Magnus Enger <magnus@enger.priv.no> --- *** Bug 12577 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12584 M. Tompsett <mtompset@hotmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mtompset@hotmail.com -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12584 --- Comment #2 from M. Tompsett <mtompset@hotmail.com> --- The difficulty is knowing if things were added in a new version, pruned from the current version, or manually added to configure a particular feature. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12584 --- Comment #3 from Magnus Enger <magnus@enger.priv.no> --- Here's a quick and dirty script to update instances one by one, based on template config files. It might work for you if your configs are more or less identical except for instance names and passwords, and not full of per-instance tweaks: https://github.com/MagnusEnger/fix-koha-conf/ Please read the README (and the code) carefully before trying this! -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12584 Magnus Enger <magnus@enger.priv.no> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |http://bugs.koha-community. | |org/bugzilla3/show_bug.cgi? | |id=13396 -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12584 Tomás Cohen Arazi <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tomascohen@gmail.com --- Comment #4 from Tomás Cohen Arazi <tomascohen@gmail.com> --- (In reply to M. Tompsett from comment #2)
The difficulty is knowing if things were added in a new version, pruned from the current version, or manually added to configure a particular feature.
That's an example of why we should use the about page. W need to tell users to check there for info on possible problems. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12584 Martin Renvoize <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |martin.renvoize@ptfs-europe | |.com --- Comment #5 from Martin Renvoize <martin.renvoize@ptfs-europe.com> --- Is there not a debconf option we can use here.. I suppose because it's a per instance thing that may be challenging.. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org