Steps to reproduce on Jessie:

[add aegir debian repo as in http://aegirproject.org]
apt-get install nginx
apt-get install aegir3

This tells me that it wants to install apache2 but I already have nginx.

Here are the dependencies on aegir3-hostmaster :
Depends: debconf (>= 0.5) | debconf-2.0, drush (>= 5.5), php5-mysql, apache2 | nginx, libapache2-mod-php5 | php5-fpm, aegir2-provision (>= 2.4), git-core, unzip, lsb-base (>= 3.0-6)

I admit that I'm a little out of my element, but shouldn't nginx have only php5-fpm as a co-requirement (as per the docs)? Unless I misunderstand this, you can only depend on nginx if you have apache2, which seems counter-intuitive. (libapache2-mod-php5 depends on apache2.)

As far as the docs go, we only need one web server or the other, so we should change the docs if this is not the case (although I couldn't fathom why).

I might try to write a patch if anyone can confirm this is an issue and not just me missing something.

Comments

gboudrias’s picture

Title: Debian package needs Apache even when you have Nginx (debian Jessie) » How to install package with Nginx (debian Jessie)
Component: Debian package » Documentation

As explained by anarcat, seems like this is just a documentation issue:
apt-get install aegir3 nginx php5-fpm

Works for me.

There is still an nginx compatibility issue but I'll open another issue if I can reproduce.

gboudrias’s picture

Status: Active » Needs review
Related issues: +#2347557: No systemd service file for queue runner

Submitted doc PR on Github: https://github.com/aegir-project/documentation/pull/8

I think the other issue was not nginx-specific, I'll open another issue if I encounter it again (I think it was #2347557: No systemd service file for queue runner).

I would consider this fixed if someone can merge the PR.

gboudrias’s picture

Status: Needs review » Closed (fixed)

This was merged by helmo on Github.