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 root permision error during "vagrant up" #811

Closed
dabagab opened this issue Feb 7, 2018 · 2 comments
Closed

Composer root permision error during "vagrant up" #811

dabagab opened this issue Feb 7, 2018 · 2 comments

Comments

@dabagab
Copy link

dabagab commented Feb 7, 2018

Composer error:
You are running composer as "root", while "/home/vagrant/.composer" is owned by "vagrant"
You are already using composer version 1.6.3 (stable channel).

Versions

  • Vagrant: 2.0.1
  • Provider: Virtualbox 5.2.6
  • Homestead: This command not available, but I just used git clone command to get the latest 30 minutes ago.

A lot of issues can be resolved by simply updating vagrant, provider or homestead.

Note: Virtualbox users, please upgrade to ~5.2. You will show as up-to-date from the ~5.0 version when you About -> Check for Updates. You'll need to download a newer version of Virtualbox.

Host operating system

Fedora 27

Homestead.yaml

ip: "192.168.10.10"
memory: 1024
cpus: 1
provider: virtualbox

authorize: ~/.ssh/id_rsa.pub

keys:
    - ~/.ssh/id_rsa

folders:
    - map: ~/Projects/yyy
      to: /home/vagrant/yyy

sites:
    - map: symfony-app.test
      to: /home/vagrant/yyy/public
      type: symfony4

databases:
    - homestead

Vagrant destroy & up output

VagrantUP
Proble is in the line: 135-136

Expected behavior

composer command could run automatically

Actual behavior

I have to ssh login to the Homestead and then manually running the composer command.

Steps to reproduce

  1. Git clone "this repository"
  2. Running "vagrant up"

References

I did not find. Maybe this stackoverflow entry.

@svpernova09
Copy link
Collaborator

#806 (comment)

@svpernova09
Copy link
Collaborator

Thanks for reporting the issue, see the comment link above ^

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

2 participants