1

Topic: 1.6.6 Debian 12 Nginx 1.24 problems

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release):
- Deployed with iRedMail Easy or the downloadable installer?
- Linux/BSD distribution name and version:
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Web server (Apache or Nginx):
- Manage mail accounts with iRedAdmin-Pro?
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
Version 1.6.6 fresh install
deployed downloadable installer Debian 12
not getting to backed (will be mysql) webserver Nginx (problem) Iredadmin

installed Nginx via debian apt, installs 1.24 IredMail tries to add Nginx Extras, it does NOT like that:

The following packages have unmet dependencies:
nginx-extras : Depends: nginx (= 1.22.1-9) but 1.24.0-1~bookworm is to be installed
                Depends: libnginx-mod-http-geoip (= 1.22.1-9) but it is not going to be installed
                Depends: libnginx-mod-http-image-filter (= 1.22.1-9) but it is not going to be installed
                Depends: libnginx-mod-http-perl (= 1.22.1-9) but it is not going to be installed
                Depends: libnginx-mod-http-xslt-filter (= 1.22.1-9) but it is not going to be installed
                Depends: libnginx-mod-mail (= 1.22.1-9) but it is not going to be installed
                Depends: libnginx-mod-stream (= 1.22.1-9) but it is not going to be installed
                Depends: libnginx-mod-stream-geoip (= 1.22.1-9) but it is not going to be installed
                Depends: libnginx-mod-http-auth-pam (>= 1:1.5.3-3~) but it is not going to be installed
                Depends: libnginx-mod-http-cache-purge (>= 1:2.3-4~) but it is not going to be installed
                Depends: libnginx-mod-http-dav-ext (>= 1:3.0.0-3~) but it is not going to be installed
                Depends: libnginx-mod-http-echo (>= 1:0.63-4~) but it is not going to be installed
                Depends: libnginx-mod-http-fancyindex (>= 1:0.5.2-3~) but it is not going to be installed
                Depends: libnginx-mod-http-geoip2 (>= 1:3.4-3~) but it is not going to be installed
                Depends: libnginx-mod-http-headers-more-filter (>= 1:0.34-3~) but it is not going to be installed
                Depends: libnginx-mod-http-lua (>= 1:0.10.23-1~) but it is not going to be installed
                Depends: libnginx-mod-http-subs-filter (>= 1:0.6.4-4~) but it is not going to be installed
                Depends: libnginx-mod-http-uploadprogress (>= 1:0.9.2-3~) but it is not going to be installed
                Depends: libnginx-mod-http-upstream-fair (>= 1:0.0~git20120408.a18b409-3~) but it is not going to be installed
                Depends: libnginx-mod-nchan (>= 1:1.3.6+dfsg-2~) but it is not going to be installed
                Depends: libnginx-mod-stream-geoip2 (>= 1:3.4-3~) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

tried a lot. but keep coming back to this.

any idea where i go wrong (though running installer)

thanks !!

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: 1.6.6 Debian 12 Nginx 1.24 problems

https://packages.debian.org/de/bookworm/nginx-extras

Bookworm uses 1.22.1-9

https://packages.debian.org/de/source/bookworm/nginx

Bookworm uses 1.22.1-9

I have no idea why it even considers installing 1.24.0

you said you installed nginx via apt, why you did that?

3

Re: 1.6.6 Debian 12 Nginx 1.24 problems

Update:

try:

sudo wget https://nginx.org/keys/nginx_signing.key  && sudo apt-key add nginx_signing.key

add to sources.list or create a own list:

deb https://nginx.org/packages/mainline/debian/ bookworm nginx
deb-src https://nginx.org/packages/mainline/debian bookworm nginx

apt-get update

try to reinstall

4

Re: 1.6.6 Debian 12 Nginx 1.24 problems

tried; purge and remove nginx, reboot, the run the bash for iRedMail:  See attached,  konks out
( tried installing via apt because it did this )

Post's attachments

nginxerr.txt 5.2 kb, 2 downloads since 2023-11-03 

You don't have the permssions to download the attachments of this post.

5

Re: 1.6.6 Debian 12 Nginx 1.24 problems

Could not reproduce
what way was debian installed?

6

Re: 1.6.6 Debian 12 Nginx 1.24 problems

USB;

it's a brand new install with PHP8.2 and MySql Ver 15.1 Distrib 10.11.4-MariaDB

Linux Fairview 6.1.0-13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.55-1 (2023-09-29) x86_64

7

Re: 1.6.6 Debian 12 Nginx 1.24 problems

the install bash (iRedMail.sh) call for nginx-full, this results in downloading; (see attachment)
Depends: nginx (< 1.22.1-9.1~) but 1.25.3-1~bookworm is to be installed

this is using the bash, nothing else

Post's attachments

nginx-prob.txt 5.22 kb, 1 downloads since 2023-11-03 

You don't have the permssions to download the attachments of this post.

8

Re: 1.6.6 Debian 12 Nginx 1.24 problems

Congratulations, mail server setup completed successfully. Please
* read below file for more information:

i changed packages.sh; ALL_PKGS="${ALL_PKGS} nginx-full"  into ALL_PKGS="${ALL_PKGS} nginx"

install ran through in one go after that.

Thank you very much for your help! it's appreciated greatly

9

Re: 1.6.6 Debian 12 Nginx 1.24 problems

then you installed a iso which had stuff preinstalled, this is not called a clean system

10 (edited by able1 2023-11-04 18:15:22)

Re: 1.6.6 Debian 12 Nginx 1.24 problems

OF course this was a bloated version! WITH PRE-INSTALLS! </sarcasm>

did you miss "Install USB" (hence light) and I added php and mariadb
I'm sorry if you need to feel superior, you answered and thx to my reply to you I found out what was wrong, the fact that Debian renamed the package.

BTW it was also a brand new server, dual Xeon Gold 18c with 16TB raid10 and 256Gb RAM

Not my first Deb install, not my first Linux install and what is or is not a clean install is your prerogative to get wrong.

I still thank you for your effort.

11 (edited by GerryM 2023-11-08 00:35:02)

Re: 1.6.6 Debian 12 Nginx 1.24 problems

able1 wrote:

and I added php and mariadb

Which no longer is a clean install! I let the iRedMail script install those, per the instructions.

able1 wrote:

tried; purge and remove nginx, reboot, the run the bash for iRedMail

Still does not bring it back to a clean install.
Glad to see you finally resolved this!