scalingexcellence / scrapybook

Scrapy Book Code
http://scrapybook.com/
475 stars 209 forks source link

Installation on MAC #20

Closed ghost closed 7 years ago

ghost commented 7 years ago

Hi. I have successfully installed on a remote AWS linux server but am experiencing an issue installing on my MAC.

I am getting the following error when committing the "vagrant up --no-parallel" command.

_**The box 'lookfwd/scrapybook' could not be found or could not be accessed in the remote catalog. If this is a private box on HashiCorp's Atlas, please verify you're logged in via vagrant login. Also, please double-check the name. The expanded URL and error message are shown below:

URL: ["https://atlas.hashicorp.com/lookfwd/scrapybook"] Error: **_

I have noticed that if I copy the URL into a browser it returns a different URL - not sure if this helps.

"https://atlas.hashicorp.com/lookfwd/boxes/scrapybook"

I have tried to the use the --provider virtualbox too.........I have grep'd my Vagrant files for this URL and thought I would ask you.

lookfwd commented 7 years ago

This was an extremely hard to debug case. The main root cause was that it was using an older vagrant version

$ vagrant --version
Vagrant 1.8.7

that was very buggy. As soon as I upgraded to 1.9.1 the VM installation worked fine.

$ vagrant --version
Vagrant 1.9.1

Now, in the process of figuring out what's going on, I tried the "native docker" flow. Apparently due to some relatively unusual security settings on that computer I was hitting a case similar to this i.e. vagrant ssh was freezing. The whole docker installation was going fine but vagrant ssh didn't work. Upgrading to 1.9.1. didn't fix this either. In this case using virtualbox resolved the problem.

liutao1992 commented 6 years ago

Hi, I also have meet similar problem. Here is my worker enviroment : Operating System: Ubuntu 16.04 Vagrant version 1.9.2 virtual box has been installed.

I am getting the following error when committing the "vagrant up --no-parallel" command.

Bringing machine 'web' up with 'docker' provider... Bringing machine 'spark' up with 'docker' provider... Bringing machine 'es' up with 'docker' provider... Bringing machine 'redis' up with 'docker' provider... Bringing machine 'mysql' up with 'docker' provider... Bringing machine 'scrapyd1' up with 'docker' provider... Bringing machine 'scrapyd2' up with 'docker' provider... Bringing machine 'scrapyd3' up with 'docker' provider... Bringing machine 'dev' up with 'docker' provider... ==> web: Docker host is required. One will be created if necessary... web: Vagrant will now create or start a local VM to act as the Docker web: host. You'll see the output of thevagrant upfor this VM below. web: docker-provider: Box 'lookfwd/scrapybook' could not be found. Attempting to find and install... docker-provider: Box Provider: virtualbox docker-provider: Box Version: >= 0 The box 'lookfwd/scrapybook' could not be found or could not be accessed in the remote catalog. If this is a private box on HashiCorp's Atlas, please verify you're logged in via vagrant login`. Also, please double-check the name. The expanded URL and error message are shown below:

URL: ["https://atlas.hashicorp.com/lookfwd/scrapybook"] Error: The requested URL returned error: 404 Not Found `