[Bug 22915] New: Cannot subscribe to Mana-KB
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22915 Bug ID: 22915 Summary: Cannot subscribe to Mana-KB Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: Mana-kb Assignee: koha-bugs@lists.koha-community.org Reporter: martin.renvoize@ptfs-europe.com Target Milestone: --- On entering my details into the initial setup screen I am faced with the following errors and do not receive the email described. malformed JSON string, neither tag, array, object, number, string or atom, at character offset 0 (before "<html>\r\n<head><tit...") at /usr/share/perl5/JSON.pm line 171. -- 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=22915 Martin Renvoize <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|enhancement |blocker Priority|P5 - low |P1 - high Target Milestone|--- |19.05 -- 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=22915 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |alex.arnaud@biblibre.com, | |katrin.fischer@bsz-bw.de, | |paul.poulain@biblibre.com -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22915 Brendan Gallagher <brendan@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |brendan@bywatersolutions.co | |m --- Comment #1 from Brendan Gallagher <brendan@bywatersolutions.com> --- Hey Martin - I just tried this out and it worked for me. I did not receive that message. -- 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=22915 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jonathan.druart@bugs.koha-c | |ommunity.org --- Comment #2 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Looks ok for me as well, however on the confirmation screen, I get: Following information will be registered: First Name: Last Name: E-Mail: (all empty) https://ui.mana-kb.koha-community.org/registration?id=XXX Then I confirm and get: Error: seems like the token you try to activate (XXX) doesn't exist or is to old -- 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=22915 --- Comment #3 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Hi Jonathan, that's the same I got when testing bug 22210. Did you change your settings to test with the production server? -- 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=22915 --- Comment #4 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- (In reply to Katrin Fischer from comment #3)
Hi Jonathan, that's the same I got when testing bug 22210. Did you change your settings to test with the production server?
Nope, I was expecting prod and test to behave identically :) -- 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=22915 --- Comment #5 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- (In reply to Jonathan Druart from comment #4)
(In reply to Katrin Fischer from comment #3)
Hi Jonathan, that's the same I got when testing bug 22210. Did you change your settings to test with the production server?
Nope, I was expecting prod and test to behave identically :)
They don't because of the organisational sign-up bug 22210. -- 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=22915 --- Comment #6 from Paul Poulain <paul.poulain@biblibre.com> --- Regarding the "token does not exist" comment : The problem probably comes from the production & test server : until recently there was only one, even we the 2 URLs existed. We've splitted them when the patch has been pushed. Thus, a token created on prod is no more known by test (and vice-versa). I'll ask Alex to have a look at it asap (he's in holiday for now) Regarding the initial description, sorry martin, no idea :( -- 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=22915 --- Comment #7 from Martin Renvoize <martin.renvoize@ptfs-europe.com> --- Perhaps I happened to hit the feature when the Mana server was down or something? -- 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=22915 --- Comment #8 from Martin Renvoize <martin.renvoize@ptfs-europe.com> --- Created attachment 90304 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=90304&action=edit Error Afraid I do still see this error.. attaching a screenshot -- 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=22915 --- Comment #9 from Alex Arnaud <alex.arnaud@biblibre.com> --- (In reply to Martin Renvoize from comment #8)
Created attachment 90304 [details] Error
Afraid I do still see this error.. attaching a screenshot
Martin, URL is https://mana-kb... Not http://mana-kb. switching to https should solve your problem. -- 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=22915 --- Comment #10 from Alex Arnaud <alex.arnaud@biblibre.com> --- (In reply to Jonathan Druart from comment #2)
Looks ok for me as well, however on the confirmation screen, I get:
Following information will be registered: First Name: Last Name: E-Mail:
(all empty)
https://ui.mana-kb.koha-community.org/registration?id=XXX
Then I confirm and get:
Error: seems like the token you try to activate (XXX) doesn't exist or is to old
All ok for me. Nothing empty and i get this confirmation message: "E-mail successfuly validated, token xxxx is now active." (on production server) -- 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=22915 --- Comment #11 from Alex Arnaud <alex.arnaud@biblibre.com> --- (In reply to Alex Arnaud from comment #10)
(In reply to Jonathan Druart from comment #2)
Looks ok for me as well, however on the confirmation screen, I get:
Following information will be registered: First Name: Last Name: E-Mail:
(all empty)
https://ui.mana-kb.koha-community.org/registration?id=XXX
Then I confirm and get:
Error: seems like the token you try to activate (XXX) doesn't exist or is to old
All ok for me. Nothing empty and i get this confirmation message: "E-mail successfuly validated, token xxxx is now active."
(on production server)
I got it! Mana test server was set up with production URL. So you was registering on test and try to confirm it on production one (thx Katrin for the catch). -- 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=22915 --- Comment #12 from Martin Renvoize <martin.renvoize@ptfs-europe.com> --- Aha, excellent.. it sounds like you found the issue.. I'll have a quick test and report back. -- 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=22915 --- Comment #13 from Martin Renvoize <martin.renvoize@ptfs-europe.com> --- Right.. so it does work now as long as I change koha-conf to point to the https URL. However.. I do still think there's a couple of bugs here. Firstly: looking at master, 'etc/koha-conf.xml' which is used as part of the make process still points to 'http' so by default people using the make process to install will be getting an incorrect default config. Secondly: The error here is meaningless.. we should be able to catch a bad URL earlier and give a much more meaningful error.. I wasn't sure whether it was the Mana service that was down, a Koha end bug or what. -- 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=22915 --- Comment #14 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Is there a reason we have the URL in koha-conf.xml? It might be nice to store it in a pref. But I might be missing something. -- 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=22915 --- Comment #15 from Alex Arnaud <alex.arnaud@biblibre.com> --- Created attachment 90409 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=90409&action=edit Bug 22915: fix Mana URL in etc/koha-conf.xml -- 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=22915 --- Comment #16 from Alex Arnaud <alex.arnaud@biblibre.com> --- (In reply to Katrin Fischer from comment #14)
Is there a reason we have the URL in koha-conf.xml? It might be nice to store it in a pref. But I might be missing something.
1) IMO for consistency. All external backends/services URI are defined in koha-conf.xml (elasticsearch, pazpar2 etc...). 2) To prevent an other system preference :) -- 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=22915 --- Comment #17 from Alex Arnaud <alex.arnaud@biblibre.com> --- (In reply to Martin Renvoize from comment #13)
Right.. so it does work now as long as I change koha-conf to point to the https URL.
However.. I do still think there's a couple of bugs here.
Firstly: looking at master, 'etc/koha-conf.xml' which is used as part of the make process still points to 'http' so by default people using the make process to install will be getting an incorrect default config. Fixed in the attached patch
Secondly: The error here is meaningless.. we should be able to catch a bad URL earlier and give a much more meaningful error.. I wasn't sure whether it was the Mana service that was down, a Koha end bug or what. Not a blocker for me. This can be done in a separate BZ
-- 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=22915 Alex Arnaud <alex.arnaud@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |Needs Signoff Assignee|koha-bugs@lists.koha-commun |alex.arnaud@biblibre.com |ity.org | -- 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=22915 --- Comment #18 from Martin Renvoize <martin.renvoize@ptfs-europe.com> --- Thanks Alex, I'm game with that, the /etc/ fix is nice to have here and I'm not worried about it staying in koha-conf for now... (if we do end up with lots of mana servers hosted by the various support companies, my opinion on it being converted to a pref may change). Also happy to have a nicer fix for the error message done in a distinct bug. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22915 Martin Renvoize <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Signed Off Patch complexity|--- |String patch --- Comment #19 from Martin Renvoize <martin.renvoize@ptfs-europe.com> --- As a string patch I'm going to go straight for PQA here and push it :) -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22915 Martin Renvoize <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |Passed QA -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22915 Martin Renvoize <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #90409|0 |1 is obsolete| | --- Comment #20 from Martin Renvoize <martin.renvoize@ptfs-europe.com> --- Created attachment 90410 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=90410&action=edit Bug 22915: fix Mana URL in etc/koha-conf.xml Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22915 Martin Renvoize <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Passed QA |Pushed to Master Version(s)| |19.11.00 released in| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22915 --- Comment #21 from Martin Renvoize <martin.renvoize@ptfs-europe.com> --- Nice work! Pushed to master for 19.11.00 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22915 Martin Renvoize <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.koha-community | |.org/bugzilla3/show_bug.cgi | |?id=23075 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22915 Fridolin SOMERS <fridolin.somers@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Pushed to Master |Pushed to Stable CC| |fridolin.somers@biblibre.co | |m Version(s)|19.11.00 |19.11.00,19.05.01 released in| | --- Comment #22 from Fridolin SOMERS <fridolin.somers@biblibre.com> --- Pushed to 19.05.x for 19.05.01 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22915 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Text to go in the| |This fix updates the Mana release notes| |server URL in | |etc/koha-conf.xml so that | |it uses the correct URL - | |https://mana-kb.koha-commun | |ity.org. CC| |david@davidnind.com -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org