[Bug 41102] New: Error 500 on the "About" page when biblioserver Zebra configuration is missing
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41102 Bug ID: 41102 Summary: Error 500 on the "About" page when biblioserver Zebra configuration is missing Initiative type: --- Sponsorship --- status: Product: Koha Version: Main Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: About Assignee: koha-bugs@lists.koha-community.org Reporter: hammat.wele@inlibro.com QA Contact: testopia@bugs.koha-community.org When either the <listen id="biblioserver"> entry or the <server id="biblioserver" listenref="biblioserver"> section is not present in koha-conf.xml, the Intranet > About page triggers a 500 Internal Server Error. To test: 1. Edit koha-conf.xml and Comment out: <!--<listen id="biblioserver">unix:/path/to/zebradb/bibliosocket</listen>--> 2. Restart Apache: sudo systemctl restart apache2 3. Go to Intranet -> About ==> Internal Server Error (500) 4. Now restore the <listen> line and instead comment out the entire <server id="biblioserver" listenref="biblioserver">...</server> block. 5. Repeat step 2, 3 ==> Internal Server Error (500) -- 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=41102 Hammat wele <hammat.wele@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|koha-bugs@lists.koha-commun |hammat.wele@inlibro.com |ity.org | -- 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=41102 Hammat wele <hammat.wele@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |caroline.cyr-la-rose@inlibr | |o.com, | |philippe.blouin@inlibro.com -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41102 --- Comment #1 from Hammat wele <hammat.wele@inlibro.com> --- Created attachment 188435 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=188435&action=edit Bug 41102: Error 500 on the About page when biblioserver Zebra configuration is missing When either the <listen id=biblioserver> entry or the <server id=biblioserver listenref=biblioserver> section is not present in koha-conf.xml, the Intranet > About page triggers a 500 Internal Server Error. To test: 2. Restart Apache: sudo systemctl restart apache2 3. Go to Intranet -> About ==> Internal Server Error (500) 4. Now restore the <listen> line and instead comment out the entire <server id=biblioserver listenref=biblioserver>...</server> block. 5. Repeat step 2, 3 ==> Internal Server Error (500) 6. Apply the patch 7. Repeat step 2, 3 ==> There is no Error (500) 8. Uncomment <server id=biblioserver listenref=biblioserver> </server> and Repeat Step 1 9. Repeat step 2, 3 ==> There is no Error (500) -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41102 Blou <philippe.blouin@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |Needs Signoff -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41102 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Signed Off -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41102 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #188435|0 |1 is obsolete| | --- Comment #2 from David Nind <david@davidnind.com> --- Created attachment 190317 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=190317&action=edit Bug 41102: Error 500 on the About page when biblioserver Zebra configuration is missing When either the <listen id=biblioserver> entry or the <server id=biblioserver listenref=biblioserver> section is not present in koha-conf.xml, the Staff interface > About page triggers a 500 Internal Server Error. Test plan: 1. Edit koha-conf.xml and Comment out: <!--<listen id="biblioserver">unix:/path/to/zebradb/bibliosocket</listen>--> 2. Restart Apache: sudo systemctl restart apache2 (or restart_all) 3. Go to Intranet > About ==> Internal Server Error (500) 4. Now restore the <listen> line and instead comment out the entire <server id=biblioserver listenref=biblioserver>...</server> block. (Note that the commenting around <!-- The stuff below is used to enable SRU... interferes with adding a closing comment after </server> - close the comment before that section and add a comment around </server>.) 5. Repeat step 2, 3 ==> Internal Server Error (500) 6. Apply the patch 7. Repeat step 2, 3 ==> There is no Error (500) Note: Zebra status: Error message from Zebra: 10004 8. Uncomment <server id=biblioserver listenref=biblioserver> </server> and Repeat Step 1 9. Repeat step 2, 3 ==> There is no Error (500) Note: Zebra status: Zebra server seems not to be available. Is it started? Signed-off-by: David Nind <you@example.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41102 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #190317|0 |1 is obsolete| | --- Comment #3 from David Nind <david@davidnind.com> --- Created attachment 190318 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=190318&action=edit Bug 41102: Error 500 on the About page when biblioserver Zebra configuration is missing When either the <listen id=biblioserver> entry or the <server id=biblioserver listenref=biblioserver> section is not present in koha-conf.xml, the Staff interface > About page triggers a 500 Internal Server Error. Test plan: 1. Edit koha-conf.xml and Comment out: <!--<listen id="biblioserver">unix:/path/to/zebradb/bibliosocket</listen>--> 2. Restart Apache: sudo systemctl restart apache2 (or restart_all) 3. Go to Intranet > About ==> Internal Server Error (500) 4. Now restore the <listen> line and instead comment out the entire <server id=biblioserver listenref=biblioserver>...</server> block. (Note that the commenting around <!-- The stuff below is used to enable SRU... interferes with adding a closing comment after </server> - close the comment before that section and add a comment around </server>.) 5. Repeat step 2, 3 ==> Internal Server Error (500) 6. Apply the patch 7. Repeat step 2, 3 ==> There is no Error (500) Note: Zebra status: Error message from Zebra: 10004 8. Uncomment <server id=biblioserver listenref=biblioserver> </server> and Repeat Step 1 9. Repeat step 2, 3 ==> There is no Error (500) Note: Zebra status: Zebra server seems not to be available. Is it started? Signed-off-by: David Nind <david@davidnind.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41102 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|enhancement |normal CC| |david@davidnind.com Text to go in the| |This fixes the About Koha release notes| |page when Zebra is not | |running or not correctly | |configured in the Koha | |instance's koha-conf.xml | |file. Instead of a 500 | |error when you access the | |page, there is now a | |message in the server | |information tab for Zebra's | |status, such as "Zebra | |server seems not to be | |available. Is it started?". --- Comment #4 from David Nind <david@davidnind.com> --- I amended the commit message as the first step was missing (although it was in the comment). I also updated step 4, as this caused issues 8-) Possibly requiring a change somewhere else, but the message on the about page when the <server id=biblioserver listenref=biblioserver> is commented out is: Zebra status: Error message from Zebra: 10004 Is it possible to add a human-readable message, rather than a code? I also changed it from an enhancement to normal, as it is something that isn't working as it should. (Also, my sign-off was incorrect, so I updated it and reattached the patch.) -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41102 Andrew Fuerste-Henry <andrew@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |andrew@bywatersolutions.com QA Contact|testopia@bugs.koha-communit |andrew@bywatersolutions.com |y.org | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41102 Andrew Fuerste-Henry <andrew@bywatersolutions.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=41102 Andrew Fuerste-Henry <andrew@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #190318|0 |1 is obsolete| | --- Comment #5 from Andrew Fuerste-Henry <andrew@bywatersolutions.com> --- Created attachment 191192 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=191192&action=edit Bug 41102: Error 500 on the About page when biblioserver Zebra configuration is missing When either the <listen id=biblioserver> entry or the <server id=biblioserver listenref=biblioserver> section is not present in koha-conf.xml, the Staff interface > About page triggers a 500 Internal Server Error. Test plan: 1. Edit koha-conf.xml and Comment out: <!--<listen id="biblioserver">unix:/path/to/zebradb/bibliosocket</listen>--> 2. Restart Apache: sudo systemctl restart apache2 (or restart_all) 3. Go to Intranet > About ==> Internal Server Error (500) 4. Now restore the <listen> line and instead comment out the entire <server id=biblioserver listenref=biblioserver>...</server> block. (Note that the commenting around <!-- The stuff below is used to enable SRU... interferes with adding a closing comment after </server> - close the comment before that section and add a comment around </server>.) 5. Repeat step 2, 3 ==> Internal Server Error (500) 6. Apply the patch 7. Repeat step 2, 3 ==> There is no Error (500) Note: Zebra status: Error message from Zebra: 10004 8. Uncomment <server id=biblioserver listenref=biblioserver> </server> and Repeat Step 1 9. Repeat step 2, 3 ==> There is no Error (500) Note: Zebra status: Zebra server seems not to be available. Is it started? Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Andrew Fuerste Henry <andrew@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41102 David Cook <dcook@prosentient.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dcook@prosentient.com.au -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41102 Lucas Gass (lukeg) <lucas@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Version(s)| |26.05.00 released in| | Status|Passed QA |Pushed to main -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41102 --- Comment #6 from Lucas Gass (lukeg) <lucas@bywatersolutions.com> --- Nice work everyone! Pushed to main for 26.05 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41102 Chloé Zermatten <chloe.zermatten@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Version(s)|26.05.00 |26.05.00,25.11.02 released in| | Status|Pushed to main |Pushed to stable -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41102 --- Comment #7 from Chloé Zermatten <chloe.zermatten@openfifth.co.uk> --- All pushed to 25.11.x Thanks all! -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org