The setup for buildkit runs smoothly, until the 'amp test' command where it fails no matter what I do. I have tried over and over again for 6 hours. I'm new to this so maybe I'm making a basic mistake. Following are the exact steps and configurations I used, along with the output. Please help if you can.
- Linux Mint 17.1 fully updated, fresh install, on
- Virtual Box (running also in Linux Mint 17.1)
- Apache/2.4.7 (Ubuntu)
- PHP Version 5.5.9-1ubuntu4.9
As far as I can tell all the prerequisites are fulfilled. Following are the commands, reports and configuration I used:
apt-get install curl comment: Note the new setup script name for Node.js v0.12 curl -sL https://deb.nodesource.com/setup_0.12 | sudo bash - comment: Then install with: sudo apt-get install -y nodejs Use software manager to install: Ruby and Rake git clone "https://github.com/civicrm/civicrm-buildkit.git" "/opt/buildkit" export PATH="/opt/buildkit/bin:$PATH" civi-download-tools sudo service apache2 restart amp config Enter mysql_dsn> mysql://root:my_password@localhost:3306 Enter perm_type  "linuxAcl": Set tight, inheritable permissions with Linux ACLs [setfacl] (recommended) Enter perm_user> www-data Enter httpd_type apache24 Note: Please add this line to the httpd.conf or apache2.conf: Include /root/.amp/apache.d/*.conf service apache2 restart amp test Connect to test application Expect response: "response-code-vh4D13nHwi" PHP Warning: file_get_contents(http://localhost:7979/index.php): failed to open stream: HTTP request failed! HTTP/1.1 403 Forbidden in /opt/buildkit/vendor/totten/amp/src/Amp/Command/TestCommand.php on line 153 Warning: file_get_contents(http://localhost:7979/index.php): failed to open stream: HTTP request failed! HTTP/1.1 403 Forbidden in /opt/buildkit/vendor/totten/amp/src/Amp/Command/TestCommand.php on line 153 Received incorrect response: "" Tip: Try running "amp config" and/or restarting the webserver. Mint17a buildkit #
Even if I set the following permissions I still get errors:
- group and full permissions for /opt/buildkit = www-data
- group and full permissions for /var/www = www-data
Thanks in advance!