2015-07-13 6 views
8

मैं लैपटॉप पर विंडोज 8.1 64-बिट चला रहा हूं।वग्रेंट अप त्रुटि,/वारंटी के स्वामित्व को बदलना: निर्देशिका नहीं

मैं अपने Laravel परियोजनाओं के लिए एक सेटअप एक रियासत की कोशिश करने के लिए इस गाइड का पालन किया गया है: laravel installation and setup

गाइड tldr: तुम बस आवारा, आभासी बॉक्स और संगीतकार स्थापित करें। आप इन्हें होमस्टेड प्राप्त करने के लिए उपयोग करते हैं, फिर आरंभ करें और इंस्टॉल करें। आप अपने homestead.yaml को कॉन्फ़िगर करते हैं और एसएसएच कुंजी उत्पन्न करते हैं। इसके बाद आप योनि को अपने विकास पर्यावरण और अपने सभी सामानों के साथ अपनी अनुवांशिक मशीन स्थापित करने के लिए योनि का उपयोग करते हैं।

गिट बैश का उपयोग करके, मैं गाइड का पालन करता हूं और 'वानर अप' भाग प्राप्त करता हूं।

$ 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: 443 => 44300 (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: Warning: Remote connection disconnect. Retrying... 
    default: 
    default: Vagrant insecure key detected. Vagrant will automatically replace 
    default: this with a newly generated keypair for better security. 
    default: 
    default: Inserting generated public key within guest... 
    default: Removing insecure key from the guest if it's present... 
    default: Key inserted! Disconnecting and reconnecting using new SSH key... 
==> 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 o 
f 
    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 t 
he 
    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.3.14 
    default: VirtualBox Version: 5.0 
==> default: Setting hostname... 
==> default: Configuring and enabling network interfaces... 
==> default: Mounting shared folders... 
    default: /vagrant => C:/Users/Work/Homestead/Homestead 
The following SSH command responded with a non-zero exit status. 
Vagrant assumes that this means the command failed! 

chown `id -u vagrant`:`id -g vagrant` /vagrant 

Stdout from the command: 

Stderr from the command: 

chown: changing ownership of ���/vagrant���: Not a directory 

मैं व्यवस्थापक के रूप में Git पार्टी चलाने:

यहाँ जहां यह बालों हो जाता है, मैं निम्नलिखित त्रुटि मिलती है। मेरी .yaml फ़ाइल इस

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

authorize: C:/Users/Work/.ssh/id_rsa.pub 

keys: 
    - C:/Users/Work/.ssh/id_rsa 

folders: 
    - map: C:/Users/Work/Projects 
     to: /home/vagrant/Code 

sites: 
    - map: homestead.app 
     to: /home/vagrant/Code/Laravel/public 

databases: 
    - homestead 

variables: 
    - key: APP_ENV 
     value: local 

मैं Vagrant और आभासी बॉक्स के नवीनतम संस्करण मिल की तरह दिखता है।

ऐसा लगता है कि त्रुटि अमान्य होने के पथ से आती है, लेकिन मेरी यम फ़ाइल को सही होना चाहिए क्योंकि मुझे समझ में नहीं आता कि इसे कैसे हल किया जाए।

मैंने सफलतापूर्वक अन्य विंडोज 8.1 स्थिर पीसी पर होमस्टेड पर्यावरण स्थापित किया लेकिन मुझे कभी भी इस त्रुटि का सामना नहीं हुआ।

मदद की बहुत सराहना कर रहा है

+0

जांच इस https://github.com/mitchellh/vagrant/issues/5933 –

+0

एक ही त्रुटि के लिए इस बग यहां, यह एक सापेक्ष नई बग है, कल –

उत्तर

2

मैंने इसे अभी बनाया है।

  • तो आपके पास वग्रेंट और नवीनतम वर्चुअलबॉक्स है।
  • अब अपना कंप्यूटर पुनरारंभ
  • अगर आप इसे प्रतिष्ठानों
  • स्थापना रद्द vbox 5.0
  • पुनः प्रारंभ फिर से कंप्यूटर
  • डाउनलोड के किसी भी के बाद भी नहीं किया और AMD/86
  • भागो vagrant up के लिए 4.3.30 स्थापित और वहाँ आप
+0

द्वारा तय किया जाना चाहिए यह वास्तव में आपको त्रुटि का जवाब देता है :) – Snoozles

0

