manuelnaranjo / vagrant-openproject

Vagrant receipe for an OpenProject virtualmachine - ABANDONED
Apache License 2.0
4 stars 2 forks source link

stdin: is not a tty #1

Closed hakunin closed 9 years ago

hakunin commented 9 years ago

Hi, I am new to vagrant a trying to install openproject via vagrant gave me error:

==> default: stdin: is not a tty
==> default: + PROJECT_NAME=template
==> default: + PROJECT_DIR=/home/vagrant/template
==> default: + PGSQL_VERSION=9.1
==> default: + '[' '!' -f /home/vagrant/.locales ']'
==> default: + cp -p /home/vagrant/template/etc/install/etc-bash.bashrc /etc/bash.bashrc
==> default: + locale-gen en_GB.UTF-8

This is the beginning part of the console output:

Bringing machine 'default' up with 'virtualbox' provider...
==> default: Box 'precise64' could not be found. Attempting to find and install...
    default: Box Provider: virtualbox
    default: Box Version: >= 0
==> default: Adding box 'precise64' (v0) for provider: virtualbox
    default: Downloading: http://files.vagrantup.com/precise64.box
==> default: Successfully added box 'precise64' (v0) for 'virtualbox'!
==> default: Importing base box 'precise64'...
==> default: Matching MAC address for NAT networking...
==> default: Setting the name of the VM: vagrant-openproject_default_1418825323034_92760
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
    default: Adapter 1: nat
==> default: Forwarding ports...
    default: 8080 => 8211 (adapter 1)
    default: 22 => 2222 (adapter 1)
==> 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: Warning: Connection timeout. Retrying...
==> default: Machine booted and ready!
==> default: Checking for guest additions in VM...
    default: The guest additions on this VM do not match the installed version of
    default: VirtualBox! In most cases this is fine, but in rare cases it can
    default: prevent things such as shared folders from working properly. If you see
    default: shared folder errors, please make sure the guest additions within the
    default: virtual machine match the version of VirtualBox you have installed on
    default: your host and reload your VM.
    default: 
    default: Guest Additions Version: 4.2.0
    default: VirtualBox Version: 4.3
==> default: Mounting shared folders...
    default: /vagrant => /Users/michal/dev/vagrant-openproject
    default: /home/vagrant/template => /Users/michal/dev/vagrant-openproject
==> default: Running provisioner: shell...
    default: Running: /var/folders/m0/m8fw4q7n48x9zn6792pqcmgr0000gn/T/vagrant-shell20141217-94894-1qr01p.sh
==> default: stdin: is not a tty
==> default: + PROJECT_NAME=template
==> default: + PROJECT_DIR=/home/vagrant/template
==> default: + PGSQL_VERSION=9.1
==> default: + '[' '!' -f /home/vagrant/.locales ']'
==> default: + cp -p /home/vagrant/template/etc/install/etc-bash.bashrc /etc/bash.bashrc
==> default: + locale-gen en_GB.UTF-8
==> default: Generating locales...
==> default:   en_GB.UTF-8... 
==> default: done
==> default: Generation complete.
==> default: + dpkg-reconfigure locales

Here might be a fix: https://github.com/mitchellh/vagrant/issues/1673

manuelnaranjo commented 9 years ago

Hi there, that's not a real error, it's just a warning, installation should continue, I haven't ever completed this receip, so it may not be complete.

hakunin commented 9 years ago

Thanks for the info.

Offirmo commented 9 years ago

see also https://github.com/mitchellh/vagrant/issues/1673