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

Connection refused| #197

Open
Veigrillen opened this issue Nov 25, 2017 · 15 comments
Open

Connection refused| #197

Veigrillen opened this issue Nov 25, 2017 · 15 comments

Comments

@Veigrillen
Copy link

Hi guys.
Im a noob to Raspberry, and hope to get some help here.

I have installed raspbian and craftbeerpi, but when i try to connect to localhost:5000 or :5000 i get an message saying refused to connect.

Dont know if this is an issue iwe got with craftbeer or my raspberry or what.

Anyone got the time to help me?

thanks in advance

@hjarupBrewDK
Copy link

Hi All, I installed fresh today - with the same result. The installation is succesfull - however the webserver is not started. And does not start via manual command.

I guess next step is to find the installation LOG file, and see if any part did not go well.

Br Carsten

@hjarupBrewDK
Copy link

Some more results from command line testing:

pi@raspberrypi:~ $ sudo /etc/init.d/craftbeerpiboot start
[ ok ] Starting craftbeerpiboot (via systemctl): craftbeerpiboot.service.
pi@raspberrypi:~ $ sudo /etc/init.d/craftbeerpiboot status
● craftbeerpiboot.service - LSB: Put a short description of the service here
Loaded: loaded (/etc/init.d/craftbeerpiboot; generated; vendor preset: enabled)
Active: active (exited) since Tue 2017-12-12 06:17:27 UTC; 13h ago
Docs: man:systemd-sysv-generator(8)
Process: 336 ExecStart=/etc/init.d/craftbeerpiboot start (code=exited, status=0/SUCCESS)
CGroup: /system.slice/craftbeerpiboot.service

Dec 12 06:17:25 raspberrypi systemd[1]: Starting LSB: Put a short description of the service here...
Dec 12 06:17:27 raspberrypi craftbeerpiboot[336]: Starting system CraftBeerPI daemon:.
Dec 12 06:17:27 raspberrypi systemd[1]: Started LSB: Put a short description of the service here.
Hint: Some lines were ellipsized, use -l to show in full.
pi@raspberrypi:~ $ netstat -plnt
(Not all processes could be identified, non-owned process info
will not be shown, you would have to be root to see it all.)
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN -
tcp6 0 0 :::22 :::* LISTEN -

@HooTsBrooklyn
Copy link

Is there any reason why you're not using version 3?
https://github.com/Manuel83/craftbeerpi3

@hjarupBrewDK
Copy link

I grabbed the log from the install, I hope someone can use it to find out the issue.

log_info.txt

@HooTsBrooklyn
Copy link

Try "sudo pip install -r requirements.txt"
Also, "sudo apt-get update && sudo apt-get upgrade" then run the install again

Looks like pip / Python isn't fully installed with all requirements.

@hjarupBrewDK
Copy link

Tried the two commands, see log file.
log1.txt

@HooTsBrooklyn
Copy link

HooTsBrooklyn commented Dec 12, 2017

Sadly, this is beyond my abilities. I've only used CBPi 3. There is no reason to install 2 if you're upgrading to 3. You might be able to get faster results from the CBPi Facebook Group.
https://www.facebook.com/groups/craftbeerpi/

@hjarupBrewDK
Copy link

Got it, thanks. I will ask on FB.

@Veigrillen
Copy link
Author

Veigrillen commented Dec 13, 2017 via email

@hjarupBrewDK
Copy link

If downloading the Jessie version of Raspbian it will works.

I tested it selecting NO to the first question regarding updating in the CBP installer.

http://downloads.raspberrypi.org/raspbian/images/raspbian-2017-07-05/2017-07-05-raspbian-jessie.zip

Thanks to all in the FB forum for helping out. I plan to update the wiki with this infromation for CBP2.2

@hjarupBrewDK
Copy link

wiki updated with this newfound information https://github.com/Manuel83/craftbeerpi/wiki/First-Installation

@blucmal
Copy link

blucmal commented Jan 29, 2018

So for v3 do we still need the jessie version? I installed rasbian via noobs the craftbeerpiv3 and am getting connection refused via lan or localhost/127.0.0.1....

@HooTsBrooklyn
Copy link

If you're having troubles getting CBPi 3.0 up and running, try following the steps outlined here
https://cbpi.mricesolutions.com/viewtopic.php?f=3&p=18

@blucmal
Copy link

blucmal commented Jan 30, 2018

I followed your advice above to reinstall? Python? And it fixed it. Thanks for the link will check it out.

@HooTsBrooklyn
Copy link

You prolly won't need to reinstall, but just install the python PIP modules.

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

4 participants