1

Topic: simple apt cron upgrade issue

==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.2
- Linux/BSD distribution name and version: Ubuntu 14.04
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx):Nginx
- Manage mail accounts with iRedAdmin-Pro? Yes, v2.1.3 (MySQL)
===
Getting an error message from the daily apt cron job about php-fpm. The message is below.

Package 'php5-fpm' has conffile prompt and needs to be upgraded manually

When I ran sudo apt-get install --only-upgrade php-fpm --dry-run I get the following, which seems reasonable.

steve@iRedMail:~$ sudo apt-get install --only-upgrade php5-fpm --dry-run
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  php5-cli php5-common php5-curl php5-gd php5-intl php5-mysql php5-readline
The following packages will be upgraded:
  php5-cli php5-common php5-curl php5-fpm php5-gd php5-intl php5-mysql
  php5-readline
8 upgraded, 0 newly installed, 0 to remove and 103 not upgraded.
Inst php5-intl [5.5.9+dfsg-1ubuntu4.24] (5.5.9+dfsg-1ubuntu4.25 Ubuntu:14.04/trusty-updates [amd64]) []
Inst php5-mysql [5.5.9+dfsg-1ubuntu4.24] (5.5.9+dfsg-1ubuntu4.25 Ubuntu:14.04/trusty-updates [amd64]) []
Inst php5-readline [5.5.9+dfsg-1ubuntu4.24] (5.5.9+dfsg-1ubuntu4.25 Ubuntu:14.04/trusty-updates [amd64]) []
Inst php5-cli [5.5.9+dfsg-1ubuntu4.24] (5.5.9+dfsg-1ubuntu4.25 Ubuntu:14.04/trusty-updates [amd64]) []
Inst php5-fpm [5.5.9+dfsg-1ubuntu4.24] (5.5.9+dfsg-1ubuntu4.25 Ubuntu:14.04/trusty-updates [amd64]) []
Inst php5-gd [5.5.9+dfsg-1ubuntu4.24] (5.5.9+dfsg-1ubuntu4.25 Ubuntu:14.04/trusty-updates [amd64]) []
Inst php5-curl [5.5.9+dfsg-1ubuntu4.24] (5.5.9+dfsg-1ubuntu4.25 Ubuntu:14.04/trusty-updates [amd64]) []
Inst php5-common [5.5.9+dfsg-1ubuntu4.24] (5.5.9+dfsg-1ubuntu4.25 Ubuntu:14.04/trusty-updates [amd64])
Conf php5-common (5.5.9+dfsg-1ubuntu4.25 Ubuntu:14.04/trusty-updates [amd64])
Conf php5-intl (5.5.9+dfsg-1ubuntu4.25 Ubuntu:14.04/trusty-updates [amd64])
Conf php5-mysql (5.5.9+dfsg-1ubuntu4.25 Ubuntu:14.04/trusty-updates [amd64])
Conf php5-cli (5.5.9+dfsg-1ubuntu4.25 Ubuntu:14.04/trusty-updates [amd64])
Conf php5-readline (5.5.9+dfsg-1ubuntu4.25 Ubuntu:14.04/trusty-updates [amd64])
Conf php5-fpm (5.5.9+dfsg-1ubuntu4.25 Ubuntu:14.04/trusty-updates [amd64])
Conf php5-gd (5.5.9+dfsg-1ubuntu4.25 Ubuntu:14.04/trusty-updates [amd64])
Conf php5-curl (5.5.9+dfsg-1ubuntu4.25 Ubuntu:14.04/trusty-updates [amd64])
steve@iRedMail:~$

I just don't know enough about nginx to fix it if things go wrong.

Thanks

Steve

----

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

2

Re: simple apt cron upgrade issue

I didn't see anything wrong in the output.
Is everything working fine? especially php applications like Roundcube webmail?

3

Re: simple apt cron upgrade issue

ZhangHuangbin wrote:

I didn't see anything wrong in the output.
Is everything working fine? especially php applications like Roundcube webmail?

I haven't forced the update yet, so everything is still working fine.

If I force the update, it sometimes gets rid of the configuration files. I don't know what is required with nginx and roundcube to fix it if the forced upgrade breaks things.

4

Re: simple apt cron upgrade issue

If Nginx is misconfigured, run command "nginx -t" to check config files, it will show you which line in which file is wrong.