Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

PHP

when performing vagrant up it runs, but I get an error message: ==> default: stdin: is not a tty. Is this a problem?

$ vagrant up Bringing machine 'default' up with 'virtualbox' provider... ==> default: Importing base box 'laravel/homestead'... ==> default: Matching MAC address for NAT networking... ==> default: Checking if box 'laravel/homestead' is up to date... ==> default: Setting the name of the VM: homestead ==> default: Clearing any previously set network interfaces... ==> default: Preparing network interfaces based on configuration... default: Adapter 1: nat default: Adapter 2: hostonly ==> default: Forwarding ports... default: 80 => 8000 (adapter 1) default: 3306 => 33060 (adapter 1) default: 5432 => 54320 (adapter 1) default: 22 => 2222 (adapter 1) ==> default: Running 'pre-boot' VM customizations... ==> default: Booting VM... ==> default: Waiting for machine to boot. This may take a few minutes... default: SSH address: 127.0.0.1:2222 default: SSH username: vagrant default: SSH auth method: private key default: Warning: Connection timeout. Retrying... ==> default: Machine booted and ready! ==> default: Checking for guest additions in VM... ==> default: Setting hostname... ==> default: Configuring and enabling network interfaces... ==> default: Mounting shared folders... default: /vagrant => C:/Users/Curtis/Homestead default: /home/vagrant/Sites => C:/Users/Curtis/Homestead/Projects ==> default: Running provisioner: shell... default: Running: inline script ==> default: stdin: is not a tty ==> default: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDUHH22WpA6D5DWb2A6xssUlAleucz J8mqnHDwZG7vuLfzYldxY+d3q+fNe4NV/8IVX+cf3A+s2gUyAy9AmPd0DXW4gQyCQg2S3gTguq9xTkSH C0sGKAjnxViTV2gTIKUEKy6bBKSOSM4u/IUqe+8z6strjkGgo391454sysSAkybuTLa/yIKZgOuRxXUw OFlaV7fSgDMEulXuCAOZrArbD3OHZl4JCS3WkvGHNxo5dnG/LQTZUTNWa/hn1kDkcKvok/SnUUMbeFMM bm6nBiqXhwpwONsmZjedy6Zc5k6twcI+bSPvzbHui7rVgETXepOXFEb1bDYl80c2/+z56NBll curtis black2004@yahoo.com ==> default: Running provisioner: shell... default: Running: inline script ==> default: Running provisioner: shell... default: Running: inline script ==> default: stdin: is not a tty ==> default: Running provisioner: shell... default: Running: inline script ==> default: stdin: is not a tty ==> default: * Restarting nginx nginx ==> default: ...done. ==> default: php5-fpm stop/waiting ==> default: php5-fpm start/running, process 1945 ==> default: Running provisioner: shell... default: Running: inline script ==> default: stdin: is not a tty ==> default: php5-fpm stop/waiting ==> default: php5-fpm start/running, process 1982

2 Answers

Ken Alger
STAFF
Ken Alger
Treehouse Teacher

Curtis;

This seems to be a pretty common error.

Have you tried doing the following from the command line?

vagrant ssh
sudo apt-get update
exit
vagrant provision

Also, what system are you using and if you have any pertinent version information (vagrant, Laravel, OS, etc.) that could be helpful.

Thanks,

Ken

Hey Ken,

I am running Windows 8.1 pro. Vagrant version 1.6.5 and it should be the latest version of laravel homestead as I had just installed it from their website.

I tried those commands and I get the same error:

$ vagrant ssh Welcome to Ubuntu 14.04.1 LTS (GNU/Linux 3.13.0-30-generic x86_64)

System information as of Tue Nov 11 01:15:17 UTC 2014

System load: 0.39 Processes: 96 Usage of /: 4.5% of 39.34GB Users logged in: 0 Memory usage: 6% IP address for eth0: 10.0.2.15 Swap usage: 0% IP address for eth1: 192.168.33.10

Graph this data and manage this system at: https://landscape.canonical.com/

Get cloud support with Ubuntu Advantage Cloud Guest: http://www.ubuntu.com/business/services/cloud

