[Koha-bugs] [Bug 28911] Bcrypt settings are required for pseudonymization but are not set on upgrade
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Dec 1 05:45:17 CET 2022
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28911
--- Comment #7 from David Cook <dcook at prosentient.com.au> ---
Created attachment 144373
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=144373&action=edit
Example script for koha-conf.xml fixup
This is a script I did that uses a reference koha-conf.xml to update some
configuration, or just generates missing config (like bcrypt_settings -
including comments)
--
I don't think it's particularly robust, so I wouldn't rely on it. I wrote it
for a once-off point in time update.
But maybe it could inspire someone to write a koha-conf.xml upgrade tool.
That said, I don't love the idea of automatically upgrading koha-conf.xml. It
seems a bit dangerous. Although if a backup mechanism is used (like in my
script), then I suppose risk is less as you can always fall back.
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
More information about the Koha-bugs
mailing list