mrdavidlaing / pressupbox-development-boilerplate

Patterns and practices for teams to collaborating on WordPress projects
Other
1 stars 5 forks source link

hiphopj - unkown exception #29

Open daithi-coombes opened 11 years ago

daithi-coombes commented 11 years ago

@ryanholder and myself were getting 'unkown exception' when visiting: localhost:4567 on the master branch.

I haven't been able to solve it, but I created the file ~/dist/public/docs/index.php and it ran. Seems the issue lies in the wp install and not hiphop setup.

mrdavidlaing commented 11 years ago

@daithi-coombes, @ryanholder, I think I might have been able to reproduce this error & find a solution. Please could you do the following steps & let me know if this solves things for you.

Running "refresh-buildpack" task
Cloning buildpack
fatal: destination path './buildpack' already exists and is not an empty directory.
daithi-coombes commented 11 years ago

on branch master and no gruntfile. But rake is producing the following...

$ rake dev_server:server_start

##########################
#       Starting server
##########################
cd ./dist/ && bin/start.sh 4567 Verbose
-----> BASE_DIR: /home/vagrant/dist
-----> Writing config files...
-----> Using LOGLEVEL: Verbose [options: None | Error (default) | Warning | Info | Verbose ]
tail: cannot open `/home/vagrant/dist/logs/*.log' for reading: No such file or directory
-----> Starting HipHop VM v2.0.0 (rel)
tcmalloc: large alloc 1210089472 bytes == (nil) @ 
tcmalloc: large alloc 1210089472 bytes == (nil) @ 
could not allocate 1210089471 bytes for translation cache
rake aborted!
Command failed with status (1): [cd ./dist/ && bin/start.sh 4567 Verbose...]
/var/lib/gems/1.9.1/gems/rake-10.0.4/lib/rake/file_utils.rb:53:in `block in create_shell_runner'
/var/lib/gems/1.9.1/gems/rake-10.0.4/lib/rake/file_utils.rb:45:in `call'
/var/lib/gems/1.9.1/gems/rake-10.0.4/lib/rake/file_utils.rb:45:in `sh'
...
le-bott commented 11 years ago

Looks like you're out of memory.

Try increase the amount of memory you allocate in your Vagrantfile. (Although 512mb should e enough).

A better fix will be to reduce the memory used by MySql and hiphop.

Regards David

On 13 Apr 2013, at 21:31, "daithi-coombes" notifications@github.com wrote:

on branch master and no gruntfile. But rake is producing the following...

$ rake dev_server:server_start

##########################

Starting server

########################## cd ./dist/ && bin/start.sh 4567 Verbose -----> BASE_DIR: /home/vagrant/dist -----> Writing config files... -----> Using LOGLEVEL: Verbose [options: None | Error (default) | Warning | Info | Verbose ] tail: cannot open /home/vagrant/dist/logs/*.log' for reading: No such file or directory -----> Starting HipHop VM v2.0.0 (rel) tcmalloc: large alloc 1210089472 bytes == (nil) @ tcmalloc: large alloc 1210089472 bytes == (nil) @ could not allocate 1210089471 bytes for translation cache rake aborted! Command failed with status (1): [cd ./dist/ && bin/start.sh 4567 Verbose...] /var/lib/gems/1.9.1/gems/rake-10.0.4/lib/rake/file_utils.rb:53:inblock in create_shell_runner' /var/lib/gems/1.9.1/gems/rake-10.0.4/lib/rake/file_utils.rb:45:in call' /var/lib/gems/1.9.1/gems/rake-10.0.4/lib/rake/file_utils.rb:45:insh' ... — Reply to this email directly or view it on GitHub.

This email is intended only for the use of the individual or entity to which it is addressed and may contain information that is confidential, subject to copyright or which constitutes a trade secret. You should not copy it for any purpose or disclose its contents to any person. City Index Ltd has taken reasonable precautions to minimise the risk of transmitting software viruses but we advise you to carry out your own virus checks on any attachment to this message. We cannot accept any liability for any loss or damage resulting from any software viruses. If you receive this email in error, please telephone our postmaster on +44 20 7550 8500 or email postmaster@cityindex.co.uk and delete all copies on your system.

City Index Limited is authorised and regulated by the Financial Services Authority. FSA Register Number: 113942. Registered Office: Park House, 16 Finsbury Circus, London, EC2M 7EB. Registered in England and Wales, number: 1761813.

daithi-coombes commented 11 years ago

I have increased the vm memory to 1024 and ran the above under rake:

rm -rf ./buildpack
rake run
rake rebuild
rake run

but the problem still persists. The directory localhost:4567/docs returns not found (it is there) and the root localhost:4567 returns unknown exception in the browser.

I tailed the logs when I ran rake run and without running the browser hiphop logged:

==> /home/vagrant/dist/logs/error.log <==
all servers started
perf_event_open failed with: No such file or directory
perf_event_open failed with: No such file or directory
perf_event_open failed with: No such file or directory
perf_event_open failed with: No such file or directory
perf_event_open failed with: No such file or directory
perf_event_open failed with: No such file or directory

