I'm running version 2.0.8 and when I check it in ssh, hvmm exists and is running.
You might need to just create a new vm.
There is some info about upgrading a existing vm at the bottom of https://mattstauffer.co/blog/introducing-laravel-homestead-2.0 I haven't tried it yet, but might be informative.
I have the same issue and i created new vm.
Vagrant version: 1.7.2
Homestead version: 2.0.13
Vagrant box version: laravel/homestead (virtualbox, 0.2.4)
Thanks for your replies!
Just a little update:
I ran service --status-all to get a list of all services, and hhvm is not included.
Do you think I should install hhvm manually, or is this not recommended?
@revati: please let me know, if you got it to work, thanks!
Here's the service list:
[ + ] apparmor
[ + ] beanstalkd
[ + ] bootmisc.sh
[ + ] cgmanager
[ + ] cgproxy
[ + ] checkfs.sh
[ + ] checkroot-bootclean.sh
[ + ] checkroot.sh
[ + ] console-setup
[ + ] cron
[ + ] cryptdisks
[ ? ] cryptdisks-early
[ - ] dbus
[ - ] grub-common
[ + ] hostname.sh
[ + ] hwclock.sh
[ + ] irqbalance
[ ? ] killprocs
[ + ] kmod
[ - ] lvm2
[ + ] memcached
[ + ] mountall-bootclean.sh
[ + ] mountall.sh
[ + ] mountdevsubfs.sh
[ + ] mountkernfs.sh
[ + ] mountnfs-bootclean.sh
[ + ] mountnfs.sh
[ + ] mysql
[ + ] networking
[ + ] nginx
[ ? ] ondemand
[ + ] php5-fpm
[ + ] postgresql
[ + ] procps
[ ? ] rc.local
[ + ] resolvconf
[ + ] rpcbind
[ - ] rsync
[ + ] rsyslog
[ ? ] sendsigs
[ + ] ssh
[ - ] sudo
[ + ] supervisor
[ - ] thermald
[ + ] udev
[ ? ] udev-finish
[ + ] ufw
[ ? ] umountfs
[ ? ] umountnfs.sh
[ ? ] umountroot
[ - ] unattended-upgrades
[ - ] urandom
[ + ] uuidd
[ + ] vboxadd
[ + ] vboxadd-service
[ - ] vboxadd-x11
i installed i manually fallowing https://github.com/facebook/hhvm/wiki/Prebuilt-packages-on-Ubuntu-14.10 and http://fideloper.com/hhvm-nginx-laravel
This worked for me.
# Prebuilt packages on Ubuntu 14.10
# installs add-apt-repository
sudo apt-get install software-properties-common
sudo apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0x5a16e7281be7a449
sudo add-apt-repository 'deb http://dl.hhvm.com/ubuntu utopic main'
sudo apt-get update
sudo apt-get install hhvm
-- from https://github.com/facebook/hhvm/wiki/Prebuilt-Packages-for-HHVM
Thank you so much! I finally got it to work after getting a blank page at first with hhvm enabled.
The solution was to make the "storage" directory of laravel writeable on the local machine (not on the vm)
sudo chmod -R 777 /your/path/to/laravel/storage
Then I provisioned, and it worked!
Thanks again to @TerrePorter and @revati!
I just updated the laravel/homestead box and hhvm seems to work out of the box now:
https://vagrantcloud.com/laravel/boxes/homestead/versions/0.2.5
I checked by destroying my box and hhvm was running.
I solved performing the following steps:
wget -O - http://dl.hhvm.com/conf/hhvm.gpg.key | sudo apt-key add - echo deb http://dl.hhvm.com/ubuntu trusty main | sudo tee /etc/apt/sources.list.d/hhvm.list sudo apt-get update sudo apt-get install hhvm
Still having trouble with:
==> default: hhvm: unrecognized service
Running version 0.2.7 of the Vagrant box.
Is it supposed to work as of 0.2.5 or are people still having this issue?
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community