[Bug 27355] New: Missing sip.enabledafter upgrade to 20.05.x
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27355 Bug ID: 27355 Summary: Missing sip.enabledafter upgrade to 20.05.x Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: SIP2 Assignee: koha-bugs@lists.koha-community.org Reporter: magnus@libriotech.no QA Contact: testopia@bugs.koha-community.org Bug 24340 introduced the file /var/lib/koha/<instance>/sip.enabled to keep track of whether a site has enabled SIP2 or not. But as far as I can tell, it did not do anything to create this file for existing sites that already had SIP2 enabled and running. After upgrading from 19.11.x to 20.05.06 "sudo koha-list --sip" tells me I have no sites with SIP2 enabled, but there should be 5 of them on the server in question. I also get this: $ sudo koha-sip --status mykoha [FAIL] SIP server not running for mykoha: failed! This is true. $ sudo koha-sip --start mykoha SIP is disabled, or you do not have a SIPconfig.xml file. SIP2 should be enabled, and there is a SIPconfig.xml present for the site in question. One solution is to do this: $ sudo touch /var/lib/koha/mykoha/sip.enabled And then this works: $ sudo koha-sip --start mykoha -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27355 Magnus Enger <magnus@libriotech.no> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Missing sip.enabledafter |Missing sip.enabled after |upgrade to 20.05.x |upgrade to 20.05.x -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27355 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|enhancement |minor -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27355 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|minor |normal CC| |jonathan.druart@bugs.koha-c | |ommunity.org Depends on| |24340 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24340 [Bug 24340] Add ability to disable SIP using koha-sip -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27355 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mtj@kohaaloha.com, | |tomascohen@gmail.com --- Comment #1 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Tomas, Mason, any ideas on how we could fix that? -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27355 --- Comment #2 from Tomás Cohen Arazi <tomascohen@gmail.com> --- Do we have a way to know what version are we upgrading from inside koha-common.postinst? Because the new behavior is that disabling means removing the file. So we need to detect upgrades from =<19.11 to fix this automatically on upgrade. Mason? -- 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