but then calling localhost:4567 in the browser hiphop logged:

receiving 
HipHop Fatal error: unknown exception

Think i'm going to direct the research at hiphops config/.htaccess file and the directory root

mrdavidlaing commented 11 years ago

This looks to me like a different error to the original memory error you reported.

Irritatingly I can't reproduce it :(

Could you give me a full list of commands from the git checkout & vagrant destroy steps please

ryanholder commented 11 years ago

@mrdavidlaing I have run the recreate issue procedure and copied the contents of that process below. Unfortunately after running a diff against you successful run I cannot see anything that is any different.

ryanholder@Ryan-Holders-MacBook-Pro ~/Dropbox/rw.Dev/City Index/pressupbox-development-boilerplate [master *]$ vagrant destroy
Are you sure you want to destroy the 'default' VM? [y/N] y
[default] Forcing shutdown of VM...
[default] Destroying VM and associated drives...
ryanholder@Ryan-Holders-MacBook-Pro ~/Dropbox/rw.Dev/City Index/pressupbox-development-boilerplate [master *]$ vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
[default] Importing base box 'pressupbox-development-boilerplate-20130327'...
[default] Matching MAC address for NAT networking...
[default] Setting the name of the VM...
[default] Clearing any previously set forwarded ports...
[default] Creating shared folders metadata...
[default] Clearing any previously set network interfaces...
[default] Preparing network interfaces based on configuration...
[default] Forwarding ports...
[default] -- 22 => 2222 (adapter 1)
[default] -- 4567 => 4567 (adapter 1)
[default] Running any VM customizations...
[default] Booting VM...
[default] Waiting for VM to boot. This can take a few minutes.
[default] VM booted and ready for use!
[default] Configuring and enabling network interfaces...
[default] Mounting shared folders...
[default] -- /vagrant
[default] Running provisioner: VagrantPlugins::Shell::Provisioner...
stdin: is not a tty
curl:   curl 7.22.0 (x86_64-pc-linux-gnu) libcurl/7.22.0 OpenSSL/1.0.1 zlib/1.2.3.4 libidn/1.23 librtmp/2.3
ruby:   ruby 1.9.3p0 (2011-10-30 revision 33570) [x86_64-linux]
/tmp/vagrant-shell: line 37: bundle: command not found
Installing bundler...
Successfully installed bundler-1.3.5
Successfully installed bundle-0.0.1
2 gems installed
mysql:  mysql  Ver 14.14 Distrib 5.5.22, for debian-linux-gnu (x86_64) using readline 6.2
git:    git version 1.7.9.5
php:    PHP 5.4.13-2~precise+1 (cli) (built: Mar 21 2013 12:17:18) 
stackato:   stackato 1.6.1
Reading package lists...

Building dependency tree...

Reading state information...

Suggested packages:
  unison-all
The following NEW packages will be installed:
  unison
0 upgraded, 1 newly installed, 0 to remove and 146 not upgraded.
Need to get 729 kB of archives.
After this operation, 2,188 kB of additional disk space will be used.
Get:1 http://us.archive.ubuntu.com/ubuntu/ precise/universe unison amd64 2.40.65-1ubuntu1 [729 kB]
dpkg-preconfigure: unable to re-open stdin: No such file or directory
Fetched 729 kB in 8s (88.9 kB/s)
Selecting previously unselected package unison.
(Reading database ... 
94574 files and directories currently installed.)
Unpacking unison (from .../unison_2.40.65-1ubuntu1_amd64.deb) ...
Processing triggers for man-db ...
Setting up unison (2.40.65-1ubuntu1) ...
update-alternatives: using /usr/bin/unison-latest-stable to provide /usr/bin/unison (unison) in auto mode.
unison: unison version 2.40.65
Clean up...
0 upgraded, 0 newly installed, 0 to remove and 146 not upgraded.
rm: cannot remove `/home/vagrant/VBoxGuestAdditions_4.2.10.iso': No such file or directory
Copying host source files into place
rm: cannot remove `/home/vagrant/postinstall.sh': No such file or directory
Configuring build dependancies
Fetching gem metadata from https://rubygems.org/.
.
.
.
.
.
.
.
.
.
.
.
Fetching gem metadata from https://rubygems.org/.
.
Resolving dependencies...

Installing rake (10.0.4) 

Installing ffi (1.6.0) 

Installing listen (0.7.3) 

Installing rb-inotify (0.9.0) 