Last login: Fri Oct 3 01:24:38 2014 from 10.0.2.2 vagrant@homestead:~$ sudo apt-get update Hit http://dl.hhvm.com trusty InRelease Ign http://archive.ubuntu.com trusty InRelease Hit http://dl.hhvm.com trusty/main amd64 Packages Ign http://archive.ubuntu.com trusty-updates InRelease Ign http://ppa.launchpad.net trusty InRelease Hit http://archive.ubuntu.com trusty Release.gpg Hit http://archive.ubuntu.com trusty-updates Release.gpg Ign http://ppa.launchpad.net trusty InRelease Hit http://archive.ubuntu.com trusty Release Hit http://archive.ubuntu.com trusty-updates Release Ign http://ppa.launchpad.net trusty InRelease Ign http://security.ubuntu.com trusty-security InRelease Hit http://archive.ubuntu.com trusty/main Sources Hit http://archive.ubuntu.com trusty/universe Sources Get:1 http://security.ubuntu.com trusty-security Release.gpg [933 B] Ign http://ppa.launchpad.net trusty InRelease Hit http://archive.ubuntu.com trusty/main amd64 Packages Get:2 http://security.ubuntu.com trusty-security Release [62.0 kB] Hit http://archive.ubuntu.com trusty/universe amd64 Packages Hit http://ppa.launchpad.net trusty Release.gpg Ign http://dl.hhvm.com trusty/main Translation-en_US Ign http://dl.hhvm.com trusty/main Translation-en Hit http://archive.ubuntu.com trusty/main Translation-en Get:3 http://security.ubuntu.com trusty-security/main Sources [49.5 kB] Hit http://ppa.launchpad.net trusty Release.gpg Get:4 http://security.ubuntu.com trusty-security/universe Sources [13.1 kB] Hit http://ppa.launchpad.net trusty Release.gpg Hit http://archive.ubuntu.com trusty/universe Translation-en Get:5 http://security.ubuntu.com trusty-security/main amd64 Packages [153 kB] Hit http://archive.ubuntu.com trusty-updates/main Sources Hit http://ppa.launchpad.net trusty Release.gpg Hit http://archive.ubuntu.com trusty-updates/universe Sources Hit http://archive.ubuntu.com trusty-updates/main amd64 Packages Hit http://ppa.launchpad.net trusty Release Hit http://archive.ubuntu.com trusty-updates/universe amd64 Packages Get:6 http://security.ubuntu.com trusty-security/universe amd64 Packages [60.5 k B] Hit http://archive.ubuntu.com trusty-updates/main Translation-en Hit http://security.ubuntu.com trusty-security/main Translation-en Hit http://ppa.launchpad.net trusty Release Hit http://security.ubuntu.com trusty-security/universe Translation-en Hit http://archive.ubuntu.com trusty-updates/universe Translation-en Hit http://ppa.launchpad.net trusty Release Hit http://ppa.launchpad.net trusty Release Hit http://ppa.launchpad.net trusty/main amd64 Packages Hit http://ppa.launchpad.net trusty/main Translation-en Ign http://archive.ubuntu.com trusty/main Translation-en_US Hit http://ppa.launchpad.net trusty/main amd64 Packages Ign http://archive.ubuntu.com trusty/universe Translation-en_US Hit http://ppa.launchpad.net trusty/main Translation-en Hit http://ppa.launchpad.net trusty/main amd64 Packages Hit http://ppa.launchpad.net trusty/main Translation-en Hit http://ppa.launchpad.net trusty/main amd64 Packages Hit http://ppa.launchpad.net trusty/main Translation-en Fetched 339 kB in 3s (91.1 kB/s) Reading package lists... Done vagrant@homestead:~$ exit logout Connection to 127.0.0.1 closed.

Curtis@BLACK-FAMILY-PC ~/homestead (master) $ vagrant provision ==> default: Running provisioner: shell... default: Running: inline script ==> default: stdin: is not a tty ==> default: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDUHH22WpA6D5DWb2A6xssUlAleucz J8mqnHDwZG7vuLfzYldxY+d3q+fNe4NV/8IVX+cf3A+s2gUyAy9AmPd0DXW4gQyCQg2S3gTguq9xTkSH C0sGKAjnxViTV2gTIKUEKy6bBKSOSM4u/IUqe+8z6strjkGgo391454sysSAkybuTLa/yIKZgOuRxXUw OFlaV7fSgDMEulXuCAOZrArbD3OHZl4JCS3WkvGHNxo5dnG/LQTZUTNWa/hn1kDkcKvok/SnUUMbeFMM bm6nBiqXhwpwONsmZjedy6Zc5k6twcI+bSPvzbHui7rVgETXepOXFEb1bDYl80c2/+z56NBll curtis black2004@yahoo.com ==> default: Running provisioner: shell... default: Running: inline script ==> default: Running provisioner: shell... default: Running: inline script ==> default: stdin: is not a tty ==> default: Running provisioner: shell... default: Running: inline script ==> default: stdin: is not a tty ==> default: * Restarting nginx nginx ==> default: ...done. ==> default: php5-fpm stop/waiting ==> default: php5-fpm start/running, process 4486 ==> default: Running provisioner: shell... default: Running: inline script ==> default: stdin: is not a tty ==> default: php5-fpm stop/waiting ==> default: php5-fpm start/running, process 4519

Thanks,

Curtis