[Bug 29964] New: SMTP server list not populating
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29964 Bug ID: 29964 Summary: SMTP server list not populating Change sponsored?: --- Product: Koha Version: 21.11 Hardware: All OS: Linux Status: NEW Severity: critical Priority: P5 - low Component: System Administration Assignee: koha-bugs@lists.koha-community.org Reporter: fv@spots.school QA Contact: testopia@bugs.koha-community.org CC: gmcharlt@gmail.com Created attachment 129917 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=129917&action=edit screenshot of SMTP server page After adding an SMTP server to Koha it does not show in the list. Therefore it cannot be chosen, edited, etc. (Mac Chromium-based browser) -- 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=29964 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=29964 --- Comment #1 from Owen Leonard <oleonard@myacpl.org> --- I don't see this problem in master or 21.11.x, which makes me think this is probably a local problem. Are there any errors in the browser console? -- 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=29964 Fridolin Somers <fridolin.somers@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fridolin.somers@biblibre.co | |m --- Comment #2 from Fridolin Somers <fridolin.somers@biblibre.com> --- Can you try with Mozilla Firefox please ? -- 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=29964 --- Comment #3 from Father Vlasie <fv@spots.school> --- Thank you for looking at this issue! It does not work in Firefox either... The browser console contains these messages: /api/v1/config/smtp_servers?_page=1&_per_page=20&q=%5B%5D&_match=contains&_order_by=%2Bme.name:1 Failed to load resource: the server responded with a status of 404 (Not Found) datatables_21.1101000.js:515 DataTables warning: table id=smtp_servers - Ajax error. For more information about this error, please see http://datatables.net/tn/7 jQuery.fn.dataTable.ext.errMode @ datatables_21.1101000.js:515 K @ datatables.min_21.1101000.js:113 error @ datatables.min_21.1101000.js:74 i @ jquery-2.2.3.min_21.1101000.js:2 fireWith @ jquery-2.2.3.min_21.1101000.js:2 z @ jquery-2.2.3.min_21.1101000.js:4 (anonymous) @ jquery-2.2.3.min_21.1101000.js:4 -- 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=29964 --- Comment #4 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Hi, could you check if the list of libraries loads ok for you? This is also done via the API so just to check that this part works ok in your installation. -- 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=29964 --- Comment #5 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Should be more specific: Administration > libraries -- 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=29964 --- Comment #6 from Father Vlasie <fv@spots.school> --- Aha! No the library list does not load! -- 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=29964 --- Comment #7 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- (In reply to Father Vlasie from comment #6)
Aha! No the library list does not load!
I've seen this problem come up a few times now but still not quite sure about what the fix was :( Someone else might be able to help you here better, but I remember it had to do with OS version and dependencies. So what OS and version of it are you running Koha on? -- 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=29964 --- Comment #8 from Father Vlasie <fv@spots.school> --- uname -a says #1 SMP Debian 4.9.290-1 (2021-12-12) x86_64 GNU/Linux And About Koha says 21.11.01.000 I just checked and some of my Perl modules need upgrading: JSON::Validator (3.14) 0.97 Mojolicious (8.12) 7.21 Mojolicious::Plugin::OpenAPI (2.16) 1.15 Could this be it? -- 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=29964 Jonathan Druart <jonathan.druart+koha@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jonathan.druart+koha@gmail. | |com --- Comment #9 from Jonathan Druart <jonathan.druart+koha@gmail.com> --- (In reply to Father Vlasie from comment #8)
uname -a says
#1 SMP Debian 4.9.290-1 (2021-12-12) x86_64 GNU/Linux
And About Koha says
21.11.01.000
I just checked and some of my Perl modules need upgrading:
JSON::Validator (3.14) 0.97 Mojolicious (8.12) 7.21 Mojolicious::Plugin::OpenAPI (2.16) 1.15
Could this be it?
Yes, upgrade them. Which OS do you have? -- 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=29964 Jonathan Druart <jonathan.druart+koha@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.koha-community | |.org/bugzilla3/show_bug.cgi | |?id=26893 -- 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=29964 --- Comment #10 from Jonathan Druart <jonathan.druart+koha@gmail.com> --- And post what you have in /etc/apt/sources.list.d/koha.list -- 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=29964 --- Comment #11 from Katrin Fischer <katrin.fischer@bsz-bw.de> ---
From the uname... Debian 9 perhaps? Could you confirm?
-- 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=29964 --- Comment #12 from Father Vlasie <fv@spots.school> --- Yes it is Debian 9. -- 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=29964 --- Comment #13 from Father Vlasie <fv@spots.school> --- less /etc/apt/sources.list.d/koha.list contains: deb http://debian.koha-community.org/koha stable main -- 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=29964 --- Comment #14 from Father Vlasie <fv@spots.school> --- And I have installed the missing Perl modules but the problem persists... -- 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=29964 --- Comment #15 from Jonathan Druart <jonathan.druart+koha@gmail.com> --- Try: deb http://debian.koha-community.org/koha stable main jessie then apt update; apt upgrade -- 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=29964 Tomás Cohen Arazi <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tomascohen@gmail.com --- Comment #16 from Tomás Cohen Arazi <tomascohen@gmail.com> --- (In reply to Jonathan Druart from comment #15)
Try: deb http://debian.koha-community.org/koha stable main jessie
then apt update; apt upgrade
That should be: deb http://debian.koha-community.org/koha stable main stretch Keep in mind that Debian 9 will be EOL in June. -- 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=29964 --- Comment #17 from Jonathan Druart <jonathan.druart+koha@gmail.com> --- Oops yes, jessie is Debian 8! -- 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=29964 --- Comment #18 from Father Vlasie <fv@spots.school> --- It is a good thing I was busy! :) I was not so excited about downgrading... I will try this over the weekend. Thank you everyone! -- 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=29964 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|critical |normal --- Comment #19 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Just downgrading importance a little bit as I think we are up against an installation issue here. -- 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=29964 Manos PETRIDIS <egpetridis@yahoo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |egpetridis@yahoo.com --- Comment #20 from Manos PETRIDIS <egpetridis@yahoo.com> --- Could it be related to https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28800 ? -- 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=29964 --- Comment #21 from Manos PETRIDIS <egpetridis@yahoo.com> --- Could it be related to https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28800 ? -- 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=29964 --- Comment #22 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- (In reply to Manos PETRIDIS from comment #21)
Could it be related to https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28800 ?
It is related in terms of missing dependencies/wrong versions etc. The suggested fix will hopefully solve the issue. -- 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=29964 --- Comment #23 from Father Vlasie <fv@spots.school> --- Sorry for the delay! I tried the fix of updating /etc/apt/sources.list.d/koha.list to deb http://debian.koha-community.org/koha stable main stretch But the problem persists! :( -- 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=29964 --- Comment #24 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- (In reply to Father Vlasie from comment #23)
Sorry for the delay! I tried the fix of updating /etc/apt/sources.list.d/koha.list to deb http://debian.koha-community.org/koha stable main stretch
But the problem persists! :(
Did anything happen/change when you ran apt update; apt upgrade ? -- 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=29964 --- Comment #25 from Father Vlasie <fv@spots.school> --- Created attachment 131508 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=131508&action=edit apt history -- 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=29964 --- Comment #26 from Father Vlasie <fv@spots.school> --- I have attached the apt history which shows what changed. -- 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=29964 --- Comment #27 from Jonathan Druart <jonathan.druart+koha@gmail.com> --- Did you restart all the things (memcached, apache2, koha-common)? Please post the versions of the following packages: JSON::Validator, Mojolicious, Mojolicious::Plugin::OpenAPI Do you get an error in the koha logs? -- 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=29964 --- Comment #28 from Father Vlasie <fv@spots.school> --- Yes I have restarted the whole server. JSON::Validator (3.14) 5.05 Mojolicious (8.12) 9.22 Mojolicious::Plugin::OpenAPI (2.16) 5.02 The api-error.log is empty. Thank you! -- 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=29964 --- Comment #29 from Tomás Cohen Arazi <tomascohen@gmail.com> --- (In reply to Father Vlasie from comment #28)
Yes I have restarted the whole server.
JSON::Validator (3.14) 5.05 Mojolicious (8.12) 9.22 Mojolicious::Plugin::OpenAPI (2.16) 5.02
The api-error.log is empty.
Thank you!
XD That's not gonna work, see bug 30194. This is how it should look like: root@kohadevbox:koha(master)$ pmvers Mojolicious 8.12 root@kohadevbox:koha(master)$ pmvers JSON::Validator 3.14 root@kohadevbox:koha(master)$ pmvers Mojolicious::Plugin::OpenAPI 2.16 -- 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=29964 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.koha-community | |.org/bugzilla3/show_bug.cgi | |?id=30347 -- 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=29964 --- Comment #30 from Tomás Cohen Arazi <tomascohen@gmail.com> --- (In reply to Father Vlasie from comment #28)
Yes I have restarted the whole server.
JSON::Validator (3.14) 5.05 Mojolicious (8.12) 9.22 Mojolicious::Plugin::OpenAPI (2.16) 5.02
The api-error.log is empty.
Thank you!
You need to remove the libraries you manually installed using cpanm now that the right ones are pulled from the updated repository (i.e. now you added the stretch keyword) -- 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=29964 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.koha-community | |.org/bugzilla3/show_bug.cgi | |?id=30371 -- 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=29964 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |INVALID Status|NEW |RESOLVED --- Comment #31 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- This is an installation/setup issue, please see: https://wiki.koha-community.org/wiki/REST_API_Debug -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org