rjurney / Agile_Data_Code_2

Code for Agile Data Science 2.0, O'Reilly 2017, Second Edition
http://bit.ly/agile_data_science
MIT License
456 stars 306 forks source link

issue with manual_install.sh #115

Closed hszkf closed 4 years ago

hszkf commented 4 years ago

Hi, I am having a problem when executing manual_install.sh. I didnt set up any vagrant, just git clone and setup PROJECT_HOME and run ./manual_install.sh. All is done in digitalocean ubuntu18 16gb ram.

Would you help me with that, please?

rjurney commented 4 years ago

I’m going to remove manual_install.sh since it hasn’t been updated in a long time and I don’t support it. I do support the Vagrant environment, so my suggestion is to either run Vagrant on digital ocean or adapt the Vagrant script (bootstrap.sh) to work for you. It shouldn’t be too hard.

hszkf commented 4 years ago

Still didnt work, what I did was :

The errors were :


vagrant:
* The following settings shouldn't exist: plugins

Vagrant:
* Unknown configuration section 'disksize'.

There are errors in the configuration of this machine. Please fix
the following errors and try again:

vagrant:
* The following settings shouldn't exist: plugins

Vagrant:
* Unknown configuration section 'disksize'.
rjurney commented 4 years ago

Can you check the version of vagrant you're running? Run this command and print the output.

vagrant --version

Oh, btw, before vagrant up you need to run vagrant init. Run this:

vagrant init
vagrant box update
vagrant up
# After it boots
vagrant ssh
rjurney commented 4 years ago

@elmonisch Updated the previous comment, in case you don't see it.

hszkf commented 4 years ago

Vagrant version : 2.0.2 vagrant init : Vagrantfile already exists in this directory. Remove it before running vagrant init. vagrant box update : ==> default: Box 'ubuntu/bionic64' not installed, can't check for updates.

Still couldn't go with it.. I think, updating Vagantfile would make something but idk where to go, just an idea

rjurney commented 4 years ago

Install vagrant 2.2.4 and try again. Your version from apt seems very old. Check out the vagrant install directions for getting a newer version. I think things will work for you once you do that.

I was mistaken about vagrant init, sorry.

hszkf commented 4 years ago

Closed thanks!

rjurney commented 4 years ago

Happy to help! It’s frustrating how out of date Ubuntu packages can get.

I’m adding a note about needing Vagrant 2.2 so thanks for your patience.