Using bundler (1.3.5) 
Your bundle is complete!
Use `bundle show [gemname]` to see where a bundled gem is installed.
=-=-=-=-=-=-=-=-=-=-=-=
Provisioning completed!
=-=-=-=-=-=-=-=-=-=-=-=
ryanholder@Ryan-Holders-MacBook-Pro ~/Dropbox/rw.Dev/City Index/pressupbox-development-boilerplate [master *]$ vagrant reload
[default] Attempting graceful shutdown of VM...
[default] Setting the name of the VM...
[default] Clearing any previously set forwarded ports...
[default] Creating shared folders metadata...
[default] Clearing any previously set network interfaces...
[default] Preparing network interfaces based on configuration...
[default] Forwarding ports...
[default] -- 22 => 2222 (adapter 1)
[default] -- 4567 => 4567 (adapter 1)
[default] Running any VM customizations...
[default] Booting VM...
[default] Waiting for VM to boot. This can take a few minutes.
[default] VM booted and ready for use!
[default] Configuring and enabling network interfaces...
[default] Mounting shared folders...
[default] -- /vagrant
[default] Running provisioner: VagrantPlugins::Shell::Provisioner...
stdin: is not a tty
curl:   curl 7.22.0 (x86_64-pc-linux-gnu) libcurl/7.22.0 OpenSSL/1.0.1 zlib/1.2.3.4 libidn/1.23 librtmp/2.3
ruby:   ruby 1.9.3p0 (2011-10-30 revision 33570) [x86_64-linux]
mysql:  mysql  Ver 14.14 Distrib 5.5.22, for debian-linux-gnu (x86_64) using readline 6.2
git:    git version 1.7.9.5
php:    PHP 5.4.13-2~precise+1 (cli) (built: Mar 21 2013 12:17:18) 
stackato:   stackato 1.6.1
unison: unison version 2.40.65
Clean up...
0 upgraded, 0 newly installed, 0 to remove and 146 not upgraded.
rm: cannot remove `/home/vagrant/VBoxGuestAdditions_4.2.10.iso': No such file or directory
rm: cannot remove `/home/vagrant/postinstall.sh': No such file or directory
Copying host source files into place
Configuring build dependancies
Resolving dependencies...

Using rake (10.0.4) 
Using ffi (1.6.0) 
Using listen (0.7.3) 
Using rb-inotify (0.9.0) 
Using bundler (1.3.5) 

Your bundle is complete!
Use `bundle show [gemname]` to see where a bundled gem is installed.
=-=-=-=-=-=-=-=-=-=-=-=
Provisioning completed!
=-=-=-=-=-=-=-=-=-=-=-=
ryanholder@Ryan-Holders-MacBook-Pro ~/Dropbox/rw.Dev/City Index/pressupbox-development-boilerplate [master *]$ vagrant ssh
Welcome to Ubuntu 12.04 LTS (GNU/Linux 3.2.0-23-generic x86_64)

 * Documentation:  https://help.ubuntu.com/
Welcome to your Vagrant-built virtual machine.
Last login: Wed Mar 27 23:45:40 2013
vagrant@precise64:~$ rake run

