Summary: | koha-conf.xml for package installations get out of sync | ||
---|---|---|---|
Product: | Koha | Reporter: | Magnus Enger <magnus> |
Component: | Packaging | Assignee: | Bugs List <koha-bugs> |
Status: | RESOLVED DUPLICATE | QA Contact: | Testopia <testopia> |
Severity: | normal | ||
Priority: | P5 - low | CC: | dcook, jonathan.druart, martin.renvoize, mtompset, robin, tomascohen |
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
See Also: | http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13396 | ||
GIT URL: | Change sponsored?: | --- | |
Patch complexity: | --- | Documentation contact: | |
Documentation submission: | Text to go in the release notes: | ||
Version(s) released in: | Circulation function: |
Description
Magnus Enger
2014-07-16 13:19:55 UTC
*** Bug 12577 has been marked as a duplicate of this bug. *** 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. 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! (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. Is there not a debconf option we can use here.. I suppose because it's a per instance thing that may be challenging.. Had it result been that long I've been out of the loop.. Did we ever f in nd the right deacons option.. Wondering if lars can point us in the right direction if this isn't already fixed? (In reply to Martin Renvoize from comment #6) > Had it result been that long I've been out of the loop.. Did we ever f in nd > the right deacons option.. Wondering if lars can point us in the right > direction if this isn't already fixed? I'm working on a rewrite of the instance handling code, that will move this to another file. We could discuss this on a dev meeting, or in Marseille. Better earlier. Here is another example. The <server> part of koha-conf.xml got drastically simplified by bug 9612 (in 2014): http://git.koha-community.org/gitweb/?p=koha.git;a=blobdiff;f=etc/koha-conf.xml;h=26f53b729d11936e2f5488c5dfb13ca043540856;hp=72da2de9f8db9c279f72f917b7e4f414248fe094;hb=67abcc64433ba945416c7c8e8bf8aecc8c932f14;hpb=036f2a50e11dab97ef8509f2f585c4cc407ea728 But this was never carried over to debian/templates/koha-conf-site.xml.in: http://git.koha-community.org/gitweb/?p=koha.git;a=blob;f=debian/templates/koha-conf-site.xml.in;h=7f13c6411530615fbe7867b2ccc71ef97bd728c9;hb=HEAD |