Summary: | Google OpenId Connect Internal server error | ||
---|---|---|---|
Product: | Koha | Reporter: | Claudio Costales <costalc> |
Component: | Authentication | Assignee: | Bugs List <koha-bugs> |
Status: | RESOLVED DUPLICATE | QA Contact: | Testopia <testopia> |
Severity: | critical | ||
Priority: | P1 - high | CC: | dpavlin, jonathan.druart |
Version: | 18.11 | ||
Hardware: | All | ||
OS: | All | ||
See Also: | https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22717 | ||
Change sponsored?: | --- | Patch complexity: | --- |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: | ||
Circulation function: | |||
Attachments: |
OpenID connect internal server error
OpenID Internal Server Error EDS |
Description
Claudio Costales
2019-04-25 19:48:24 UTC
Created attachment 88815 [details]
OpenID connect internal server error
Google OpenID Connect sysprefs configuration.
No error with existing patrons. This occurs when patrons are created automatically, i.e., when GoogleOpenIDConnectAutoRegister is set to "Allow". Thers's no Koha logs' useful information Created attachment 88919 [details]
OpenID Internal Server Error
Hello Claudio, If there is a 500 error you might have an error in the log. It would help a lot to have it. Jonathan, hope this helps: /var/log/koha/INSTANCE/plack-error,log ======================================================== Can't locate Koha/Plugin/EDS in @INC (@INC contains: /usr/share/koha/lib /usr/share/koha/installer /usr/share/koha/lib/installer /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.20.2 /usr/local/share/perl/5.20.2 /usr/lib/x86$ Attempt to reload Koha/Plugin/EDS.pm aborted. Compilation failed in require at /usr/share/perl/5.20/Module/Load.pm line 77. Can't locate Koha/Plugin/EDS in @INC (@INC contains: /usr/share/koha/lib /usr/share/koha/installer /usr/share/koha/lib/installer /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.20.2 /usr/local/share/perl/5.20.2 /usr/lib/x86$ Do you use the EDS plugin? No Jonathan, I do not use EDS plugin. Could you test the patch I have added on bug 22717? It fails, same error. Plack-error.log in other customer: Use of uninitialized value in string ne at /usr/share/koha/opac/cgi-bin/opac/svc/auth/googleopenidconnect line 102. The error you got before was about the EDS plugin, you may have installed it at some point. Created attachment 88975 [details]
EDS
Jonathan, look at the file attached. There's an EDS directory in koha/plugins since 2016! But Koha backoffice says that there's no EDS plugin installed.
I do not know what to do. How can I uninstall EDS? Simply delete it? Probably it was for a test, but do not need it now...
In the second customer plugin directoy is empty. Jonathan, please discard comments 6, 11 and 13. From my point of view the problem is not linked to plugin system. I have two istallation of Koha in two differents servers. One has plugin system enabled (which echoes EDS issue) and one has plugin system disabled. So I disabled the plugin system in the first and could reproduce the same error in both installations: PLACK-ERROR.LOG Can't use string ("firstname") as a HASH ref while "strict refs" in use at /usr/share/koha/lib/Koha/Object.pm line 69. |