laravel / homestead

MIT License
3.87k stars 1.44k forks source link

Unable to load the "app" configuration file. #1219

Closed lloricode closed 5 years ago

lloricode commented 5 years ago

Versions

Host operating system

Release Linux Mint 19.1 Tessa 64-bit Kernel Linux 4.15.0-54-generic x86_64 MATE 1.20.1

Homestead.yaml

---
ip: "192.168.10.10"
memory: 2048
cpus: 2
provider: virtualbox

authorize: ~/.ssh/id_rsa.pub

keys:
    - ~/.ssh/id_rsa

folders:
    - map: ~/Documents/homestead
      to: /home/vagrant/code

sites:
    - map: homestead.test
      to: /home/vagrant/code/homestead/public
databases:
    - homestead

# ports:
#     - send: 50000
#       to: 5000
#     - send: 7777
#       to: 777
#       protocol: udp

Expected behavior

when I run art it should return artisan information

Actual behavior

vagrant@homestead:~/code/homestead$ art

In LoadConfiguration.php line 68:

  Unable to load the "app" configuration file.  

Steps to reproduce

  1. update latest homestead and settler
  2. just run art on homestead inside project
svpernova09 commented 5 years ago

Not able to reproduce, need more info.

Please include the log of vagrant destroy && vagrant up as the issue template asked you for. (although I'd be surprised if there was anything telling there, this sounds like your application is broken or the aliases file is broken/incomplete.

What happens when you run artisan, or php artisan? Please post the output of these commands from the root of your project. Also show the output of the following command: cat ~/.bash_aliases

Vagrant up:

Bringing machine 'homestead' up with 'virtualbox' provider...
==> homestead: Importing base box 'laravel/homestead'...
==> homestead: Matching MAC address for NAT networking...
==> homestead: Checking if box 'laravel/homestead' version '8.0.0' is up to date...
==> homestead: Setting the name of the VM: homestead
==> homestead: Clearing any previously set network interfaces...
==> homestead: Preparing network interfaces based on configuration...
    homestead: Adapter 1: nat
    homestead: Adapter 2: hostonly
==> homestead: Forwarding ports...
    homestead: 80 (guest) => 8000 (host) (adapter 1)
    homestead: 443 (guest) => 44300 (host) (adapter 1)
    homestead: 3306 (guest) => 33060 (host) (adapter 1)
    homestead: 4040 (guest) => 4040 (host) (adapter 1)
    homestead: 5432 (guest) => 54320 (host) (adapter 1)
    homestead: 8025 (guest) => 8025 (host) (adapter 1)
    homestead: 9600 (guest) => 9600 (host) (adapter 1)
    homestead: 27017 (guest) => 27017 (host) (adapter 1)
    homestead: 22 (guest) => 2222 (host) (adapter 1)
==> homestead: Running 'pre-boot' VM customizations...
==> homestead: Booting VM...
==> homestead: Waiting for machine to boot. This may take a few minutes...
    homestead: SSH address: 127.0.0.1:2222
    homestead: SSH username: vagrant
    homestead: SSH auth method: private key
    homestead: Warning: Connection reset. Retrying...
    homestead: Warning: Remote connection disconnect. Retrying...
    homestead:
    homestead: Vagrant insecure key detected. Vagrant will automatically replace
    homestead: this with a newly generated keypair for better security.
    homestead:
    homestead: Inserting generated public key within guest...
    homestead: Removing insecure key from the guest if it's present...
    homestead: Key inserted! Disconnecting and reconnecting using new SSH key...
==> homestead: Machine booted and ready!
==> homestead: Checking for guest additions in VM...
==> homestead: Setting hostname...
==> homestead: Configuring and enabling network interfaces...
==> homestead: Mounting shared folders...
    homestead: /vagrant => /Users/halo/Code/homestead
    homestead: /home/vagrant/qs => /Users/halo/Code/quickstart-5.7
==> homestead: Running provisioner: file...
    homestead: /Users/halo/Code/homestead/aliases => /tmp/bash_aliases
==> homestead: Running provisioner: shell...
    homestead: Running: inline script
==> homestead: Running provisioner: shell...
    homestead: Running: inline script
    homestead:
    homestead: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDBeub1sTnpX7Tp7f0ukLAz7dMn7CS9w6eHmc1wtJNp/iXHzyBRKZ+ov8z+voCVJOrSDyTsG0IKcby8+UxwpzR2nyqiBPw+oaSD1elIHFS48h7Wd5f41S6QeHUlhac20fa5EHTnNw9jphtxDuYPa+xiaNdbdvJKC1jZuipsqc4qlcDC1LISOtIsAzMF1fnByWEe3JBvRxvCmegruu424chIGG23elIoBHsOvY/6BI+5G2BNSBvqzHxfQ2mK6j4tEj2K2s+4M3r4FrgZIYgHxxZtADdNGwditFu5ipfaQSc1n5YFQiI87iTO5OZCBdffMY3qQWaE3ne+hAVDSdJLWFDn halo@mobile-rage-work
==> homestead: Running provisioner: shell...
    homestead: Running: inline script
==> homestead: Running provisioner: shell...
    homestead: Running: inline script
==> homestead: Running provisioner: shell...
    homestead: Running: inline script
==> homestead: Running provisioner: shell...
    homestead: Running: /var/folders/rc/k3k9fv1x50n7r10bpcp7xyx00000gn/T/vagrant-shell20190705-70797-6y3yrq.sh
==> homestead: Running provisioner: shell...
    homestead: Running: /var/folders/rc/k3k9fv1x50n7r10bpcp7xyx00000gn/T/vagrant-shell20190705-70797-1kt4nhx.sh
==> homestead: Running provisioner: shell...
    homestead: Running: script: Creating Certificate: homestead.test
==> homestead: Running provisioner: shell...
    homestead: Running: script: Creating Site: homestead.test
==> homestead: Running provisioner: shell...
    homestead: Running: inline script
==> homestead: Running provisioner: shell...
    homestead: Running: /var/folders/rc/k3k9fv1x50n7r10bpcp7xyx00000gn/T/vagrant-shell20190705-70797-16sdt0o.sh
==> homestead: Running provisioner: shell...
    homestead: Running: script: Checking for old Schedule
==> homestead: Running provisioner: shell...
    homestead: Running: script: Clear Variables
==> homestead: Running provisioner: shell...
    homestead: Running: script: Restarting Cron
==> homestead: Running provisioner: shell...
    homestead: Running: script: Restarting Nginx
==> homestead: Running provisioner: shell...
    homestead: Running: script: Creating MySQL Database: homestead
==> homestead: Running provisioner: shell...
    homestead: Running: script: Creating Postgres Database: homestead
==> homestead: Running provisioner: shell...
    homestead: Running: script: Update Composer
    homestead: You are already using composer version 1.8.6 (stable channel).
==> homestead: Running provisioner: shell...
    homestead: Running: /var/folders/rc/k3k9fv1x50n7r10bpcp7xyx00000gn/T/vagrant-shell20190705-70797-qqoby2.sh
==> homestead: Running provisioner: shell...
    homestead: Running: script: Update motd
==> homestead: Running provisioner: shell...
    homestead: Running: /var/folders/rc/k3k9fv1x50n7r10bpcp7xyx00000gn/T/vagrant-shell20190705-70797-cn6s2x.sh
vagrant up: 01:29

Vagrant SSH, art, cat ~/.bash_aliases:

$ vagrant ssh                                                                                                                                            
Welcome to Ubuntu 18.04.2 LTS (GNU/Linux 4.15.0-54-generic x86_64)

Thanks for using
 _                               _                 _
| |                             | |               | |
| |__   ___  _ __ ___   ___  ___| |_ ___  __ _  __| |
| '_ \ / _ \| '_ ` _ \ / _ \/ __| __/ _ \/ _` |/ _` |
| | | | (_) | | | | | |  __/\__ \ ||  __/ (_| | (_| |
|_| |_|\___/|_| |_| |_|\___||___/\__\___|\__,_|\__,_|

* Homestead v9.0.0 released
* Settler v8.0.0 released

0 packages can be updated.
0 updates are security updates.

vagrant@homestead:~$ cd qs/
vagrant@homestead:~/qs$ art
Laravel Framework 5.7.28

Usage:
  command [options] [arguments]

Options:
  -h, --help            Display this help message
  -q, --quiet           Do not output any message
  -V, --version         Display this application version
      --ansi            Force ANSI output
      --no-ansi         Disable ANSI output
  -n, --no-interaction  Do not ask any interactive question
      --env[=ENV]       The environment the command should run under
  -v|vv|vvv, --verbose  Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug

Available commands:
  clear-compiled       Remove the compiled class file
  down                 Put the application into maintenance mode
  dump-server          Start the dump server to collect dump information.
  env                  Display the current framework environment
  help                 Displays help for a command
  inspire              Display an inspiring quote
  list                 Lists commands
  migrate              Run the database migrations
  optimize             Cache the framework bootstrap files
  preset               Swap the front-end scaffolding for the application
  serve                Serve the application on the PHP development server
  tinker               Interact with your application
  up                   Bring the application out of maintenance mode
 app
  app:name             Set the application namespace
 auth
  auth:clear-resets    Flush expired password reset tokens
  auth:login           Login a user
  auth:register        Register a new user
 basic
  basic:cmd            Basic Command
 cache
  cache:clear          Flush the application cache
  cache:forget         Remove an item from the cache
  cache:table          Create a migration for the cache database table
 code
  code:analyse         Analyzes source code
 config
  config:cache         Create a cache file for faster configuration loading
  config:clear         Remove the configuration cache file
 db
  db:seed              Seed the database with records
 event
  event:generate       Generate the missing events and listeners based on registration
 input
  input:example        Command description
  input:prompt         Command description
 key
  key:generate         Set the application key
 make
  make:auth            Scaffold basic login and registration views and routes
  make:channel         Create a new channel class
  make:command         Create a new Artisan command
  make:controller      Create a new controller class
  make:event           Create a new event class
  make:exception       Create a new custom exception class
  make:factory         Create a new model factory
  make:job             Create a new job class
  make:listener        Create a new event listener class
  make:mail            Create a new email class
  make:middleware      Create a new middleware class
  make:migration       Create a new migration file
  make:model           Create a new Eloquent model class
  make:notification    Create a new notification class
  make:observer        Create a new observer class
  make:policy          Create a new policy class
  make:provider        Create a new service provider class
  make:request         Create a new form request class
  make:resource        Create a new resource
  make:rule            Create a new validation rule
  make:seeder          Create a new seeder class
  make:test            Create a new test class
 migrate
  migrate:fresh        Drop all tables and re-run all migrations
  migrate:install      Create the migration repository
  migrate:refresh      Reset and re-run all migrations
  migrate:reset        Rollback all database migrations
  migrate:rollback     Rollback the last database migration
  migrate:status       Show the status of each migration
 notifications
  notifications:table  Create a migration for the notifications table
 optimize
  optimize:clear       Remove the cached bootstrap files
 option
  option:example       Command description
 package
  package:discover     Rebuild the cached package manifest
 queue
  queue:failed         List all of the failed queue jobs
  queue:failed-table   Create a migration for the failed queue jobs database table
  queue:flush          Flush all of the failed queue jobs
  queue:forget         Delete a failed queue job
  queue:listen         Listen to a given queue
  queue:restart        Restart queue worker daemons after their current job
  queue:retry          Retry a failed queue job
  queue:table          Create a migration for the queue jobs database table
  queue:work           Start processing jobs on the queue as a daemon
 route
  route:cache          Create a route cache file for faster route registration
  route:clear          Remove the route cache file
  route:list           List all registered routes
 schedule
  schedule:run         Run the scheduled commands
 session
  session:table        Create a migration for the session database table
 storage
  storage:link         Create a symbolic link from "public/storage" to "storage/app/public"
 vendor
  vendor:publish       Publish any publishable assets from vendor packages
 view
  view:cache           Compile all of the application's Blade templates
  view:clear           Clear all compiled view files
vagrant@homestead:~/qs$ cat ~/.bash_aliases
alias ..="cd .."
alias ...="cd ../.."

alias h='cd ~'
alias c='clear'
alias art=artisan

alias phpspec='vendor/bin/phpspec'
alias phpunit='vendor/bin/phpunit'
alias serve=serve-laravel

alias xoff='sudo phpdismod -s cli xdebug'
alias xon='sudo phpenmod -s cli xdebug'

alias nrd="npm run dev"
alias nrw="npm run watch"
alias nrwp="npm run watch-poll"
alias nrh="npm run hot"
alias nrp="npm run production"

alias yrd="yarn run dev"
alias yrw="yarn run watch"
alias yrwp="yarn run watch-poll"
alias yrh="yarn run hot"
alias yrp="yarn run production"

function artisan() {
    php artisan "$@"
}

function dusk() {
    pids=$(pidof /usr/bin/Xvfb)

    if [ ! -n "$pids" ]; then
        Xvfb :0 -screen 0 1280x960x24 &
    fi

    php artisan dusk "$@"
}

function php56() {
    sudo update-alternatives --set php /usr/bin/php5.6
    sudo update-alternatives --set php-config /usr/bin/php-config5.6
    sudo update-alternatives --set phpize /usr/bin/phpize5.6
}
function php70() {
    sudo update-alternatives --set php /usr/bin/php7.0
    sudo update-alternatives --set php-config /usr/bin/php-config7.0
    sudo update-alternatives --set phpize /usr/bin/phpize7.0
}
function php71() {
    sudo update-alternatives --set php /usr/bin/php7.1
    sudo update-alternatives --set php-config /usr/bin/php-config7.1
    sudo update-alternatives --set phpize /usr/bin/phpize7.1
}

function php72() {
    sudo update-alternatives --set php /usr/bin/php7.2
    sudo update-alternatives --set php-config /usr/bin/php-config7.2
    sudo update-alternatives --set phpize /usr/bin/phpize7.2
}

function php73() {
    sudo update-alternatives --set php /usr/bin/php7.3
    sudo update-alternatives --set php-config /usr/bin/php-config7.3
    sudo update-alternatives --set phpize /usr/bin/phpize7.3
}

function serve-apache() {
    if [[ "$1" && "$2" ]]
    then
        sudo bash /vagrant/scripts/create-certificate.sh "$1"
        sudo dos2unix /vagrant/scripts/serve-apache.sh
        sudo bash /vagrant/scripts/serve-apache.sh "$1" "$2" 80 443 "${3:-7.1}"
    else
        echo "Error: missing required parameters."
        echo "Usage: "
        echo "  serve-apache domain path"
    fi
}

function serve-laravel() {
    if [[ "$1" && "$2" ]]
    then
        sudo bash /vagrant/scripts/create-certificate.sh "$1"
        sudo dos2unix /vagrant/scripts/serve-laravel.sh
        sudo bash /vagrant/scripts/serve-laravel.sh "$1" "$2" 80 443 "${3:-7.1}"
    else
        echo "Error: missing required parameters."
        echo "Usage: "
        echo "  serve domain path"
    fi
}

function serve-proxy() {
    if [[ "$1" && "$2" ]]
    then
        sudo dos2unix /vagrant/scripts/serve-proxy.sh
        sudo bash /vagrant/scripts/serve-proxy.sh "$1" "$2" 80 443 "${3:-7.1}"
    else
        echo "Error: missing required parameters."
        echo "Usage: "
        echo "  serve-proxy domain port"
    fi
}

function serve-silverstripe() {
    if [[ "$1" && "$2" ]]
    then
        sudo bash /vagrant/scripts/create-certificate.sh "$1"
        sudo dos2unix /vagrant/scripts/serve-silverstripe.sh
        sudo bash /vagrant/scripts/serve-silverstripe.sh "$1" "$2" 80 443 "${3:-7.1}"
    else
        echo "Error: missing required parameters."
        echo "Usage: "
        echo "  serve-silverstripe domain path"
    fi
}

function serve-spa() {
  if [[ "$1" && "$2" ]]
  then
    sudo bash /vagrant/scripts/create-certificate.sh "$1"
    sudo dos2unix /vagrant/scripts/serve-spa.sh
    sudo bash /vagrant/scripts/serve-spa.sh "$1" "$2" 80 443 "${3:-7.1}"
  else
    echo "Error: missing required parameters."
    echo "Usage: "
    echo "  serve-spa domain path"
  fi
}

function serve-statamic() {
    if [[ "$1" && "$2" ]]
    then
        sudo bash /vagrant/scripts/create-certificate.sh "$1"
        sudo dos2unix /vagrant/scripts/serve-statamic.sh
        sudo bash /vagrant/scripts/serve-statamic.sh "$1" "$2" 80 443 "${3:-7.1}"
    else
        echo "Error: missing required parameters."
        echo "Usage: "
        echo "  serve-statamic domain path"
    fi
}

function serve-symfony2() {
    if [[ "$1" && "$2" ]]
    then
        sudo bash /vagrant/scripts/create-certificate.sh "$1"
        sudo dos2unix /vagrant/scripts/serve-symfony2.sh
        sudo bash /vagrant/scripts/serve-symfony2.sh "$1" "$2" 80 443 "${3:-7.1}"
    else
        echo "Error: missing required parameters."
        echo "Usage: "
        echo "  serve-symfony2 domain path"
    fi
}

function serve-symfony4() {
    if [[ "$1" && "$2" ]]
    then
        sudo bash /vagrant/scripts/create-certificate.sh "$1"
        sudo dos2unix /vagrant/scripts/serve-symfony4.sh
        sudo bash /vagrant/scripts/serve-symfony4.sh "$1" "$2" 80 443 "${3:-7.1}"
    else
        echo "Error: missing required parameters."
        echo "Usage: "
        echo "  serve-symfony4 domain path"
    fi
}

function serve-pimcore() {
    if [[ "$1" && "$2" ]]
    then
        sudo bash /vagrant/scripts/create-certificate.sh "$1"
        sudo dos2unix /vagrant/scripts/serve-pimcore.sh
        sudo bash /vagrant/scripts/serve-pimcore.sh "$1" "$2" 80 443 "${3:-7.1}"
    else
        echo "Error: missing required parameters."
        echo "Usage: "
        echo "  serve-pimcore domain path"
    fi
}

function share() {
    if [[ "$1" ]]
    then
        ngrok http ${@:2} -host-header="$1" 80
    else
        echo "Error: missing required parameters."
        echo "Usage: "
        echo "  share domain"
        echo "Invocation with extra params passed directly to ngrok"
        echo "  share domain -region=eu -subdomain=test1234"
    fi
}

function flip() {
    sudo bash /vagrant/scripts/flip-webserver.sh
}

function __has_pv() {
    $(hash pv 2>/dev/null);

    return $?
}

function __pv_install_message() {
    if ! __has_pv; then
        echo $1
        echo "Install pv with \`sudo apt-get install -y pv\` then run this command again."
        echo ""
    fi
}

function dbexport() {
    FILE=${1:-/vagrant/mysqldump.sql.gz}

    # This gives an estimate of the size of the SQL file
    # It appears that 80% is a good approximation of
    # the ratio of estimated size to actual size
    SIZE_QUERY="select ceil(sum(data_length) * 0.8) as size from information_schema.TABLES"

    __pv_install_message "Want to see export progress?"

    echo "Exporting databases to '$FILE'"

    if __has_pv; then
        ADJUSTED_SIZE=$(mysql --vertical -uhomestead -psecret -e "$SIZE_QUERY" 2>/dev/null | grep 'size' | awk '{print $2}')
        HUMAN_READABLE_SIZE=$(numfmt --to=iec-i --suffix=B --format="%.3f" $ADJUSTED_SIZE)

        echo "Estimated uncompressed size: $HUMAN_READABLE_SIZE"
        mysqldump -uhomestead -psecret --all-databases --skip-lock-tables --routines 2>/dev/null | pv  --size=$ADJUSTED_SIZE | gzip > "$FILE"
    else
        mysqldump -uhomestead -psecret --all-databases --skip-lock-tables --routines 2>/dev/null | gzip > "$FILE"
    fi

    echo "Done."
}

function dbimport() {
    FILE=${1:-/vagrant/mysqldump.sql.gz}

    __pv_install_message "Want to see import progress?"

    echo "Importing databases from '$FILE'"

    if __has_pv; then
        pv "$FILE" --progress --eta | zcat | mysql -uhomestead -psecret 2>/dev/null
    else
        cat "$FILE" | zcat | mysql -uhomestead -psecret 2>/dev/null
    fi

    echo "Done."
}

function xphp() {
    (php -m | grep -q xdebug)
    if [[ $? -eq 0 ]]
    then
        XDEBUG_ENABLED=true
    else
        XDEBUG_ENABLED=false
    fi

    if ! $XDEBUG_ENABLED; then xon; fi

    php \
        -dxdebug.remote_host=192.168.10.1 \
        -dxdebug.remote_autostart=1 \
        "$@"

    if ! $XDEBUG_ENABLED; then xoff; fi
}

function update-socket-wrench() {
    cd /var/www/socket-wrench
    git pull origin release
    composer install
    php artisan migrate --force
}

function seed-socket-wrench() {
    cd /var/www/socket-wrench
    php artisan db:seed
}
vagrant@homestead:~/qs$
Blacksky13 commented 5 years ago

Having same issue.

The problem is not in artisan command. As I can see the config property for example vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/LoadConfiguration.php is empty and it can't set date_default_timezone_set correctly. If you'll set it manually (by editing the vendor file), there will be another error related to the config.

It might be only for projects that you had before. Haven't tested on the new one's.

Screenshots of some errors: https://prnt.sc/ob1tuy https://www.dropbox.com/s/ti7h5r685x8tgyz/Screenshot%202019-07-05%2017.28.44.png?dl=0\

P.S. Before update projects were working fine.

svpernova09 commented 5 years ago

Created a fresh Laravel app, Installed Homestead, still unable to reproduce the issue:

https://gist.github.com/svpernova09/50e48155188a25eb283c4520e0dfe1c3

As soon as there is a problem in vendor/ it's out of my hands. Closing until I can get clear replication instructions so I can reproduce on my end.

svpernova09 commented 5 years ago

@driesvints You seen anything recent crop up in other repos that may be causing this?

driesvints commented 5 years ago

@svpernova09 not that I'm aware of, no.

rijensky commented 5 years ago

I had this issue for a few days - downgrading settler to 7.2.1 solved it for me.

luckysoni commented 5 years ago

I had the same issue and it turned out that a mismatch in GuestAdditions versions was the culprit. If you are seeing something like GuestAdditions versions on your host (5.2.18) and guest (6.0.8) do not match. when you vagrant up then try the following:

vagrant plugin install vagrant-vbguest
vagrant halt
vagrant up
svpernova09 commented 5 years ago

I had the same issue and it turned out that a mismatch in GuestAdditions versions was the culprit. If you are seeing something like GuestAdditions versions on your host (5.2.18) and guest (6.0.8) do not match. when you vagrant up then try the following:

Don't do this when you're off by a major version. Everyone should be running Virtualbox 6.x these days.

Blacksky13 commented 5 years ago

Maybe this will help somebody:

  1. Destory your homestead box (keep in mind, that it'll destroy your Homestead virtual machine with all databases and configurations vagrant box destroy laravel/homestead
  2. Check that there're no any boxes: vagrant box list
  3. Update your virtual box - https://www.virtualbox.org/wiki/Downloads (it might say that some of your containers already running, so you can simply restart your computer and launch install again)
  4. Then from your Homestead folder run vagrant up

In my case it fixed this error and now all my projects working.

KevinBatdorf commented 5 years ago

Upgrading to Virtualbox 6 is the key here.

Make sure you're actually on 6, as Virtualbox might say you have the latest when you don't: http://prntscr.com/obnl30

lloricode commented 5 years ago

Hi to all, thanks for all information,

the only solution is update virtual box to v6, and fix all issue

thanks best regards.

lloricode commented 5 years ago

Hi, there is another problem,

Ive installed in 3 desktop, then notice of them that failed to clone a private package in composer

in composer.json

  "repositories": [
    {
      "type": "vcs",
      "url": "git@bitbucket.org:halcyonlaravel/helpers.git"
    }
  ],

  "require": {
    "halcyon-laravel/restful-base": "^1.0",
  },

run composer install

  - Installing halcyon-laravel/helpers (v1.0.4): Cloning 5b83bc6300 from cache

  [RuntimeException]                                                                                                                                                                               
  Failed to execute git clone --no-checkout '/home/vagrant/.composer/cache/vcs/git-bitbucket.org-halcyonlaravel-helpers.git/' '/home/vagrant/code/laravels/core-boilerplate/vendor/halcyon-larave  
  l/helpers' --dissociate --reference '/home/vagrant/.composer/cache/vcs/git-bitbucket.org-halcyonlaravel-helpers.git/' && cd '/home/vagrant/code/laravels/core-boilerplate/vendor/halcyon-larave  
  l/helpers' && git remote set-url origin 'git@bitbucket.org:halcyonlaravel/helpers.git' && git remote add composer 'git@bitbucket.org:halcyonlaravel/helpers.git'                                 
ncla commented 5 years ago

While it fixes the issue described here, annoyingly having the newest VirtualBox and Vagrant brings another issue with .git directory. I can't add or commit with git from inside the VM. See this issue: https://github.com/hashicorp/vagrant/issues/10913

cubiczx commented 5 years ago

I had the same issue and it turned out that a mismatch in GuestAdditions versions was the culprit. If you are seeing something like GuestAdditions versions on your host (5.2.18) and guest (6.0.8) do not match. when you vagrant up then try the following:

vagrant plugin install vagrant-vbguest
vagrant halt
vagrant up

A lot of thanks, this solve the issue

lloricode commented 5 years ago

still, cannot clone a private packagest

On Wed, Jul 10, 2019, 4:04 PM Xavier Palacín Ayuso notifications@github.com wrote:

I had the same issue and it turned out that a mismatch in GuestAdditions versions was the culprit. If you are seeing something like GuestAdditions versions on your host (5.2.18) and guest (6.0.8) do not match. when you vagrant up then try the following:

vagrant plugin install vagrant-vbguest vagrant halt vagrant up

A lot of thanks, this solve the issue

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/laravel/homestead/issues/1219?email_source=notifications&email_token=AB66PUEW3S6CCIILZUZJA7TP6WJZPA5CNFSM4H6A2P4KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZSVBDY#issuecomment-509956239, or mute the thread https://github.com/notifications/unsubscribe-auth/AB66PUCCO4YNOW5BMXSELYTP6WJZPANCNFSM4H6A2P4A .

lloricode commented 5 years ago

i destroy the box then run

vagrant plugin install vagrant-vbguest
vagrant halt
vagrant up

then vagrant up

Bringing machine 'homestead' up with 'virtualbox' provider...
==> homestead: Importing base box 'laravel/homestead'...
==> homestead: Matching MAC address for NAT networking...
==> homestead: Checking if box 'laravel/homestead' version '8.0.0' is up to date...
==> homestead: Setting the name of the VM: homestead
==> homestead: Clearing any previously set network interfaces...
==> homestead: Preparing network interfaces based on configuration...
    homestead: Adapter 1: nat
    homestead: Adapter 2: hostonly
==> homestead: Forwarding ports...
    homestead: 80 (guest) => 8000 (host) (adapter 1)
    homestead: 443 (guest) => 44300 (host) (adapter 1)
    homestead: 3306 (guest) => 33060 (host) (adapter 1)
    homestead: 4040 (guest) => 4040 (host) (adapter 1)
    homestead: 5432 (guest) => 54320 (host) (adapter 1)
    homestead: 8025 (guest) => 8025 (host) (adapter 1)
    homestead: 9600 (guest) => 9600 (host) (adapter 1)
    homestead: 27017 (guest) => 27017 (host) (adapter 1)
    homestead: 22 (guest) => 2222 (host) (adapter 1)
==> homestead: Running 'pre-boot' VM customizations...
==> homestead: Booting VM...
==> homestead: Waiting for machine to boot. This may take a few minutes...
    homestead: SSH address: 127.0.0.1:2222
    homestead: SSH username: vagrant
    homestead: SSH auth method: private key
    homestead: Warning: Connection reset. Retrying...
    homestead: Warning: Remote connection disconnect. Retrying...
    homestead: Warning: Remote connection disconnect. Retrying...
    homestead: Warning: Connection reset. Retrying...
    homestead: 
    homestead: Vagrant insecure key detected. Vagrant will automatically replace
    homestead: this with a newly generated keypair for better security.
    homestead: 
    homestead: Inserting generated public key within guest...
    homestead: Removing insecure key from the guest if it's present...
    homestead: Key inserted! Disconnecting and reconnecting using new SSH key...
==> homestead: Machine booted and ready!
[homestead] GuestAdditions 6.0.8 running --- OK.
==> homestead: Checking for guest additions in VM...
==> homestead: Setting hostname...
==> homestead: Configuring and enabling network interfaces...
==> homestead: Mounting shared folders...
    homestead: /vagrant => /home/ojt-3/Homestead
    homestead: /home/vagrant/code => /home/ojt-3/Sites
==> homestead: Running provisioner: file...
    homestead: /home/ojt-3/Homestead/aliases => /tmp/bash_aliases
==> homestead: Running provisioner: shell...
    homestead: Running: inline script
==> homestead: Running provisioner: shell...
    homestead: Running: inline script
    homestead: 
    homestead: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCqRAJQCm1h5q4swRGP+06CT1oizp7NQwnEIPTCvyDljsv0Mmttb2yBylP9FjQpfgUNBp/1Unf3f3zk1QmFs92eCj7KE2hUWaz0q/iFAVV+moZEt34NLPI8dUPcHqhs/wfk3jSX8dsAAjjb8j5aJZg4MktbLDirF3hIKlGS6qPtpSx3HHOUMFO3FAdJ8IfmOh0tWqyFnve/V0Tiv179eRdUfFpVij1eiOraI/4erYPoPzpc7CRFKDvoiK2cQiCgGjk3AekIeRKbvhjNn9wbmHizg9Y2PE12Cs07nvVkAqWJxT1kgC8vXKOKBT0cn0Y4xIWHVDaIhd2RvYB7d1CxTfT9v/qxjsuSfRaRgKkzb8dkfK1fjyBae+0drAM5Va5tsO/IDQC4XuRdqGKgj49b+PBNJChQSbG1JY7axKvoiggdQfs+1M7v+MsRxGc0oNRzTNGHqqg4s/GzE0dUJJPuv68mJu5GFTS6sNReNrb1pCINxmck1vF8rMbbb2Be0UYP3O+0nT4fjGxVVbXJC8xTFBIZXX9F2nSOub+O0n4shlENE0aBULphLAqO1QKbQrZbFqYupWUhV1Aa0U46Tmkj+UG132oyWCLRU/HNf2TC4WoB382Fb5Hd7NDM0rh8qhGG3Kg/70/dNuQMcPaJugDNTVoEMqjuedH/x3ppya0oAf7ATQ== rona.halcyondigital@gmail.com
==> homestead: Running provisioner: shell...
    homestead: Running: inline script
==> homestead: Running provisioner: shell...
    homestead: Running: inline script
==> homestead: Running provisioner: shell...
    homestead: Running: inline script
==> homestead: Running provisioner: shell...
    homestead: Running: /tmp/vagrant-shell20190711-9695-1dc1x5h.sh
==> homestead: Running provisioner: shell...
    homestead: Running: /tmp/vagrant-shell20190711-9695-1t6hge4.sh
==> homestead: Running provisioner: shell...
    homestead: Running: script: Creating Certificate: homestead.test
==> homestead: Running provisioner: shell...
    homestead: Running: script: Creating Site: homestead.test
==> homestead: Running provisioner: shell...
    homestead: Running: inline script
==> homestead: Running provisioner: shell...
    homestead: Running: /tmp/vagrant-shell20190711-9695-5i89cj.sh
==> homestead: Running provisioner: shell...
    homestead: Running: script: Checking for old Schedule
==> homestead: Running provisioner: shell...
    homestead: Running: script: Creating Certificate: core-boilerplate.test
==> homestead: Running provisioner: shell...
    homestead: Running: script: Creating Site: core-boilerplate.test
==> homestead: Running provisioner: shell...
    homestead: Running: inline script
==> homestead: Running provisioner: shell...
    homestead: Running: /tmp/vagrant-shell20190711-9695-iwyqwg.sh
==> homestead: Running provisioner: shell...
    homestead: Running: script: Checking for old Schedule
==> homestead: Running provisioner: shell...
    homestead: Running: script: Creating Certificate: filinvest.test
==> homestead: Running provisioner: shell...
    homestead: Running: script: Creating Site: filinvest.test
==> homestead: Running provisioner: shell...
    homestead: Running: inline script
==> homestead: Running provisioner: shell...
    homestead: Running: /tmp/vagrant-shell20190711-9695-c6v9jp.sh
==> homestead: Running provisioner: shell...
    homestead: Running: script: Checking for old Schedule
==> homestead: Running provisioner: shell...
    homestead: Running: script: Creating Certificate: prestige.test
==> homestead: Running provisioner: shell...
    homestead: Running: script: Creating Site: prestige.test
==> homestead: Running provisioner: shell...
    homestead: Running: inline script
==> homestead: Running provisioner: shell...
    homestead: Running: /tmp/vagrant-shell20190711-9695-1glnkgd.sh
==> homestead: Running provisioner: shell...
    homestead: Running: script: Checking for old Schedule
==> homestead: Running provisioner: shell...
    homestead: Running: script: Creating Certificate: aspire.test
==> homestead: Running provisioner: shell...
    homestead: Running: script: Creating Site: aspire.test
==> homestead: Running provisioner: shell...
    homestead: Running: inline script
==> homestead: Running provisioner: shell...
    homestead: Running: /tmp/vagrant-shell20190711-9695-1h8n84w.sh
==> homestead: Running provisioner: shell...
    homestead: Running: script: Checking for old Schedule
==> homestead: Running provisioner: shell...
    homestead: Running: script: Creating Certificate: futura.test
==> homestead: Running provisioner: shell...
    homestead: Running: script: Creating Site: futura.test
==> homestead: Running provisioner: shell...
    homestead: Running: inline script
==> homestead: Running provisioner: shell...
    homestead: Running: /tmp/vagrant-shell20190711-9695-1968sal.sh
==> homestead: Running provisioner: shell...
    homestead: Running: script: Checking for old Schedule
==> homestead: Running provisioner: shell...
    homestead: Running: script: Creating Certificate: north-park-noodles.test
==> homestead: Running provisioner: shell...
    homestead: Running: script: Creating Site: north-park-noodles.test
==> homestead: Running provisioner: shell...
    homestead: Running: inline script
==> homestead: Running provisioner: shell...
    homestead: Running: /tmp/vagrant-shell20190711-9695-6btlf9.sh
==> homestead: Running provisioner: shell...
    homestead: Running: script: Checking for old Schedule
==> homestead: Running provisioner: shell...
    homestead: Running: script: Creating Certificate: phpmyadmin.test
==> homestead: Running provisioner: shell...
    homestead: Running: script: Creating Site: phpmyadmin.test
==> homestead: Running provisioner: shell...
    homestead: Running: inline script
==> homestead: Running provisioner: shell...
    homestead: Running: /tmp/vagrant-shell20190711-9695-ed484s.sh
==> homestead: Running provisioner: shell...
    homestead: Running: script: Checking for old Schedule
==> homestead: Running provisioner: shell...
    homestead: Running: script: Creating Certificate: pikapika.test
==> homestead: Running provisioner: shell...
    homestead: Running: script: Creating Site: pikapika.test
==> homestead: Running provisioner: shell...
    homestead: Running: inline script
==> homestead: Running provisioner: shell...
    homestead: Running: /tmp/vagrant-shell20190711-9695-rxno0u.sh
==> homestead: Running provisioner: shell...
    homestead: Running: script: Checking for old Schedule
==> homestead: Running provisioner: shell...
    homestead: Running: script: Creating Certificate: viva.test
==> homestead: Running provisioner: shell...
    homestead: Running: script: Creating Site: viva.test
==> homestead: Running provisioner: shell...
    homestead: Running: inline script
==> homestead: Running provisioner: shell...
    homestead: Running: /tmp/vagrant-shell20190711-9695-ve1vyf.sh
==> homestead: Running provisioner: shell...
    homestead: Running: script: Checking for old Schedule
==> homestead: Running provisioner: shell...
    homestead: Running: script: Creating Certificate: viva-back.test
==> homestead: Running provisioner: shell...
    homestead: Running: script: Creating Site: viva-back.test
==> homestead: Running provisioner: shell...
    homestead: Running: inline script
==> homestead: Running provisioner: shell...
    homestead: Running: /tmp/vagrant-shell20190711-9695-1o2yq1p.sh
==> homestead: Running provisioner: shell...
    homestead: Running: script: Checking for old Schedule
==> homestead: Running provisioner: shell...
    homestead: Running: script: Creating Certificate: vue-devtools.test
==> homestead: Running provisioner: shell...
    homestead: Running: script: Creating Site: vue-devtools.test
==> homestead: Running provisioner: shell...
    homestead: Running: inline script
==> homestead: Running provisioner: shell...
    homestead: Running: /tmp/vagrant-shell20190711-9695-1dtpiru.sh
==> homestead: Running provisioner: shell...
    homestead: Running: script: Checking for old Schedule
==> homestead: Running provisioner: shell...
    homestead: Running: script: Creating Certificate: yana.test
==> homestead: Running provisioner: shell...
    homestead: Running: script: Creating Site: yana.test
==> homestead: Running provisioner: shell...
    homestead: Running: inline script
==> homestead: Running provisioner: shell...
    homestead: Running: /tmp/vagrant-shell20190711-9695-1u7al6w.sh
==> homestead: Running provisioner: shell...
    homestead: Running: script: Checking for old Schedule
==> homestead: Running provisioner: shell...
    homestead: Running: script: Creating Certificate: gaia.test
==> homestead: Running provisioner: shell...
    homestead: Running: script: Creating Site: gaia.test
==> homestead: Running provisioner: shell...
    homestead: Running: inline script
==> homestead: Running provisioner: shell...
    homestead: Running: /tmp/vagrant-shell20190711-9695-vik2nb.sh
==> homestead: Running provisioner: shell...
    homestead: Running: script: Checking for old Schedule
==> homestead: Running provisioner: shell...
    homestead: Running: script: Creating Certificate: viva-books.test
==> homestead: Running provisioner: shell...
    homestead: Running: script: Creating Site: viva-books.test
==> homestead: Running provisioner: shell...
    homestead: Running: inline script
==> homestead: Running provisioner: shell...
    homestead: Running: /tmp/vagrant-shell20190711-9695-1lrmc1y.sh
==> homestead: Running provisioner: shell...
    homestead: Running: script: Checking for old Schedule
==> homestead: Running provisioner: shell...
    homestead: Running: script: Creating Certificate: yearnings.test
==> homestead: Running provisioner: shell...
    homestead: Running: script: Creating Site: yearnings.test
==> homestead: Running provisioner: shell...
    homestead: Running: inline script
==> homestead: Running provisioner: shell...
    homestead: Running: /tmp/vagrant-shell20190711-9695-umpc8j.sh
==> homestead: Running provisioner: shell...
    homestead: Running: script: Checking for old Schedule
==> homestead: Running provisioner: shell...
    homestead: Running: script: Creating Certificate: fv-online-catalog.test
==> homestead: Running provisioner: shell...
    homestead: Running: script: Creating Site: fv-online-catalog.test
==> homestead: Running provisioner: shell...
    homestead: Running: inline script
==> homestead: Running provisioner: shell...
    homestead: Running: /tmp/vagrant-shell20190711-9695-10a68s2.sh
==> homestead: Running provisioner: shell...
    homestead: Running: script: Checking for old Schedule
==> homestead: Running provisioner: shell...
    homestead: Running: script: Creating Certificate: k-movies.test
==> homestead: Running provisioner: shell...
    homestead: Running: script: Creating Site: k-movies.test
==> homestead: Running provisioner: shell...
    homestead: Running: inline script
==> homestead: Running provisioner: shell...
    homestead: Running: /tmp/vagrant-shell20190711-9695-19zaf35.sh
==> homestead: Running provisioner: shell...
    homestead: Running: script: Checking for old Schedule
==> homestead: Running provisioner: shell...
    homestead: Running: script: Clear Variables
==> homestead: Running provisioner: shell...
    homestead: Running: script: Restarting Cron
==> homestead: Running provisioner: shell...
    homestead: Running: script: Restarting Nginx
==> homestead: Running provisioner: shell...
    homestead: Running: script: Creating MySQL Database: homestead
==> homestead: Running provisioner: shell...
    homestead: Running: script: Creating Postgres Database: homestead
==> homestead: Running provisioner: shell...
    homestead: Running: script: Creating MySQL Database: core_boilerplate
==> homestead: Running provisioner: shell...
    homestead: Running: script: Creating Postgres Database: core_boilerplate
==> homestead: Running provisioner: shell...
    homestead: Running: script: Creating MySQL Database: filinvest
==> homestead: Running provisioner: shell...
    homestead: Running: script: Creating Postgres Database: filinvest
==> homestead: Running provisioner: shell...
    homestead: Running: script: Creating MySQL Database: north_park_noodles
==> homestead: Running provisioner: shell...
    homestead: Running: script: Creating Postgres Database: north_park_noodles
==> homestead: Running provisioner: shell...
    homestead: Running: script: Creating MySQL Database: pikapika
==> homestead: Running provisioner: shell...
    homestead: Running: script: Creating Postgres Database: pikapika
==> homestead: Running provisioner: shell...
    homestead: Running: script: Creating MySQL Database: viva
==> homestead: Running provisioner: shell...
    homestead: Running: script: Creating Postgres Database: viva
==> homestead: Running provisioner: shell...
    homestead: Running: script: Creating MySQL Database: viva_back
==> homestead: Running provisioner: shell...
    homestead: Running: script: Creating Postgres Database: viva_back
==> homestead: Running provisioner: shell...
    homestead: Running: script: Creating MySQL Database: yana
==> homestead: Running provisioner: shell...
    homestead: Running: script: Creating Postgres Database: yana
==> homestead: Running provisioner: shell...
    homestead: Running: script: Creating MySQL Database: gaia
==> homestead: Running provisioner: shell...
    homestead: Running: script: Creating Postgres Database: gaia
==> homestead: Running provisioner: shell...
    homestead: Running: script: Creating MySQL Database: viva-books
==> homestead: Running provisioner: shell...
    homestead: Running: script: Creating Postgres Database: viva-books
==> homestead: Running provisioner: shell...
    homestead: Running: script: Creating MySQL Database: yearnings
==> homestead: Running provisioner: shell...
    homestead: Running: script: Creating Postgres Database: yearnings
==> homestead: Running provisioner: shell...
    homestead: Running: script: Creating MySQL Database: fv_online_catalog
==> homestead: Running provisioner: shell...
    homestead: Running: script: Creating Postgres Database: fv_online_catalog
==> homestead: Running provisioner: shell...
    homestead: Running: script: Creating MySQL Database: k_movies
==> homestead: Running provisioner: shell...
    homestead: Running: script: Creating Postgres Database: k_movies
==> homestead: Running provisioner: shell...
    homestead: Running: script: Update Composer
    homestead: You are already using composer version 1.8.6 (stable channel).
==> homestead: Running provisioner: shell...
    homestead: Running: /tmp/vagrant-shell20190711-9695-1ntxd78.sh
==> homestead: Running provisioner: shell...
    homestead: Running: script: Update motd
==> homestead: Running provisioner: shell...
    homestead: Running: /tmp/vagrant-shell20190711-9695-1vprn6i.sh
    homestead: Reading package lists...
    homestead: Building dependency tree...
    homestead: Reading state information...
    homestead: The following NEW packages will be installed:
    homestead:   jpegoptim
    homestead: 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
    homestead: Need to get 18.9 kB of archives.
    homestead: After this operation, 52.2 kB of additional disk space will be used.
    homestead: Get:1 http://archive.ubuntu.com/ubuntu bionic/universe amd64 jpegoptim amd64 1.4.4-1 [18.9 kB]
    homestead: dpkg-preconfigure: unable to re-open stdin: No such file or directory
    homestead: Fetched 18.9 kB in 1s (24.7 kB/s)
    homestead: Selecting previously unselected package jpegoptim.
    homestead: (Reading database ... 
    homestead: (Reading database ... 5%
    homestead: (Reading database ... 10%
    homestead: (Reading database ... 15%
    homestead: (Reading database ... 20%
    homestead: (Reading database ... 25%
    homestead: (Reading database ... 30%
    homestead: (Reading database ... 35%
    homestead: (Reading database ... 40%
    homestead: (Reading database ... 45%
    homestead: (Reading database ... 50%
    homestead: (Reading database ... 55%
    homestead: (Reading database ... 60%
    homestead: (Reading database ... 65%
    homestead: (Reading database ... 70%
    homestead: (Reading database ... 75%
    homestead: (Reading database ... 80%
    homestead: (Reading database ... 85%
    homestead: (Reading database ... 90%
    homestead: (Reading database ... 95%
(Reading database ... 159195 files and directories currently installed.)
    homestead: Preparing to unpack .../jpegoptim_1.4.4-1_amd64.deb ...
    homestead: Unpacking jpegoptim (1.4.4-1) ...
    homestead: Setting up jpegoptim (1.4.4-1) ...
    homestead: Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
    homestead: Reading package lists...
    homestead: Building dependency tree...
    homestead: 
    homestead: Reading state information...
    homestead: The following NEW packages will be installed:
    homestead:   optipng
    homestead: 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
    homestead: Need to get 83.4 kB of archives.
    homestead: After this operation, 184 kB of additional disk space will be used.
    homestead: Get:1 http://archive.ubuntu.com/ubuntu bionic/main amd64 optipng amd64 0.7.6-1.1 [83.4 kB]
    homestead: dpkg-preconfigure: unable to re-open stdin: No such file or directory
    homestead: Fetched 83.4 kB in 1s (83.1 kB/s)
    homestead: Selecting previously unselected package optipng.
    homestead: (Reading database ... 
(Reading database ... 55%atabase ... 5%
    homestead: (Reading database ... 60%
    homestead: (Reading database ... 65%
    homestead: (Reading database ... 70%
    homestead: (Reading database ... 75%
    homestead: (Reading database ... 80%
    homestead: (Reading database ... 85%
    homestead: (Reading database ... 90%
    homestead: (Reading database ... 95%
(Reading database ... 159202 files and directories currently installed.)
    homestead: Preparing to unpack .../optipng_0.7.6-1.1_amd64.deb ...
    homestead: Unpacking optipng (0.7.6-1.1) ...
    homestead: Setting up optipng (0.7.6-1.1) ...
    homestead: Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
    homestead: Reading package lists...
    homestead: Building dependency tree...
    homestead: 
    homestead: Reading state information...
    homestead: The following NEW packages will be installed:
    homestead:   pngquant
    homestead: 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
    homestead: Need to get 35.6 kB of archives.
    homestead: After this operation, 92.2 kB of additional disk space will be used.
    homestead: Get:1 http://archive.ubuntu.com/ubuntu bionic/universe amd64 pngquant amd64 2.5.0-2 [35.6 kB]
    homestead: dpkg-preconfigure: unable to re-open stdin: No such file or directory
    homestead: Fetched 35.6 kB in 1s (49.3 kB/s)
    homestead: Selecting previously unselected package pngquant.
    homestead: (Reading database ... 
(Reading database ... 20%atabase ... 5%
(Reading database ... 55%atabase ... 25%
    homestead: (Reading database ... 60%
    homestead: (Reading database ... 65%
    homestead: (Reading database ... 70%
    homestead: (Reading database ... 75%
    homestead: (Reading database ... 80%
    homestead: (Reading database ... 85%
    homestead: (Reading database ... 90%
    homestead: (Reading database ... 95%
(Reading database ... 159216 files and directories currently installed.)
    homestead: Preparing to unpack .../pngquant_2.5.0-2_amd64.deb ...
    homestead: Unpacking pngquant (2.5.0-2) ...
    homestead: Setting up pngquant (2.5.0-2) ...
    homestead: Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
    homestead: /usr/bin/svgo -> /usr/lib/node_modules/svgo/bin/svgo
    homestead: + svgo@1.2.2
    homestead: added 49 packages from 83 contributors in 2.354s
    homestead: Reading package lists...
    homestead: Building dependency tree...
    homestead: 
    homestead: Reading state information...
    homestead: The following NEW packages will be installed:
    homestead:   gifsicle
    homestead: 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
    homestead: Need to get 134 kB of archives.
    homestead: After this operation, 385 kB of additional disk space will be used.
    homestead: Get:1 http://archive.ubuntu.com/ubuntu bionic/universe amd64 gifsicle amd64 1.91-2 [134 kB]
    homestead: dpkg-preconfigure: unable to re-open stdin: No such file or directory
    homestead: Fetched 134 kB in 1s (118 kB/s)
    homestead: Selecting previously unselected package gifsicle.
    homestead: (Reading database ... 
(Reading database ... 40%atabase ... 5%
    homestead: (Reading database ... 45%
(Reading database ... 55%atabase ... 50%
    homestead: (Reading database ... 60%
    homestead: (Reading database ... 65%
    homestead: (Reading database ... 70%
    homestead: (Reading database ... 75%
    homestead: (Reading database ... 80%
    homestead: (Reading database ... 85%
    homestead: (Reading database ... 90%
    homestead: (Reading database ... 95%
(Reading database ... 159222 files and directories currently installed.)
    homestead: Preparing to unpack .../gifsicle_1.91-2_amd64.deb ...
    homestead: Unpacking gifsicle (1.91-2) ...
    homestead: Setting up gifsicle (1.91-2) ...
    homestead: Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
lloricode commented 5 years ago

then on ssh running composer install -vvv

vagrant@homestead:~/code/core-boilerplate$ composer install -vvv
Reading ./composer.json
Loading config file /home/vagrant/.composer/config.json
Loading config file /home/vagrant/.composer/auth.json
Loading config file ./composer.json
Checked CA file /etc/ssl/certs/ca-certificates.crt: valid
Executing command (/home/vagrant/code/core-boilerplate): git branch --no-color --no-abbrev -v
Reading /home/vagrant/.composer/composer.json
Loading config file /home/vagrant/.composer/config.json
Loading config file /home/vagrant/.composer/auth.json
Loading config file /home/vagrant/.composer/composer.json
Loading config file /home/vagrant/.composer/auth.json
Reading /home/vagrant/.composer/auth.json
Reading /home/vagrant/code/core-boilerplate/vendor/composer/installed.json
Reading /home/vagrant/.composer/vendor/composer/installed.json
Loading plugin Hirak\Prestissimo\Plugin
Running 1.8.6 (2019-06-11 15:03:05) with PHP 7.2.19-1+ubuntu18.04.1+deb.sury.org+1 on Linux / 4.15.0-54-generic
Reading ./composer.lock
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Reading ./composer.lock
Resolving dependencies through SAT
Looking at all rules.

Dependency resolution completed in 0.002 seconds
Analyzed 293 packages to resolve dependencies
Analyzed 896 rules to resolve dependencies
Package operations: 84 installs, 0 updates, 0 removals
Installs: halcyon-laravel/helpers:v1.0.4, halcyon-laravel/audit-history:v1.0.8, hieu-le/active:3.5.1, jakub-onderka/php-console-color:v0.2, league/oauth1-client:1.7.0, laravel/socialite:v4.1.3, nikic/php-parser:v4.2.2, jakub-onderka/php-console-highlighter:v0.4, dnoegel/php-xdg-base-dir:0.1, psy/psysh:v0.9.9, laravel/tinker:v1.0.8, laravelium/sitemap:v3.1.1, intervention/image:2.5.0, league/glide:1.5.0, prettus/laravel-validation:1.1.5, prettus/l5-repository:2.6.32, spatie/image-optimizer:1.1.5, spatie/laravel-html:2.22.0, spatie/temporary-directory:1.1.4, spatie/pdf-to-image:1.8.1, spatie/image:1.7.2, maennchen/zipstream-php:v0.5.2, spatie/laravel-medialibrary:7.6.1, spatie/laravel-translatable:4.1.2, unisharp/laravel-ckeditor:4.7.2, unisharp/laravel-filemanager:v1.9.2, webpatser/laravel-uuid:3.0.2, yajra/laravel-datatables-oracle:v9.4.1, maximebf/debugbar:v1.15.0, barryvdh/laravel-debugbar:v3.2.4, symfony/filesystem:v4.3.2, seld/phar-utils:1.0.1, seld/jsonlint:1.7.1, justinrainbow/json-schema:5.2.8, composer/xdebug-handler:1.3.3, composer/spdx-licenses:1.5.1, composer/semver:1.5.0, composer/ca-bundle:1.1.4, composer/composer:1.8.6, barryvdh/reflection-docblock:v2.0.6, barryvdh/laravel-ide-helper:v2.6.2, beyondcode/laravel-dump-server:1.2.2, fzaninotto/faker:v1.8.0, gmsantos/inspiring:v2.1.1, spatie/laravel-sluggable:2.1.8, spatie/laravel-permission:2.37.0, php-school/terminal:0.2.0, beberlei/assert:v3.2.1, php-school/cli-menu:3.2.0, nunomaduro/laravel-console-menu:v2.1.0, halcyon-laravel/base:v5.0.15, halcyon-laravel/module:v5.0.1, hamcrest/hamcrest-php:v2.0.0, mockery/mockery:1.2.2, filp/whoops:2.4.1, nunomaduro/collision:v3.0.1, webmozart/assert:1.4.0, phpdocumentor/reflection-common:1.0.1, phpdocumentor/type-resolver:0.4.0, phpdocumentor/reflection-docblock:4.3.1, phpunit/php-token-stream:3.0.2, sebastian/version:2.0.1, sebastian/type:1.1.3, sebastian/resource-operations:2.0.1, sebastian/recursion-context:3.0.0, sebastian/object-reflector:1.1.1, sebastian/object-enumerator:3.0.3, sebastian/global-state:3.0.0, sebastian/exporter:3.1.0, sebastian/environment:4.2.2, sebastian/diff:3.0.2, sebastian/comparator:3.0.2, phpunit/php-timer:2.1.2, phpunit/php-text-template:1.2.1, phpunit/php-file-iterator:2.0.2, theseer/tokenizer:1.1.3, sebastian/code-unit-reverse-lookup:1.0.1, phpunit/php-code-coverage:7.0.6, doctrine/instantiator:1.2.0, phpspec/prophecy:1.8.1, phar-io/version:2.0.1, phar-io/manifest:1.0.3, myclabs/deep-copy:1.9.1, phpunit/phpunit:8.2.4
  - Installing halcyon-laravel/helpers (v1.0.4): Executing command (CWD): git --version

    Cloning to cache at '/home/vagrant/.composer/cache/vcs/git-bitbucket.org-halcyonlaravel-helpers.git/'
Executing command (/home/vagrant/.composer/cache/vcs/git-bitbucket.org-halcyonlaravel-helpers.git/): git rev-parse --git-dir
Executing command (/home/vagrant/.composer/cache/vcs/git-bitbucket.org-halcyonlaravel-helpers.git/): git rev-parse --quiet --verify '5b83bc63000f0678f6aa66b0fef3ca02fe5af1f8^{commit}'
Cloning 5b83bc63000f0678f6aa66b0fef3ca02fe5af1f8 from cache
Executing command (CWD): git clone --no-checkout '/home/vagrant/.composer/cache/vcs/git-bitbucket.org-halcyonlaravel-helpers.git/' '/home/vagrant/code/core-boilerplate/vendor/halcyon-laravel/helpers' --dissociate --reference '/home/vagrant/.composer/cache/vcs/git-bitbucket.org-halcyonlaravel-helpers.git/' && cd '/home/vagrant/code/core-boilerplate/vendor/halcyon-laravel/helpers' && git remote set-url origin 'git@bitbucket.org:halcyonlaravel/helpers.git' && git remote add composer 'git@bitbucket.org:halcyonlaravel/helpers.git'
Executing command (CWD): rm -rf '/home/vagrant/code/core-boilerplate/vendor/halcyon-laravel/helpers'
Executing command (CWD): git --version
Failed: [RuntimeException] Failed to execute git clone --no-checkout '/home/vagrant/.composer/cache/vcs/git-bitbucket.org-halcyonlaravel-helpers.git/' '/home/vagrant/code/core-boilerplate/vendor/halcyon-laravel/helpers' --dissociate --reference '/home/vagrant/.composer/cache/vcs/git-bitbucket.org-halcyonlaravel-helpers.git/' && cd '/home/vagrant/code/core-boilerplate/vendor/halcyon-laravel/helpers' && git remote set-url origin 'git@bitbucket.org:halcyonlaravel/helpers.git' && git remote add composer 'git@bitbucket.org:halcyonlaravel/helpers.git'

  [RuntimeException]                                                                                                                                                                                                                         
  Failed to execute git clone --no-checkout '/home/vagrant/.composer/cache/vcs/git-bitbucket.org-halcyonlaravel-helpers.git/' '/home/vagrant/code/core-boilerplate/vendor/halcyon-laravel/helpers' --dissociate --reference '/home/vagrant/  
  .composer/cache/vcs/git-bitbucket.org-halcyonlaravel-helpers.git/' && cd '/home/vagrant/code/core-boilerplate/vendor/halcyon-laravel/helpers' && git remote set-url origin 'git@bitbucket.org:halcyonlaravel/helpers.git' && git remote a  
  dd composer 'git@bitbucket.org:halcyonlaravel/helpers.git'                                                                                                                                                                                 

Exception trace:
 () at phar:///usr/local/bin/composer/src/Composer/Util/Git.php:354
 Composer\Util\Git->throwException() at phar:///usr/local/bin/composer/src/Composer/Util/Git.php:221
 Composer\Util\Git->runCommand() at phar:///usr/local/bin/composer/src/Composer/Downloader/GitDownloader.php:83
 Composer\Downloader\GitDownloader->doDownload() at phar:///usr/local/bin/composer/src/Composer/Downloader/VcsDownloader.php:90
 Composer\Downloader\VcsDownloader->download() at phar:///usr/local/bin/composer/src/Composer/Downloader/DownloadManager.php:216
 Composer\Downloader\DownloadManager->download() at phar:///usr/local/bin/composer/src/Composer/Installer/LibraryInstaller.php:197
 Composer\Installer\LibraryInstaller->installCode() at phar:///usr/local/bin/composer/src/Composer/Installer/LibraryInstaller.php:101
 Composer\Installer\LibraryInstaller->install() at phar:///usr/local/bin/composer/src/Composer/Installer/InstallationManager.php:173
 Composer\Installer\InstallationManager->install() at phar:///usr/local/bin/composer/src/Composer/Installer/InstallationManager.php:160
 Composer\Installer\InstallationManager->execute() at phar:///usr/local/bin/composer/src/Composer/Installer.php:595
 Composer\Installer->doInstall() at phar:///usr/local/bin/composer/src/Composer/Installer.php:229
 Composer\Installer->run() at phar:///usr/local/bin/composer/src/Composer/Command/InstallCommand.php:122
 Composer\Command\InstallCommand->execute() at phar:///usr/local/bin/composer/vendor/symfony/console/Command/Command.php:245
 Symfony\Component\Console\Command\Command->run() at phar:///usr/local/bin/composer/vendor/symfony/console/Application.php:835
 Symfony\Component\Console\Application->doRunCommand() at phar:///usr/local/bin/composer/vendor/symfony/console/Application.php:185
 Symfony\Component\Console\Application->doRun() at phar:///usr/local/bin/composer/src/Composer/Console/Application.php:258
 Composer\Console\Application->doRun() at phar:///usr/local/bin/composer/vendor/symfony/console/Application.php:117
 Symfony\Component\Console\Application->run() at phar:///usr/local/bin/composer/src/Composer/Console/Application.php:104
 Composer\Console\Application->run() at phar:///usr/local/bin/composer/bin/composer:61
 require() at /usr/local/bin/composer:24

install [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--no-custom-installers] [--no-autoloader] [--no-scripts] [--no-progress] [--no-suggest] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--ignore-platform-reqs] [--] [<packages>]...
lloricode commented 5 years ago

im using homestead v9.0.3

svpernova09 commented 5 years ago

Please open a new issue and fill out the template completely.

--

MECU commented 5 years ago

I had the same issue and it turned out that a mismatch in GuestAdditions versions was the culprit. If you are seeing something like GuestAdditions versions on your host (5.2.18) and guest (6.0.8) do not match. when you vagrant up then try the following:

Don't do this when you're off by a major version. Everyone should be running Virtualbox 6.x these days.

I think you read this backwards. If the GuestAdditions is v5.x, then upgrading to v6.x should be done. I had the same problem and upgrading the GuestAddtions solved it for me.

ploaiza commented 5 years ago

Upgrading my virtual box from 5.2 to 6 cleared this error up for me. Check for updates from within virtual box will not tell you about nor allow you to download version 6. You'll need to download v6 by hand.

svpernova09 commented 5 years ago

I had Taylor lock this thread. The past several replies have restated the solution, which is to Upgrade to Virtualbox 6.x, the thread is locked to prevent other issues that are not related from being dogpiled on here.