Page MenuHomePhabricator

HHVM fcgi service not starting after upgrade to HHVM 3.3.0-20140918+wmf1
Closed, ResolvedPublic

Description


Version: unspecified
Severity: normal

Details

Reference
bz71274

Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 3:55 AM
bzimport set Reference to bz71274.
bzimport added a subscriber: Unknown Object (MLST).

It looks like the latest hhvm package has a command line arguments change that is keeping hhvm from starting:

hhvm --mode server

mapping self...
mapping self took 0'00" (17604 us) wall time
Uncaught exception: HHVM no longer supports the built-in webserver as of 3.0.0. Please use your own webserver (nginx or apache) talking to HHVM over fastcgi. https://github.com/facebook/hhvm/wiki/FastCGI\n

It appears that the /etc/hhvm/config.hdf and /etc/hhvm/php.ini config files are no longer loaded automatically. We need to update the startup script and/or move the files to the new default location(s). Also the extension install directory seems to have changed from /usr/lib/hphp/extensions to /usr/lib/x86_64-linux-gnu/hhvm/extensions.

This is likely related to the latest packages being built on the upstream Debian packages.

It looks like Ori updated operations/puppet for these changes in https://gerrit.wikimedia.org/r/#/c/161971/ but neglected to update MediaWiki-Vagrant.

gerritadmin wrote:

Change 162823 had a related patch set uploaded by BryanDavis:
Update hhvm config for 3.3

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

I think the default file locations still work based on the hhvm package contents. It was probably just the change to the extension dir that was causing the breakage combined with a less helpful error message.

  • Bug 71282 has been marked as a duplicate of this bug. ***

gerritadmin wrote:

Change 162823 merged by jenkins-bot:
Update hhvm config for 3.3

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