Just upgraded from Aegir 3.4 to 3.8 via APT. The upgrade was successful, but I am seeing two issues:

  • Immediately after the upgrade, attempting to access the Aegir frontend yielded the Drupal installer. I'm guessing that it was presenting the platform for Hostmaster 3.4 instead of 3.8.
  • After restarting the server, nginx is not running and the following error is in the nginx error log:

    2016/11/06 16:29:59 [emerg] 2442#0: invalid number of arguments in "add_header" directive in /var/aegir/config/includes/nginx_vhost_common.conf:36

I've tried upgrading via APT, but that only went from 1.4.6-1ubuntu3.4 to 1.4.6-1ubuntu3.7. Supposedly, other projects with this issue have reported that the new syntax requires Nginx 1.7.5+.

Given that this version of Nginx is not officially available in Ubuntu's normal repos, shouldn't Provision not depend on the new syntax (or, at least not depend on the new syntax in the DEB packages)?

Comments

GuyPaddock created an issue. See original summary.

GuyPaddock’s picture

Issue summary: View changes
GuyPaddock’s picture

Issue summary: View changes
helmo’s picture

Assigned: Unassigned » memtkmcc

Thanks for creating an issue about this. It was mentioned in irc already but with this report hopefully @memtkmcc can fix it.

memtkmcc’s picture

Working on it. Thanks for the report!

  • memtkmcc committed cb371da on 7.x-3.x
    Issue #2825254 by memtkmcc: Debian upgrade - Nginx - invalid number of...
memtkmcc’s picture

Version: 7.x-3.8 » 7.x-3.x-dev
Assigned: memtkmcc » Unassigned
Status: Active » Fixed

I have removed the extra argument, because it is entirely optional and not really needed: http://nginx.org/en/docs/http/ngx_http_headers_module.html#add_header

For a hotfix please apply the patch in the provision directory and run server re-verify:

su -s /bin/bash - aegir -c "drush @server_master provision-verify"

memtkmcc’s picture

Component: Debian package » HTTP Service

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.