FastCGI sent in stderr: "Can't locate CGI/Emulate/PSGI.pm in @INC
Concerned version
Version: %X.X.X
Platform: (Nginx/Apache/Node.js) The platform used in :lemonldap-ng-controller I also just in case opened a bug here in github: Issue #5
Summary
I followed the documentation using generic install.
In order to modify the yaml file too much, I created a "ingress-nginx" namespace in my K8s cluster. I installed an instance of ingress-nginx using helm. I change the configmap and the deployment name in the yaml file.
I kept the "example.org" domain and tried to connect to http://manager.example.org I'm redirected to http://auth.example.org/?url=aHR0cDovL21hbmFnZXIuZXhhbXBsZS5vcmcv With an Internal Server Error.
GOAL: "Simply" install lemonldap-ng as a side container to NGINX-INGRESS controller and use the default File type backend and default domain example.org defined here.
Logs
Sorry for the short log, but this is only what I can get as I'm constrained in a very isolated VPN in my IaaS environment.
...
FastCGI sent in stderr: "Can't locate CGI/Emulate/PSGI.pm in @INC ...
...
Backends used
As a first approach, I only tried to use the default backend which is the "File" backend type.
Possible fixes
This error is characteristic from Perl not finding the right lib in the perl path. But as the script seems to be mature I was just wondering where we could find CGI/Emulate/PSGI.pm ? Adding modification is not so straightforward as we are using container so before completing the container I was justwondering is someting is missing ? In which package is included the file llng-fastcgi-server ?
In the container llng-ingress-controller, the file in path CGI/Emulate/PSGI.pm cannot be found but I don't see any explicit "perl require". (but my perl skills are limited)
Last but not least: Sorry if I opened a ticket in the wrong "forge" I opened a ticket in github first but troubleshooting steps led to llng-fastcgi-server that is in this repo;. :-) So apology.
Thanks for your potential help ! Frederic