नहीं 100% यकीन है कि लेकिन यह कैसा लगता है, आवारा वह अपने स्थानीय सेल्सियस के लिए डिफ़ॉल्ट "/ आवारा" फ़ोल्डर है मैप करने के लिए कोशिश कर रहा है:/उपयोगकर्ताओं/कार्य/Homestead/Homestead। यदि स्थानीय मौजूद नहीं है या इसमें कुछ अनुमति त्रुटियां हैं, तो/योनि नहीं बनाया जाएगा और इसके बाद अगला आदेश विफल हो जाएगा। एक नजर रखें यदि सी:/उपयोगकर्ता/कार्य/होमस्टेड/होमस्टेड बनाया गया है। और मुझे यह भी आपके yaml में मैपिंग नहीं दिख रहा है।/vagrant => सी:/उपयोगकर्ता/काम/होमस्टेड/होमस्टेड। क्या आपकी कॉन्फ़िगरेशन कुछ के साथ ओवरराइट नहीं की जा रही है?

1

तो, यहां बताया गया है कि मैं वास्तव में इसे कैसे ठीक करने में कामयाब रहा।

वाग्रेंट (1.3.5) और वर्चुअलबॉक्स (4.3.4) के नवीनतम संस्करण विंडोज पर बिल्कुल एक साथ नहीं खेलते हैं। इसलिए, मैंने वग्रेंट 1.3.5 रखा और वर्चुअलबॉक्स 4.2.2 पर चला गया।

एक बार जब आप आप एक जोड़ी फ़ोल्डरों से छुटकारा पाने के लिए इतना है कि सब कुछ अपने आप में सही ढंग से रीसेट करता है, है:

Users\<<USERNAME>>\.VirtualBox 
Users\<<USERNAME>>\.vagrant.d 

vagrant up 
इसी के साथ

को चलाने के लिए प्रयास करने से पहले उन हटाएँ, मैं था सबकुछ फिर से चलने में सक्षम। हालांकि, मैंने देखा है कि चलने वाले योनि की तुलना में पहले की तुलना में धीमी गति से चलती है। मैं इसके साथ रह सकता हूं। आपकी सभी मदद और सुझावों के लिए धन्यवाद।

4

मिशेल हमारे लिए पुष्टि की है कि इस नवीनतम संस्करण में एक बग था कर रहे हैं, यह अब तक ठीक किया गया: इस मुद्दे पर देखो और प्रासंगिक https://github.com/mitchellh/vagrant/issues/5933

0 प्रतिबद्ध
1

वर्तमान में वग्रेंट (< = 1.7.3) वर्चुअलबॉक्स 5.0 के साथ एक बग है।

https://github.com/mitchellh/vagrant/issues/5933

Vagrant 1.7.4 के अनुसार वीबी 5.0 के लिए इसका कोई सुधार होगा। यद्यपि मैं गिथूब मुद्दे पर उल्लेख करता हूं, हालांकि इसे पेड़ में लागू किया जा सकता है।

+1

यह वही त्रुटि-संदेश वग्रेंट 1.8.1 और वर्चुअलबॉक्स 5.0.0 का उपयोग करते समय उत्पन्न होता है। मैंने अभी तक वर्चुअलबॉक्स 5.0.10 के साथ परीक्षण नहीं किया है जो अब उपलब्ध है। – gkephorus

+0

वर्चुअलबॉक्स 5.0.18 आर 106667 और वाग्रेंट 1.8.1 मेरे लिए काम करता है – Florian

0

यदि आपको यह संदेश मिलता है, तो होस्ट मशीन पर वर्चुअलबॉक्स संस्करण से मिलान करने का प्रयास करें, जो समस्या को हल करेगा।

डिफ़ॉल्ट: इस वीएम पर अतिथि परिवर्धन डिफ़ॉल्ट के स्थापित संस्करण से मेल नहीं खाता है: वर्चुअलबॉक्स! ज्यादातर मामलों में यह ठीक है, लेकिन दुर्लभ मामलों में यह डिफ़ॉल्ट हो सकता है: साझा फ़ोल्डर जैसे चीजों को ठीक से काम करने से रोकें। यदि आप डिफ़ॉल्ट देखते हैं: साझा फ़ोल्डर त्रुटियां, कृपया सुनिश्चित करें कि डिफ़ॉल्ट में अतिथि परिवर्धन: वर्चुअल मशीन वर्चुअलबॉक्स के संस्करण से मेल खाता है जिसे आपने डिफ़ॉल्ट पर स्थापित किया है: आपका होस्ट और अपना वीएम पुनः लोड करें। डिफ़ॉल्ट: डिफ़ॉल्ट: अतिथि परिवर्धन संस्करण: 4.3.10 डिफ़ॉल्ट: VirtualBox के संस्करण: 5.0

संबंधित मुद्दे