Page MenuHomePhabricator

nginx may not install if apache has not been restarted since initial provisioning
Closed, ResolvedPublic

Description

The Stretch nginx package has a post-install script that starts the service. This happens before Puppet has had a chance to modify the configuration files which in turn means that if the default port (80) is in use the package install will fail. MediaWiki-Vagrant runs Apache2 on port 8080 by default, but it turns out that a service apache2 restart after changing the port does not actually release the default bind of port 80. A hard restart via service apache2 stop && service apache2 start does release the port.

Event Timeline

bd808 created this task.Dec 26 2017, 6:34 AM
bd808 triaged this task as Normal priority.
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptDec 26 2017, 6:34 AM

Change 400207 had a related patch set uploaded (by BryanDavis; owner: BryanDavis):
[mediawiki/vagrant@stretch-migration] apache2: hard restart to release old ports

https://gerrit.wikimedia.org/r/400207

Change 400207 merged by jenkins-bot:
[mediawiki/vagrant@stretch-migration] apache2: hard restart to release old ports

https://gerrit.wikimedia.org/r/400207

bd808 closed this task as Resolved.Dec 26 2017, 7:01 AM