lemonldap-ng issueshttps://gitlab.ow2.org/lemonldap-ng/lemonldap-ng/-/issues2024-03-27T11:25:29Zhttps://gitlab.ow2.org/lemonldap-ng/lemonldap-ng/-/issues/3082Debian packaging2024-03-27T11:25:29ZChristophe Maudouxchrmdx@gmail.comDebian packaging### Summary
I am not sure to well understand LL::NG packaging...
What is the purpose and difference between these files?
```
lemonldap-ng/lemonldap-ng-handler/eg/llng-server.psgi
lemonldap-ng/lemonldap-ng-common/eg/llng-app.psgi
lemon...### Summary
I am not sure to well understand LL::NG packaging...
What is the purpose and difference between these files?
```
lemonldap-ng/lemonldap-ng-handler/eg/llng-server.psgi
lemonldap-ng/lemonldap-ng-common/eg/llng-app.psgi
lemonldap-ng/fastcgi-server/psgi/llngapp.psgi
```
Futhermore, hook to load customHandler presents in files below:
```
lemonldap-ng/fastcgi-server/sbin/llng-fastcgi-server
lemonldap-ng/fastcgi-server/psgi/llngapp.psgi
```
is missing in file below:
```
lemonldap-ng/lemonldap-ng-handler/eg/llng-server.psgi
```
like the middleware to downgrade UTF8 is missing in
```
lemonldap-ng/fastcgi-server/psgi/llngapp.psgi
```
Last question, in LL::NG code, we refer to 'llng-fastcgi-server'
```
fastcgi-server/systemd/llng-fastcgi-server.service
```
But in Debian packaging we refer to 'lemonldap-ng-fastcgi-server'
```
lemonldap-ng/debian/lemonldap-ng-fastcgi-server.service
```
### Design proposition
It could be interesting to harmonize all theses files2.20.0Xavier BachelotXavier Bachelothttps://gitlab.ow2.org/lemonldap-ng/lemonldap-ng/-/issues/1845Provide some dependencies in a Debian "extras" reposititory2019-09-05T07:13:52ZClément OUDOTProvide some dependencies in a Debian "extras" reposititoryWe have an "extras" RPM repository for some dependencies (Lasso, Apache::Session::Browseable, ...)
We should have the same for Debian, as some dependencies are quite old in the official stable repository.We have an "extras" RPM repository for some dependencies (Lasso, Apache::Session::Browseable, ...)
We should have the same for Debian, as some dependencies are quite old in the official stable repository.In discussionClément OUDOTClément OUDOThttps://gitlab.ow2.org/lemonldap-ng/lemonldap-ng/-/issues/1817Unable to install on Debian if Apache2 is already installed2019-06-25T14:12:06ZClément OUDOTUnable to install on Debian if Apache2 is already installedWhen installing LL::NG packages on Debian, where apache2 is already installed, we have this error:
```
Job for nginx.service failed because the control process exited with error code.
See "systemctl status nginx.service" and "journalctl ...When installing LL::NG packages on Debian, where apache2 is already installed, we have this error:
```
Job for nginx.service failed because the control process exited with error code.
See "systemctl status nginx.service" and "journalctl -xe" for details.
invoke-rc.d: initscript nginx, action "start" failed.
● nginx.service - A high performance web server and a reverse proxy server
Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Tue 2019-06-25 15:40:46 CEST; 9ms ago
Docs: man:nginx(8)
Process: 6662 ExecStart=/usr/sbin/nginx -g daemon on; master_process on; (code=exited, status=1/FAILURE)
Process: 6660 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited, status=0/SUCCESS)
juin 25 15:40:44 pts2019 nginx[6662]: nginx: [emerg] listen() to [::]:80, backlog 511 failed (98: Address already in use)
juin 25 15:40:45 pts2019 nginx[6662]: nginx: [emerg] listen() to 0.0.0.0:80, backlog 511 failed (98: Address already in use)
juin 25 15:40:45 pts2019 nginx[6662]: nginx: [emerg] listen() to [::]:80, backlog 511 failed (98: Address already in use)
juin 25 15:40:45 pts2019 nginx[6662]: nginx: [emerg] listen() to 0.0.0.0:80, backlog 511 failed (98: Address already in use)
juin 25 15:40:45 pts2019 nginx[6662]: nginx: [emerg] listen() to [::]:80, backlog 511 failed (98: Address already in use)
juin 25 15:40:46 pts2019 nginx[6662]: nginx: [emerg] still could not bind()
juin 25 15:40:46 pts2019 systemd[1]: nginx.service: Control process exited, code=exited status=1
juin 25 15:40:46 pts2019 systemd[1]: Failed to start A high performance web server and a reverse proxy server.
juin 25 15:40:46 pts2019 systemd[1]: nginx.service: Unit entered failed state.
juin 25 15:40:46 pts2019 systemd[1]: nginx.service: Failed with result 'exit-code'.
dpkg: erreur de traitement du paquet nginx-extras (--configure) :
le sous-processus script post-installation installé a retourné une erreur de sortie d'état 1
...
Paramétrage de lemonldap-ng-fastcgi-server (2.0.4-1) ...
Created symlink /etc/systemd/system/llng-fastcgi-server.service → /lib/systemd/system/lemonldap-ng-fastcgi-server.service.
Created symlink /etc/systemd/system/multi-user.target.wants/lemonldap-ng-fastcgi-server.service → /lib/systemd/system/lemonldap-ng-fastcgi-server.service.
...
Des erreurs ont été rencontrées pendant l'exécution :
nginx-extras
E: Sub-process /usr/bin/dpkg returned an error code (1)
```
The nginx dependency should not be activated if apache2 is already installed.FAQ