##########################
#   Copy
##########################
    copying src/public to dist/public
    copying src/public/wp-content to dist/public/wp-content
    copying src/public/wp-content/index.php to dist/public/wp-content/index.php
    copying src/public/wp-content/plugins to dist/public/wp-content/plugins
    copying src/public/wp-content/plugins/hello.php to dist/public/wp-content/plugins/hello.php
    copying src/public/wp-content/plugins/index.php to dist/public/wp-content/plugins/index.php
    copying src/public/wp-content/themes to dist/public/wp-content/themes
    copying src/public/wp-content/themes/index.php to dist/public/wp-content/themes/index.php
    copying src/public/wp-content/themes/twentytwelve to dist/public/wp-content/themes/twentytwelve
    copying src/public/wp-content/themes/twentytwelve/404.php to dist/public/wp-content/themes/twentytwelve/404.php
    copying src/public/wp-content/themes/twentytwelve/archive.php to dist/public/wp-content/themes/twentytwelve/archive.php
    copying src/public/wp-content/themes/twentytwelve/author.php to dist/public/wp-content/themes/twentytwelve/author.php
    copying src/public/wp-content/themes/twentytwelve/category.php to dist/public/wp-content/themes/twentytwelve/category.php
    copying src/public/wp-content/themes/twentytwelve/comments.php to dist/public/wp-content/themes/twentytwelve/comments.php
    copying src/public/wp-content/themes/twentytwelve/content-aside.php to dist/public/wp-content/themes/twentytwelve/content-aside.php
    copying src/public/wp-content/themes/twentytwelve/content-image.php to dist/public/wp-content/themes/twentytwelve/content-image.php
    copying src/public/wp-content/themes/twentytwelve/content-link.php to dist/public/wp-content/themes/twentytwelve/content-link.php
    copying src/public/wp-content/themes/twentytwelve/content-none.php to dist/public/wp-content/themes/twentytwelve/content-none.php
    copying src/public/wp-content/themes/twentytwelve/content-page.php to dist/public/wp-content/themes/twentytwelve/content-page.php
    copying src/public/wp-content/themes/twentytwelve/content-quote.php to dist/public/wp-content/themes/twentytwelve/content-quote.php
    copying src/public/wp-content/themes/twentytwelve/content-status.php to dist/public/wp-content/themes/twentytwelve/content-status.php
    copying src/public/wp-content/themes/twentytwelve/content.php to dist/public/wp-content/themes/twentytwelve/content.php
    copying src/public/wp-content/themes/twentytwelve/css to dist/public/wp-content/themes/twentytwelve/css
    copying src/public/wp-content/themes/twentytwelve/css/ie.css to dist/public/wp-content/themes/twentytwelve/css/ie.css
    copying src/public/wp-content/themes/twentytwelve/editor-style-rtl.css to dist/public/wp-content/themes/twentytwelve/editor-style-rtl.css
    copying src/public/wp-content/themes/twentytwelve/editor-style.css to dist/public/wp-content/themes/twentytwelve/editor-style.css
    copying src/public/wp-content/themes/twentytwelve/footer.php to dist/public/wp-content/themes/twentytwelve/footer.php
    copying src/public/wp-content/themes/twentytwelve/functions.php to dist/public/wp-content/themes/twentytwelve/functions.php
    copying src/public/wp-content/themes/twentytwelve/header.php to dist/public/wp-content/themes/twentytwelve/header.php
    copying src/public/wp-content/themes/twentytwelve/image.php to dist/public/wp-content/themes/twentytwelve/image.php
    copying src/public/wp-content/themes/twentytwelve/inc to dist/public/wp-content/themes/twentytwelve/inc
    copying src/public/wp-content/themes/twentytwelve/inc/custom-header.php to dist/public/wp-content/themes/twentytwelve/inc/custom-header.php
    copying src/public/wp-content/themes/twentytwelve/index.php to dist/public/wp-content/themes/twentytwelve/index.php
    copying src/public/wp-content/themes/twentytwelve/js to dist/public/wp-content/themes/twentytwelve/js
    copying src/public/wp-content/themes/twentytwelve/js/html5.js to dist/public/wp-content/themes/twentytwelve/js/html5.js
    copying src/public/wp-content/themes/twentytwelve/js/navigation.js to dist/public/wp-content/themes/twentytwelve/js/navigation.js
    copying src/public/wp-content/themes/twentytwelve/js/theme-customizer.js to dist/public/wp-content/themes/twentytwelve/js/theme-customizer.js
    copying src/public/wp-content/themes/twentytwelve/languages to dist/public/wp-content/themes/twentytwelve/languages
    copying src/public/wp-content/themes/twentytwelve/languages/twentytwelve.pot to dist/public/wp-content/themes/twentytwelve/languages/twentytwelve.pot
    copying src/public/wp-content/themes/twentytwelve/page-templates to dist/public/wp-content/themes/twentytwelve/page-templates
    copying src/public/wp-content/themes/twentytwelve/page-templates/front-page.php to dist/public/wp-content/themes/twentytwelve/page-templates/front-page.php
    copying src/public/wp-content/themes/twentytwelve/page-templates/full-width.php to dist/public/wp-content/themes/twentytwelve/page-templates/full-width.php
    copying src/public/wp-content/themes/twentytwelve/page.php to dist/public/wp-content/themes/twentytwelve/page.php
    copying src/public/wp-content/themes/twentytwelve/rtl.css to dist/public/wp-content/themes/twentytwelve/rtl.css
    copying src/public/wp-content/themes/twentytwelve/screenshot.png to dist/public/wp-content/themes/twentytwelve/screenshot.png
    copying src/public/wp-content/themes/twentytwelve/search.php to dist/public/wp-content/themes/twentytwelve/search.php
    copying src/public/wp-content/themes/twentytwelve/sidebar-front.php to dist/public/wp-content/themes/twentytwelve/sidebar-front.php
    copying src/public/wp-content/themes/twentytwelve/sidebar.php to dist/public/wp-content/themes/twentytwelve/sidebar.php
    copying src/public/wp-content/themes/twentytwelve/single.php to dist/public/wp-content/themes/twentytwelve/single.php
    copying src/public/wp-content/themes/twentytwelve/style.css to dist/public/wp-content/themes/twentytwelve/style.css
    copying src/public/wp-content/themes/twentytwelve/tag.php to dist/public/wp-content/themes/twentytwelve/tag.php
    copying src/stackato.yml to dist/stackato.yml

##########################
#   Refresh Buildpack
##########################
    Cloning buildpack
git clone git://github.com/mrdavidlaing/stackato-buildpack-wordpress.git ./buildpack
Cloning into './buildpack'...
remote: Counting objects: 664, done.
remote: Compressing objects: 100% (436/436), done.
remote: Total 664 (delta 240), reused 639 (delta 217)
Receiving objects: 100% (664/664), 7.47 MiB | 114 KiB/s, done.
Resolving deltas: 100% (240/240), done.

##########################
#   Compile
##########################
./buildpack/bin/compile ./dist ./.buildpack-cache
-----> compile params: BUILDPACK_DIR: /home/vagrant/buildpack BUILD_DIR: ./dist CACHE_DIR:./.buildpack-cache
-----> Installing HipHop v2.0.0
       Downloading https://dl.dropbox.com/u/33609233/stackato-buildpack-wordpress/hiphop-php-2.0.0.tar.gz to cache: /home/vagrant/.buildpack-cache/hiphop-php-2.0.0.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   458    0   458    0     0    266      0 --:--:--  0:00:01 --:--:--   369
100 21.3M  100 21.3M    0     0   138k      0  0:02:38  0:02:38 --:--:--  222k
       Extracting /home/vagrant/.buildpack-cache/hiphop-php-2.0.0.tar.gz to /home/vagrant/dist/runtimes/hiphop-php
-----> Installing WordPress v3.5.1
       Downloading http://wordpress.org/wordpress-3.5.1.tar.gz to cache: /home/vagrant/.buildpack-cache/wordpress-3.5.1.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 4895k    0 4895k    0     0   151k      0 --:--:--  0:00:32 --:--:--  185k
       Extracting /home/vagrant/.buildpack-cache/wordpress-3.5.1.tar.gz to /home/vagrant/dist/public/wordpress
       Patching WordPress source to make it HipHop compliant
-----> Copying config templates
-----> Creating bin/ scripts
       Writing setup.sh script
       Writing cron.sh script
       Writing start.sh script
-----> Done with compile

##########################
#   Verifying hosting dependencies
##########################
All dependencies look good

##########################
#   Setting up MySql
##########################
mysqladmin -uroot -psecret_password create wordpress
mysqladmin: CREATE DATABASE failed; error: 'Can't create database 'wordpress'; database exists'

##########################
#   Watch files
##########################
Started watcher on src/

