Error while setting up Vagrant box for Bahmni using vagrant up

HELLO… please help me, have downloaded tht vagrant box manually and and edited the following like this

"# Change this value as below config.vm.box = “my-bahmni-box”

Add this line to point the url to the package.box

config.vm.box_url = “file:///d:/my-bahmni-vagrant/package.box”

but when i execute the vagrant up command i this error about the sysntax "Microsoft Windows [Version 10.0.10240] © 2015 Microsoft Corporation. All rights reserved.

C:\Users\morenamt>cd bahmni vagrant The system cannot find the path specified.

C:\Users\morenamt>cd bahmni-vagrant

C:\Users\morenamt\bahmni-vagrant>vagrant up There is a syntax error in the following Vagrantfile. The syntax error message is reproduced below for convenience:

C:/Users/morenamt/bahmni-vagrant/Vagrantfile:6: syntax error, unexpected tIDENTIFIER, expecting keyword_end …ni-vagrant/package.box" config.vm.box_check_update = true … ^

C:\Users\morenamt\bahmni-vagrant>"

how can i resolve it?

Can you please paste the contents of the file “Vagrantfile” in your bahmni-vagrant folder? You can use http://pastebin.com to paste your file contents, and then put the pastebin link here in this discussion.

thank you for getting back to me… here is the link http://pastebin.com/K0kuruYr

do you have package.box in your machine ?

yes i do have it @sravanthi17

I see two issues:

  1. Your file has “config.vm.box_url” and “config.vm.box_check_update” on the same line. They should be in different lines in the file, like this:

    config.vm.box_url = “file:///d:/my-bahmni-vagrant/package.box”
    config.vm.box_check_update = true

  2. The path of the URL (config.vm.box_url) in the Vagrantfile is: file:///d:/my-bahmni-vagrant/package.box. Is the location where you downloaded package.box file, the one mentioned here, or is it different. If you downloaded the package.box file to say: C:/Users/morenamt/, then you should set this variable to: file:///c:/Users/morenamt/package.box (note the slash direction is forward / ).

After you make these changes, and have downloaded package.box in the right location, please retry. If you still get an error, please paste the Vagrantfile again, and the location of your package.box file in your machine.

thank you let me get to it and see if it will work

Alternate solution:

vagrant box add my-bahmni-box file:///d:/my-bahmni-vagrant/package.box
vagrant init my-bahmni-box

You can remove the line below from your file[quote=“morena, post:3, topic:7434”] config.vm.box_url = “file:///d:/my-bahmni-vagrant/package.box” [/quote]

then go ahead with vagrant up

thank you guys a lot, its unpacking now

thanks again

thank you it worked

now um getting this error during the installatio

http://pastebin.com/sz4j2vnV

whats the output for vagrant box list

Are you running Vagrant on Windows 10? If yes, please read this discussion: Unable to download Vagrant box - cannot find box error (windows 10) A solution is mentioned at the bottom of the discussion.

where do i find tht file?

@gsluthrai did install those files before installing vagrant

i did install those files before i installed vagrant

Hi, Its the Virtualbox version compatability issue with Windows 10. Can you please follow the below thread for the fix. https://www.virtualbox.org/ticket/14040

i managed to fix the error but now im unable to login to the virtual machine, it requires localhost login username and password which i do not know nor setup