1 (edited by DistortedDorian 2015-01-04 02:02:15)

Topic: Debian 8 stable (Jessie) - Fresh install of IRedMail-0.9.0 Failing..

Hello there everyone,
I am trying to install IRedMail on a fresh install of Debian 8 Stable, but I am failing at the start of the installation process, here is some more information:

- iRedMail version: IRedMail: 0.9.0 (https://bitbucket.org/zhb/iredmail/down … .0.tar.bz2)
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Linux/BSD distribution name and version: Debian 8 stable (Jessie) running on a OVH machine

I selected Apache2 as webserver, and here is the SSH output:

Configuration completed.

*************************************************************************
***************************** WARNING ***********************************
*************************************************************************
*                                                                       *
* Below file contains sensitive infomation (username/password), please  *
* do remember to *MOVE* it to a safe place after installation.          *
*                                                                       *
*   * /home/iRedMail-0.9.0/config
*                                                                       *
*************************************************************************
< Question > Continue? [y|N]y
< INFO > Installing package(s): postfix postfix-pcre mysql-server mysql-client postfix-mysql libaprutil1-dbd-mysql php5-imap php5-json php5-gd php5-mcrypt php5-curl mcrypt php-apc php5-mysql libapache2-mod-php5 nginx-full php5-fpm postfix-cluebringer postfix-cluebringer-mysql dovecot-imapd dovecot-pop3d dovecot-lmtpd dovecot-managesieved dovecot-sieve dovecot-mysql amavisd-new libcrypt-openssl-rsa-perl libmail-dkim-perl clamav-freshclam clamav-daemon spamassassin altermime arj zoo nomarch cpio lzop cabextract p7zip rpm unrar-free ripole libmail-spf-perl python-mysqldb python-jinja2 python-netifaces python-webpy libapache2-mod-wsgi uwsgi uwsgi-plugin-python awstats bzip2 acl patch cron tofrodos logwatch
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package postfix-cluebringer
E: Unable to locate package postfix-cluebringer-mysql
< ERROR > Installation failed, please check the terminal output.

Here is my content of:
$ nano /etc/apt/sources.list

deb http://debian.mirrors.ovh.net/debian/ jessie main
deb-src http://debian.mirrors.ovh.net/debian/ jessie main

deb http://security.debian.org/ jessie/updates main
deb-src http://security.debian.org/ jessie/updates main

# jessie-updates, previously known as 'volatile'
deb http://debian.mirrors.ovh.net/debian/ jessie-updates main
deb-src http://debian.mirrors.ovh.net/debian/ jessie-updates main

# jessie-backports, previously on backports.debian.org
deb http://debian.mirrors.ovh.net/debian/ jessie-backports main
deb-src http://debian.mirrors.ovh.net/debian/ jessie-backports main

What should I do to solve this issue?

Thanks.

----

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

2

Re: Debian 8 stable (Jessie) - Fresh install of IRedMail-0.9.0 Failing..

Debian 8 stable has not been released yet, you are running Debian testing which is not supported by iRedmail. Use Debian 7 aka Debian stable instead and your problems are gone.

3

Re: Debian 8 stable (Jessie) - Fresh install of IRedMail-0.9.0 Failing..

mir wrote:

Debian 8 stable has not been released yet, you are running Debian testing which is not supported by iRedmail. Use Debian 7 aka Debian stable instead and your problems are gone.

Thank you for the response, Debian 8 is indeed in Testing stages, but I find it a lot better and stabler than Debian 7.x and therefore I would like to continue to use this version.
Am I able to install IRedMail manually somehow to skip the apt-get? Debian 8 should not be very different from Debian 7.x.

Thanks.

4

Re: Debian 8 stable (Jessie) - Fresh install of IRedMail-0.9.0 Failing..

Debian 8 is very different from Debian 7 since Debian 8 uses systemd instead of initd so I find it very unlikely you will ever get iRedmail to work on Debian 8.

As to your other claim that Debian 8 should be more stabler than Debian 7 is total nonsense!

5 (edited by DistortedDorian 2015-01-04 02:37:47)

Re: Debian 8 stable (Jessie) - Fresh install of IRedMail-0.9.0 Failing..

mir wrote:

Debian 8 is very different from Debian 7 since Debian 8 uses systemd instead of initd so I find it very unlikely you will ever get iRedmail to work on Debian 8.

As to your other claim that Debian 8 should be more stabler than Debian 7 is total nonsense!

Hello again, I am not aware of all the changes but from what I have seen and read, it seems like it's minor changes and performance enchantments and support for further hardware.
I am not doing a lot on that machine, the performance is really a lot better, I think it depends on what you actually use the machine for that makes it unstable but I am just running very few programs and a private cloud server so it should not be a bigger issue smile.
But anyone that actually know if I could get IRedMail to work somehow?

6

Re: Debian 8 stable (Jessie) - Fresh install of IRedMail-0.9.0 Failing..

Something that has caused a fork of Debian is not a small thing!

7

Re: Debian 8 stable (Jessie) - Fresh install of IRedMail-0.9.0 Failing..

iRedMail-0.9.0 supports systemd on RHEL/CentOS 7, it should be easy to support Debian 8.
The problem is, Debian 8 is not officially released, even its RC release. supporting Debian 8 RIGHT NOW is a waste of time. I will wait for its second RC release.

8

Re: Debian 8 stable (Jessie) - Fresh install of IRedMail-0.9.0 Failing..

Hello there,

I don't know if this issue had been resolved but I had the exact same problem while installing iRedMail v0.9.2 on a Stable Debian Jessie 8.1 and I managed to find the solution.

So I post it here if by any chance it may help someone.

Actually I did the installation on a Kimsufi server from OVH offers and on their Debian automatic installation they create an /etc/lsb-release file like an Ubuntu distro would have done.

The matter is that iRedMail checks the existance of this file for determining the distro and adapting the packages to install. But because of this, iRedMail thinks my Debian was actually an Ubuntu.

To solve this issue, I changed the tests order in the ${ROOTDIR}/conf/global script from iRedMail package, putting the following block

278     elif [ -f /etc/debian_version ]; then
279         # Debian
280         export DISTRO='DEBIAN'
281 
282         # Get major release version number
283         export DISTRO_VERSION="$(cat /etc/debian_version)"
284 
285         # Set distro code name and unsupported releases.
286         if grep '^7' /etc/debian_version &>/dev/null || \
287             grep -i '^wheezy' /etc/debian_version &>/dev/null; then
288             export DISTRO_VERSION='7'
289             export DISTRO_CODENAME='wheezy'
290         elif grep '^8' /etc/debian_version &>/dev/null || \
291             grep -i '^jessie' /etc/debian_version &>/dev/null; then
292             export DISTRO_VERSION='8'
293             export DISTRO_CODENAME='jessie'
294         else
295             export UNSUPPORTED_RELEASE='YES'
296         fi

before this one :

263     elif [ -f /etc/lsb-release ]; then
264         # Ubuntu
265         export DISTRO='UBUNTU'
266 
267         # Ubuntu version number and code name:
268         #   - 14.04: trusty
269         #   - 15.04: vivid
270         export DISTRO_ID="$(grep 'DISTRIB_ID' /etc/lsb-release | awk -F'=' '{print $2}')"
271         export DISTRO_VERSION="$(grep 'DISTRIB_RELEASE' /etc/lsb-release | awk -F'=' '{print $2}')"
272         export DISTRO_CODENAME="$(grep 'DISTRIB_CODENAME' /etc/lsb-release | awk -F'=' '{print $2}')"
273 
274         # Unsupported releases: 12.x, 13.x, 14.10
275         if echo "${DISTRO_VERSION}" | grep -E '^(12|13|14\.10)' &>/dev/null ; then
276             export UNSUPPORTED_RELEASE='YES'
277         fi

Then when re-running the script iRedMail.sh IT WORKED \o/

9

Re: Debian 8 stable (Jessie) - Fresh install of IRedMail-0.9.0 Failing..

kaflazel wrote:

To solve this issue, I changed the tests order in the ${ROOTDIR}/conf/global script from iRedMail package, putting the following block

This is not good. We solved it 4 days ago:
https://bitbucket.org/zhb/iredmail/comm … 67b52098cc

We check /etc/lsb-release file and check content '' in this file to make sure it's Ubuntu.

By the way, i suggest you contact VPS provider to remove this file in their OS template, this is not a standard file shipped on Debian, there's no reason to create one by default.