##########################
#   Starting server
##########################
cd ./dist/ && bin/start.sh 4567 Verbose
-----> BASE_DIR: /home/vagrant/dist
-----> Writing config files...
-----> Using LOGLEVEL: Verbose [options: None | Error (default) | Warning | Info | Verbose ]
tail: cannot open `/home/vagrant/dist/logs/*.log' for reading: No such file or directory
-----> Starting HipHop VM v2.0.0 (rel)
le-bott commented 11 years ago

Foo. I'm going to blow away my whole environment and see if that enables me to replicate the error.

----- Reply message ----- From: "Ryan Holder" notifications@github.com To: "mrdavidlaing/pressupbox-development-boilerplate" pressupbox-development-boilerplate@noreply.github.com Cc: "le-bott" sudobot@labs.cityindex.com Subject: [pressupbox-development-boilerplate] hiphopj - unkown exception (#29) Date: Tue, Apr 16, 2013 18:12

@mrdavidlaing I have run the recreate issue procedure and copied the contents of that process below. Unfortunately after running a diff against you successful run I cannot see anything that is any different.

ryanholder@Ryan-Holders-MacBook-Pro ~/Dropbox/rw.Dev/City Index/pressupbox-development-boilerplate [master *]$ vagrant destroy
Are you sure you want to destroy the 'default' VM? [y/N] y
[default] Forcing shutdown of VM...
[default] Destroying VM and associated drives...
ryanholder@Ryan-Holders-MacBook-Pro ~/Dropbox/rw.Dev/City Index/pressupbox-development-boilerplate [master *]$ vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
[default] Importing base box 'pressupbox-development-boilerplate-20130327'...
[default] Matching MAC address for NAT networking...
[default] Setting the name of the VM...
[default] Clearing any previously set forwarded ports...
[default] Creating shared folders metadata...
[default] Clearing any previously set network interfaces...
[default] Preparing network interfaces based on configuration...
[default] Forwarding ports...
[default] -- 22 => 2222 (adapter 1)
[default] -- 4567 => 4567 (adapter 1)
[default] Running any VM customizations...
[default] Booting VM...
[default] Waiting for VM to boot. This can take a few minutes.
[default] VM booted and ready for use!
[default] Configuring and enabling network interfaces...
[default] Mounting shared folders...
[default] -- /vagrant
[default] Running provisioner: VagrantPlugins::Shell::Provisioner...
stdin: is not a tty
curl:   curl 7.22.0 (x86_64-pc-linux-gnu) libcurl/7.22.0 OpenSSL/1.0.1 zlib/1.2.3.4 libidn/1.23 librtmp/2.3
ruby:   ruby 1.9.3p0 (2011-10-30 revision 33570) [x86_64-linux]
/tmp/vagrant-shell: line 37: bundle: command not found
Installing bundler...
Successfully installed bundler-1.3.5
Successfully installed bundle-0.0.1
2 gems installed
mysql:  mysql  Ver 14.14 Distrib 5.5.22, for debian-linux-gnu (x86_64) using readline 6.2
git:    git version 1.7.9.5
php:    PHP 5.4.13-2~precise+1 (cli) (built: Mar 21 2013 12:17:18) 
stackato:   stackato 1.6.1
Reading package lists...

Building dependency tree...

Reading state information...

Suggested packages:
  unison-all
The following NEW packages will be installed:
  unison
0 upgraded, 1 newly installed, 0 to remove and 146 not upgraded.
Need to get 729 kB of archives.
After this operation, 2,188 kB of additional disk space will be used.
Get:1 http://us.archive.ubuntu.com/ubuntu/ precise/universe unison amd64 2.40.65-1ubuntu1 [729 kB]
dpkg-preconfigure: unable to re-open stdin: No such file or directory
Fetched 729 kB in 8s (88.9 kB/s)
Selecting previously unselected package unison.
(Reading database ... 
94574 files and directories currently installed.)
Unpacking unison (from .../unison_2.40.65-1ubuntu1_amd64.deb) ...
Processing triggers for man-db ...
Setting up unison (2.40.65-1ubuntu1) ...
update-alternatives: using /usr/bin/unison-latest-stable to provide /usr/bin/unison (unison) in auto mode.
unison: unison version 2.40.65
Clean up...
0 upgraded, 0 newly installed, 0 to remove and 146 not upgraded.
rm: cannot remove `/home/vagrant/VBoxGuestAdditions_4.2.10.iso': No such file or directory
Copying host source files into place
rm: cannot remove `/home/vagrant/postinstall.sh': No such file or directory
Configuring build dependancies
Fetching gem metadata from https://rubygems.org/.
.
.
.
.
.
.
.
.
.
.
.
Fetching gem metadata from https://rubygems.org/.
.
Resolving dependencies...

Installing rake (10.0.4) 

Installing ffi (1.6.0) 

Installing listen (0.7.3) 

Installing rb-inotify (0.9.0) 

Using bundler (1.3.5) 
Your bundle is complete!
Use `bundle show [gemname]` to see where a bundled gem is installed.
=-=-=-=-=-=-=-=-=-=-=-=
Provisioning completed!
=-=-=-=-=-=-=-=-=-=-=-=
ryanholder@Ryan-Holders-MacBook-Pro ~/Dropbox/rw.Dev/City Index/pressupbox-development-boilerplate [master *]$ vagrant reload
[default] Attempting graceful shutdown of VM...
[default] Setting the name of the VM...
[default] Clearing any previously set forwarded ports...
[default] Creating shared folders metadata...
[default] Clearing any previously set network interfaces...
[default] Preparing network interfaces based on configuration...
[default] Forwarding ports...
[default] -- 22 => 2222 (adapter 1)
[default] -- 4567 => 4567 (adapter 1)
[default] Running any VM customizations...
[default] Booting VM...
[default] Waiting for VM to boot. This can take a few minutes.
[default] VM booted and ready for use!
[default] Configuring and enabling network interfaces...
[default] Mounting shared folders...
[default] -- /vagrant
[default] Running provisioner: VagrantPlugins::Shell::Provisioner...
stdin: is not a tty
curl:   curl 7.22.0 (x86_64-pc-linux-gnu) libcurl/7.22.0 OpenSSL/1.0.1 zlib/1.2.3.4 libidn/1.23 librtmp/2.3
ruby:   ruby 1.9.3p0 (2011-10-30 revision 33570) [x86_64-linux]
mysql:  mysql  Ver 14.14 Distrib 5.5.22, for debian-linux-gnu (x86_64) using readline 6.2
git:    git version 1.7.9.5
php:    PHP 5.4.13-2~precise+1 (cli) (built: Mar 21 2013 12:17:18) 
stackato:   stackato 1.6.1
unison: unison version 2.40.65
Clean up...
0 upgraded, 0 newly installed, 0 to remove and 146 not upgraded.
rm: cannot remove `/home/vagrant/VBoxGuestAdditions_4.2.10.iso': No such file or directory
rm: cannot remove `/home/vagrant/postinstall.sh': No such file or directory
Copying host source files into place
Configuring build dependancies
Resolving dependencies...

Using rake (10.0.4) 
Using ffi (1.6.0) 
Using listen (0.7.3) 
Using rb-inotify (0.9.0) 
Using bundler (1.3.5) 

Your bundle is complete!
Use `bundle show [gemname]` to see where a bundled gem is installed.
=-=-=-=-=-=-=-=-=-=-=-=
Provisioning completed!
=-=-=-=-=-=-=-=-=-=-=-=
ryanholder@Ryan-Holders-MacBook-Pro ~/Dropbox/rw.Dev/City Index/pressupbox-development-boilerplate [master *]$ vagrant ssh
Welcome to Ubuntu 12.04 LTS (GNU/Linux 3.2.0-23-generic x86_64)

 * Documentation:  https://help.ubuntu.com/
Welcome to your Vagrant-built virtual machine.
Last login: Wed Mar 27 23:45:40 2013
vagrant@precise64:~$ rake run

##########################
#   Copy
##########################
    copying src/public to dist/public
    copying src/public/wp-content to dist/public/wp-content
    copying src/public/wp-content/index.php to dist/public/wp-content/index.php
    copying src/public/wp-content/plugins to dist/public/wp-content/plugins
    copying src/public/wp-content/plugins/hello.php to dist/public/wp-content/plugins/hello.php
    copying src/public/wp-content/plugins/index.php to dist/public/wp-content/plugins/index.php
    copying src/public/wp-content/themes to dist/public/wp-content/themes
    copying src/public/wp-content/themes/index.php to dist/public/wp-content/themes/index.php
    copying src/public/wp-content/themes/twentytwelve to dist/public/wp-content/themes/twentytwelve
    copying src/public/wp-content/themes/twentytwelve/404.php to dist/public/wp-content/themes/twentytwelve/404.php
    copying src/public/wp-content/themes/twentytwelve/archive.php to dist/public/wp-content/themes/twentytwelve/archive.php
    copying src/public/wp-content/themes/twentytwelve/author.php to dist/public/wp-content/themes/twentytwelve/author.php
    copying src/public/wp-content/themes/twentytwelve/category.php to dist/public/wp-content/themes/twentytwelve/category.php
    copying src/public/wp-content/themes/twentytwelve/comments.php to dist/public/wp-content/themes/twentytwelve/comments.php
    copying src/public/wp-content/themes/twentytwelve/content-aside.php to dist/public/wp-content/themes/twentytwelve/content-aside.php
    copying src/public/wp-content/themes/twentytwelve/content-image.php to dist/public/wp-content/themes/twentytwelve/content-image.php
    copying src/public/wp-content/themes/twentytwelve/content-link.php to dist/public/wp-content/themes/twentytwelve/content-link.php
    copying src/public/wp-content/themes/twentytwelve/content-none.php to dist/public/wp-content/themes/twentytwelve/content-none.php
    copying src/public/wp-content/themes/twentytwelve/content-page.php to dist/public/wp-content/themes/twentytwelve/content-page.php
    copying src/public/wp-content/themes/twentytwelve/content-quote.php to dist/public/wp-content/themes/twentytwelve/content-quote.php
    copying src/public/wp-content/themes/twentytwelve/content-status.php to dist/public/wp-content/themes/twentytwelve/content-status.php
    copying src/public/wp-content/themes/twentytwelve/content.php to dist/public/wp-content/themes/twentytwelve/content.php
    copying src/public/wp-content/themes/twentytwelve/css to dist/public/wp-content/themes/twentytwelve/css
    copying src/public/wp-content/themes/twentytwelve/css/ie.css to dist/public/wp-content/themes/twentytwelve/css/ie.css
    copying src/public/wp-content/themes/twentytwelve/editor-style-rtl.css to dist/public/wp-content/themes/twentytwelve/editor-style-rtl.css
    copying src/public/wp-content/themes/twentytwelve/editor-style.css to dist/public/wp-content/themes/twentytwelve/editor-style.css
    copying src/public/wp-content/themes/twentytwelve/footer.php to dist/public/wp-content/themes/twentytwelve/footer.php
    copying src/public/wp-content/themes/twentytwelve/functions.php to dist/public/wp-content/themes/twentytwelve/functions.php
    copying src/public/wp-content/themes/twentytwelve/header.php to dist/public/wp-content/themes/twentytwelve/header.php
    copying src/public/wp-content/themes/twentytwelve/image.php to dist/public/wp-content/themes/twentytwelve/image.php
    copying src/public/wp-content/themes/twentytwelve/inc to dist/public/wp-content/themes/twentytwelve/inc
    copying src/public/wp-content/themes/twentytwelve/inc/custom-header.php to dist/public/wp-content/themes/twentytwelve/inc/custom-header.php
    copying src/public/wp-content/themes/twentytwelve/index.php to dist/public/wp-content/themes/twentytwelve/index.php
    copying src/public/wp-content/themes/twentytwelve/js to dist/public/wp-content/themes/twentytwelve/js
    copying src/public/wp-content/themes/twentytwelve/js/html5.js to dist/public/wp-content/themes/twentytwelve/js/html5.js
    copying src/public/wp-content/themes/twentytwelve/js/navigation.js to dist/public/wp-content/themes/twentytwelve/js/navigation.js
    copying src/public/wp-content/themes/twentytwelve/js/theme-customizer.js to dist/public/wp-content/themes/twentytwelve/js/theme-customizer.js
    copying src/public/wp-content/themes/twentytwelve/languages to dist/public/wp-content/themes/twentytwelve/languages
    copying src/public/wp-content/themes/twentytwelve/languages/twentytwelve.pot to dist/public/wp-content/themes/twentytwelve/languages/twentytwelve.pot
    copying src/public/wp-content/themes/twentytwelve/page-templates to dist/public/wp-content/themes/twentytwelve/page-templates
    copying src/public/wp-content/themes/twentytwelve/page-templates/front-page.php to dist/public/wp-content/themes/twentytwelve/page-templates/front-page.php
    copying src/public/wp-content/themes/twentytwelve/page-templates/full-width.php to dist/public/wp-content/themes/twentytwelve/page-templates/full-width.php
    copying src/public/wp-content/themes/twentytwelve/page.php to dist/public/wp-content/themes/twentytwelve/page.php
    copying src/public/wp-content/themes/twentytwelve/rtl.css to dist/public/wp-content/themes/twentytwelve/rtl.css
    copying src/public/wp-content/themes/twentytwelve/screenshot.png to dist/public/wp-content/themes/twentytwelve/screenshot.png
    copying src/public/wp-content/themes/twentytwelve/search.php to dist/public/wp-content/themes/twentytwelve/search.php
    copying src/public/wp-content/themes/twentytwelve/sidebar-front.php to dist/public/wp-content/themes/twentytwelve/sidebar-front.php
    copying src/public/wp-content/themes/twentytwelve/sidebar.php to dist/public/wp-content/themes/twentytwelve/sidebar.php
    copying src/public/wp-content/themes/twentytwelve/single.php to dist/public/wp-content/themes/twentytwelve/single.php
    copying src/public/wp-content/themes/twentytwelve/style.css to dist/public/wp-content/themes/twentytwelve/style.css
    copying src/public/wp-content/themes/twentytwelve/tag.php to dist/public/wp-content/themes/twentytwelve/tag.php
    copying src/stackato.yml to dist/stackato.yml

##########################
#   Refresh Buildpack
##########################
    Cloning buildpack
git clone git://github.com/mrdavidlaing/stackato-buildpack-wordpress.git ./buildpack
Cloning into './buildpack'...
remote: Counting objects: 664, done.
remote: Compressing objects: 100% (436/436), done.
remote: Total 664 (delta 240), reused 639 (delta 217)
Receiving objects: 100% (664/664), 7.47 MiB | 114 KiB/s, done.
Resolving deltas: 100% (240/240), done.

##########################
#   Compile
##########################
./buildpack/bin/compile ./dist ./.buildpack-cache
-----> compile params: BUILDPACK_DIR: /home/vagrant/buildpack BUILD_DIR: ./dist CACHE_DIR:./.buildpack-cache
-----> Installing HipHop v2.0.0
       Downloading https://dl.dropbox.com/u/33609233/stackato-buildpack-wordpress/hiphop-php-2.0.0.tar.gz to cache: /home/vagrant/.buildpack-cache/hiphop-php-2.0.0.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   458    0   458    0     0    266      0 --:--:--  0:00:01 --:--:--   369
100 21.3M  100 21.3M    0     0   138k      0  0:02:38  0:02:38 --:--:--  222k
       Extracting /home/vagrant/.buildpack-cache/hiphop-php-2.0.0.tar.gz to /home/vagrant/dist/runtimes/hiphop-php
-----> Installing WordPress v3.5.1
       Downloading http://wordpress.org/wordpress-3.5.1.tar.gz to cache: /home/vagrant/.buildpack-cache/wordpress-3.5.1.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 4895k    0 4895k    0     0   151k      0 --:--:--  0:00:32 --:--:--  185k
       Extracting /home/vagrant/.buildpack-cache/wordpress-3.5.1.tar.gz to /home/vagrant/dist/public/wordpress
       Patching WordPress source to make it HipHop compliant
-----> Copying config templates
-----> Creating bin/ scripts
       Writing setup.sh script
       Writing cron.sh script
       Writing start.sh script
-----> Done with compile

##########################
#   Verifying hosting dependencies
##########################
All dependencies look good

##########################
#   Setting up MySql
##########################
mysqladmin -uroot -psecret_password create wordpress
mysqladmin: CREATE DATABASE failed; error: 'Can't create database 'wordpress'; database exists'

##########################
#   Watch files
##########################
Started watcher on src/

##########################
#   Starting server
##########################
cd ./dist/ && bin/start.sh 4567 Verbose
-----> BASE_DIR: /home/vagrant/dist
-----> Writing config files...
-----> Using LOGLEVEL: Verbose [options: None | Error (default) | Warning | Info | Verbose ]
tail: cannot open `/home/vagrant/dist/logs/*.log' for reading: No such file or directory
-----> Starting HipHop VM v2.0.0 (rel)

Reply to this email directly or view it on GitHub: https://github.com/mrdavidlaing/pressupbox-development-boilerplate/issues/29#issuecomment-16457982 This email is intended only for the use of the individual or entity to which it is addressed and may contain information that is confidential, subject to copyright or which constitutes a trade secret. You should not copy it for any purpose or disclose its contents to any person. City Index Ltd has taken reasonable precautions to minimise the risk of transmitting software viruses but we advise you to carry out your own virus checks on any attachment to this message. We cannot accept any liability for any loss or damage resulting from any software viruses. If you receive this email in error, please telephone our postmaster on +44 20 7550 8500 or email postmaster@cityindex.co.uk and delete all copies on your system.

City Index Limited is authorised and regulated by the Financial Services Authority. FSA Register Number: 113942. Registered Office: Park House, 16 Finsbury Circus, London, EC2M 7EB. Registered in England and Wales, number: 1761813.