Last active
June 6, 2016 14:47
-
-
Save topdown/6ee7c237b300a0cda03717ccc69599cd to your computer and use it in GitHub Desktop.
VVV Issues
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Not saying this is a fix all, but this is what I had to do to get VVV running properly on my system. | |
# It failed to install properly do to script errors | |
# Branch master | |
# head 7f5411455573bba88d8ce232db957c62b11977f5 | |
# VVV Update issues | |
vagrant ssh | |
su | |
#pass | |
vagrant | |
# Missing grunt command | |
npm install grunt -g | |
# Note, installing MySQL manually failed for me also, something was missing and could not create new sites. | |
# MySQL errors | |
sudo apt-get purge mysql* | |
sudo apt-get autoremove | |
sudo apt-get autoclean | |
sudo apt-get dist-upgrade | |
# Reinstall MySQL | |
sudo apt-get install mysql-server --fix-missing --fix-broken | |
#Reinstall PHP MySQL extention | |
sudo apt-get install php5-mysqlnd-ms | |
# rvm missing | |
gpg -q --no-tty --batch --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys D39DC0E3 | |
gpg -q --no-tty --batch --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys BF04FF17 | |
# make sure there are no errors in the source lists If there are fix them or run this command again | |
sudo apt-get update | |
curl --silent -L https://get.rvm.io | sudo bash -s stable --ruby | |
source /usr/local/rvm/scripts/rvm | |
# missing mailcatcher | |
rvm default@mailcatcher --create do gem install mailcatcher --no-rdoc --no-ri | |
rvm wrapper default@mailcatcher --no-prefix mailcatcher catchmail | |
cp /srv/config/init/mailcatcher.conf /etc/init/mailcatcher.conf | |
cp /srv/config/php5-fpm-config/mailcatcher.ini /etc/php5/mods-available/mailcatcher.ini | |
service mailcatcher restart | |
# Add php module | |
php5enmod mailcatcher | |
# XDEBUG Missing | |
pecl install xdebug | |
XDEBUG_PATH=$( find /usr -name 'xdebug.so' | head -1 ) sed -i "1izend_extension=\"$XDEBUG_PATH\"" "/etc/php5/mods-available/xdebug.ini" | |
service php5-fpm restart | |
# Leave su | |
exit; | |
# turn on xdebug | |
xdebug_on | |
exit; | |
clear; | |
vagrant halt | |
vagrant up --provision | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment