Kegberry Single-Line Install Script

Hey! I formatted my rPi and attempted a clean install with the script but It looks like since Python 2.7 went EOL certain packages aren’t installing as the latest versions require the newer python version (mainly the mock package).

I’ve tried installing an older version of mock manually, but it looks like somewhere in the script it calls out to attempt to install the newest, which gives an error and the installer will not continue. Any advice on how to edit the script to install an older mock version?

Darn, yeah I’m seeing that same behavior and I’m looking into it!

Try running this on a fresh install of Buster (may work for other versions too but haven’t tested!).

bash <(wget -qO- https://raw.githubusercontent.com/johnnyruz/kegbot-server/add_my_pkgs_to_github/install_latest.sh)

I deleted /home/kegbot and the previous mypkgs in /home/pi before re-running the script, and got some errors. (So if I need to do something else like reimaging my pi, just let me know)

It looks like there was an error cloning the git, and also locating pycore-flags.txt.

I uploaded my terminal screen into pastebin with the errors
https://pastebin.com/MCsAFPEi

I appreciate the help!
I was going to take a stab at it today but honestly have no idea what I’m doing lol

Did you by any chance lose network connectivity while trying to run that? I’m seeing the line:

fatal: unable to access 'https://github.com/johnnyruz/kegberry.git/': Could not resolve host: github.com

That’s really weird since it seemed to work fine earlier in the script. Can you just try to run it again?

And deleting everything under /home/kegbot before you start is a very good idea! Also delete the directory /home/kegbot/.kegbot (hidden) if it exists.

I did notice that, I re-ran the script and it did not give the same error, although I noticed it doesn’t seem to be creating the /home/kegbot folder for some reason.

I uploaded another pastebin
https://pastebin.com/GjeK0b7k

Thanks, alot, again!

Did you by any chance delete the whole /home/kegbot folder instead of just everything underneath the folder? I’ve definitely made that mistake before as well!!

That folder is created when the script creates the kegbot user, so what’s likely happening is that the folder doesn’t exist, but the user does, so it skips the creation of the user and that folder.

Two options (option 1 is untested!):

  1. Manually Re-create the /home/kegbot directory (sudo mkdir /home/kegbot). Then set the kegbot user as the owner of that directory (sudo chown kegbot:kegbot /home/kegbot)
  2. Re-flash the Pi with the latest version of Buster and run the install script from scratch

I absolutely did do that lol, I didn’t realize I didn’t actually delete the user, oops.

I’m going to try to do the first option now, stand by!

Looks like I’m still having issues, but I think I’m going to try to use a clean image, just to be sure it’s nothing due to my setup.
(Also wondering if it’s something with my network, I may try hard wired first before reimaging_

I still attached a log anyway of my newest error.
https://pastebin.com/H1tDeYZF

Should have an update here in another hour or so

Yeah looks like a network stability issue. I was able to test my “option 1” solution and it did work, but I think your best bet is to just try to re-flash and do a clean install.

Hard-wire is definitely the way to go if you have access to it!

I redid it with it wired directly to ethernet and the script seemed to have worked fine!
I recently put everything into an enclosure, so I’m assuming the wifi signal must be weak.

Thank you so much! :smiley:

1 Like

Hello-
I’ve tried to follow the instructions but it must not be working. I keep getting the below image when I type the IP address of the Pi.

I have two different raspberry pi’s. They are 3b+(2017) & 3b v1.2 (2015).

I can reinstall any OS/image that is needed for either one. They both are running 32gig SD cards.

I just completed my Keezer build and want to have this feature added to it.

Thanks for the help in advance.

Chris

Nice Keezer!

Kegberry exposes the website on port 8000. You’ll want to use the URL http://192.168.1.72:8000/.

Tried that and it is still not working. I don’t know if it is due to most of the programs have been updated and the script has not been updated to match them.

Example: python 2.7 is no longer used it is version 3.8.3.

I’ve tried it using an Jessie but still got the same thing when typing the IP address.
I’ve use stretch and it did the same thing.

I’m lost but have two Pi’s that I can wipe and start fresh. Just wish it would work. Ready to start inviting people over but done want to be that place that runs out of beer when the kegs gets low or just have a boring chalkboard for tap list.

Thanks for all the support. I’m trying to keep the dream alive.

Ps anyone have any Kegbot boards they are willing to sell? I need 4

Hey @cbrannam!

I’ll have to run through the installer again to see if I can replicate. I’ve seen that page before, usually when I try to connect after a reboot but before the kegbot application has completed its startup.

Definitely a lot of out-of-date stuff in the version installed with my scripts. The devs have been working to move to a more modern solution. It’s fully functional and should work well but I have not integrated some of the features like the Live Pour tracking and RFID in the web browser. Not sure when I’ll be able to work on porting that over.

Check https://github.com/Kegbot/kegberry for the updated scripts that will install the latest version based on Docker and Docker-Compose.

When I get home and try the updated scrpits.

Thanks for the help

it all worked. Now I just need to make it look a little better before I open the shop.

Glad to hear it!!

FYI I just ran through a clean install and everything went smooth (3b+ with latest Raspbian Buster OS installed via the new Raspberry Pi Image writer app). I realized the first post in this thread had an outdated link to an install script and the newest one was buried in the responses (OOPS!). I’ve updated the first post with the updated install link and additional info about the real-time node server.

I still think the new Docker-Compose route is the best way to go long-term if I can find some time to actually get back to active coding on this!!

1 Like

Thanks for all your help. Have 5 taps up and running with rfid working well…
Had some foaming issues Im busy sorting out… Is it possible and where can increase the pour timeout using ur live pour monitoring.
Know it can be done on app,is it possible on kegberry?

Hi, did you by any change manage to find a way around this… Also have node server issues when selecting members only… Changing it back works , but would like to have the Members only ticket.