Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Composer update warning #806

Closed
it-can opened this issue Feb 6, 2018 · 3 comments
Closed

Composer update warning #806

it-can opened this issue Feb 6, 2018 · 3 comments

Comments

@it-can
Copy link
Contributor

it-can commented Feb 6, 2018

Versions

  • Vagrant: Vagrant 2.0.2
  • Provider: VMWare Fusion 10
  • Mac OS X High Sierra 10.13.3

I updated my Laravel Homestead box to laravel/homestead (vmware_desktop, 5.1.0)

When running vagrant reload --provision I noticed a error thrown by Composer.

==> homestead-7: Running provisioner: shell...
    homestead-7: Running: script: Update Composer
    homestead-7: You are running composer as "root", while "/home/vagrant/.composer" is owned by "vagrant"
    homestead-7: You are already using composer version 1.6.3 (stable channel).
@svpernova09
Copy link
Collaborator

This is nothing to worry about. This is the result of an upstream change to ensure .composer is owned by the vagrant user.

@antoclk
Copy link

antoclk commented Jul 6, 2018

i get this error too and won't let me run correctly my homestead.test

@islander
Copy link

islander commented Sep 25, 2018

Same here, provisioning not working:

==> homestead-7: Running provisioner: shell...
     homestead-7: Running: /tmp/vagrant-shell20180925-16933-bpwcx0.sh
==> homestead-7: Running provisioner: shell...
    homestead-7: Running: /tmp/vagrant-shell20180925-16933-w7699k.sh

After this code directory is empty and i need to make vagrant@homestead:~$ composer create-project --prefer-dist laravel/laravel code to get things done.

My setup:

Ubuntu 18.04.1
VirtualBox 5.2.10

My Homestead.yaml

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

authorize: ~/.ssh/id_ed25519.pub

keys:
    - ~/.ssh/id_ed25519

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

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

databases:
    - homestead

UPD: I think, this is by design, there is no provisioning for bootstrapping laravel inside VM?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants