This repository was archived by the owner on Mar 3, 2020. It is now read-only.
Upgrade from Ubuntu 14.04 (Trusty) to Ubuntu 16.04 (Xenial) #601
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
NOTE: These changes require
Xenial
to be used from this point forward.Trusty
will no longer work as there are various incompatibilities.The platform is now exclusively supported on Ubuntu 16.04 (Xenial). Trusty (14.04) is no longer supported after this commit.
HHVM has been upgraded to version 3.21.
Provision, Docker, and Vagrant configurations have been updated to support 16.04. This includes Travis builds which utilizes the Docker image (PR Travis-CI to use Docker #569).
Updated a query in
Progressive
to comply with theonly_full_group_by
SQL mode.Memcached::getAllKeys()
is not working on HHVM version 3.21. For now, the two calls to this method have been replaced with calls to flush Memcached. While this workaround ensures the functionality of the platform works, it does have a negative impact on performance.Provision Changes:
HHVM repo and repo keys updated for Xenial
HHVM "restarted" instead of "started" after HHVM repo mode enabled. Enabling repo mode appears to start HHVM before permissions are applied to repo file. Therefore it must be restarted.
osquery
repo source updated for Xenialnode.js
legacy purge removed before installation, as this is not required for XenialPackage
language-pack-en
removed, this is installed and no longer required.Package
php5-cli
replaced withphp7.0-cli
for compatibility with Xenial.MySQL configuration file changed from
/etc/mysql/my.cnf
to/etc/mysql/mysql.conf.d/mysqld.cnf
for compatibility with Xenial.Vagrant Changes:
Docker Changes:
Images for standalone and multi-setup changed to Xenial
Web directory permissions set to
www-data
. Otherwise, the web directory will be owned by root and cause permissions issues.MySQL permissions enforced on
/var/lib/mysql and /var/run/mysql
. Otherwise, these directories will be owned by root and MySQL will not function.HHVM explicitly started as
www-data
. Docker does not allow HHVM startup (running under root) to spawn an HHVM process under another user (www-data).sudo
andapt-utils
installed. These are required packages for provision.Based on recommended HHVM DockerFile,
ENV HHVM_DISABLE_NUMA
parameter added and set to true.