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.
Description
Description
Details
Details
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
apache2: hard restart to release old ports | mediawiki/vagrant | stretch-migration | +13 -1 |
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Resolved | bd808 | T181353 [EPIC] Migrate MediaWiki-Vagrant base image to Debian Stretch | |||
Resolved | bd808 | T183692 nginx may not install if apache has not been restarted since initial provisioning |
Event Timeline
Comment Actions
Change 400207 had a related patch set uploaded (by BryanDavis; owner: BryanDavis):
[mediawiki/vagrant@stretch-migration] apache2: hard restart to release old ports
Comment Actions
Change 400207 merged by jenkins-bot:
[mediawiki/vagrant@stretch-migration] apache2: hard restart to release old ports