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

Continue to get Connection Refused Error at end of Set-up #6

Closed
MannyBPi opened this issue Jun 25, 2020 · 4 comments
Closed

Continue to get Connection Refused Error at end of Set-up #6

MannyBPi opened this issue Jun 25, 2020 · 4 comments

Comments

@MannyBPi
Copy link

On repeated attempts on a Raspberry Pi3B running Buster, complete the set-up but with the error curl: (7) Failed to connect to tempiture.local port 3000: Connection refused just before the end.

Screen Shot 2020-06-25 at 12 06 46 AM

@kyleflan
Copy link
Owner

It looks like your docker containers aren't running. Can you show the output of:

docker image ls

You should see a few images listed. If not, part of the setup didn't work.

Try this, too, and send the output:

cd tempiture  # or whatever your tempiture folder is named
docker-compose -f ./docker/docker-compose.yml -p tempiture up

@MannyBPi
Copy link
Author

It looks like docker is not installing at all. Can see this a few lines up on the install and any docker command says command not found.
15FFEEB3-9D3D-4947-9D52-8B1D90752FE0

@kyleflan
Copy link
Owner

I see now that you're on buster. This has only been tested on jessie. It doesn't look like there are docker-hypriot packages for buster (yet or at all). But it does seem that docker is available from the repo for buster.

Can you try installing docker and docker-compose from the repo?

sudo apt-get update
sudo apt-get install docker.io docker-compose

If that doesn't work, take a look at this thread and see if some of the alternate solutions work. Supposedly this one-line works curl -sL get.docker.com | sed 's/9)/10)/' | sh but I would try the repo first.

Also, it looks like npm isn't installed. Check the output from setup.sh to look for errors about the npm install. (Or you can just install it manually)

Once you have docker and npm installed, you can comment out lines 8, 22-27 in the setup.sh and if all goes well, be up and running.

@MannyBPi
Copy link
Author

Thanks for your help. After fighting with docker for a while and getting nowhere, I decided to go my own way. I started over and went with InfluxDB and Grafana. I will probably comeback and retry what you have here with a fresh Stretch install and see if that works.

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