I started to make a server on digital ocean and have got as far as creating the server on my droplet. I am stuck on the next step which is "Step 4: Complete the setup wizard
Navigate to the IP address of your system: http://your-ip/. You should be greeted by the Kegbot Setup wizard. Complete the install and you’re ready to go!"
Is this meant through a browser or continuing in putty? A browser won’t connect and neither will the kegbot client. Is there a new step or setting I need to change on my droplet?
Not to insults you but you are going to the actual IP address of your server something like
http://148.48.38.1 not actually http://your-ip
yes,here is the ip straight from digital:Public Network
IP Address: 45.55.151.206
Gateway: 45.55.128.1
Netmask: 255.255.192.0
i get this:502 Bad Gateway
nginx/1.4.6 (Ubuntu)
What does your kegbot.conf file look like. I remember a similar issue to your was fixed by making look like this.
[group:kegbot]
programs=gunicorn,workers
[program:gunicorn]
command=/home/kegbot/kegbot-server.venv/bin/gunicorn pykeg.web.wsgi:application -w 3
directory=/home/kegbot
user=kegbot
autostart=true
autorestart=true
redirect_stderr=true
[program:workers]
command=/home/kegbot/kegbot-server.venv/bin/kegbot run_workers
directory=/home/kegbot
stopasgroup=true
user=kegbot
autostart=true
autorestart=true
redirect_stderr=true
thanks for the help how do I see my config file? Is there a list of commands for the server somewhere?
Welcome to Ubuntu 14.04.1 LTS (GNU/Linux 3.13.0-43-generic x86_64)
- Documentation: https://help.ubuntu.com/
System information as of Thu Mar 19 19:24:16 EDT 2015
System load: 0.02 Processes: 95
Usage of /: 13.3% of 19.56GB Users logged in: 0
Memory usage: 69% IP address for eth0: 45.55.151.206
Swap usage: 0% IP address for eth1: 10.132.67.50
Graph this data and manage this system at:
https://landscape.canonical.com/
92 packages can be updated.
47 updates are security updates.
Last login: Thu Mar 19 19:24:16 2015
root@beershit:~# kegbot.conf
root@beershit:~# nano /etc/supervisor/conf.d/kegbot.conf
That will let you edit it
This is what I have:
Supervisor.conf for Kegbot – Kegberry edition.
[group:kegbot]
programs=gunicorn,celery
[program:gunicorn]
command=su -l kegbot -c '/home/kegbot/kegbot-server.venv/bin/kegbot run_gunicor$
directory=/home/kegbot
autostart=true
autorestart=true
redirect_stderr=true
startsecs=30
[program:celery]
command=su -l kegbot -c 'sleep 10; /home/kegbot/kegbot-server.venv/bin/kegbot r$
directory=/home/kegbot
autostart=true
autorestart=true
[ Read 22 lines ]
^G Get Help ^O WriteOut ^R Read File ^Y Prev Page ^K Cut Text ^C Cur Pos
^X Exit ^J Justify ^W Where Is ^V Next Page ^U UnCut Text^T To Spell
Looks a little different, save a copy of it (incase my changes dont work)and make the changes I sent you see what it gets ya
thanks but im just not that familiar with editing. I have created and wiped 4 droplets now. All with the same result. : 502 Bad Gateway something has changed along the line and the directions need to be editted.
server is created but I just cant access it.
Successfully installed kegberry-2.1.1 python-gflags-2.0
-
kegberry --nopycore --allow_root install
oOOOOOo
,| oO Kegberry v2.1.1 - http://kegberry.com
//| |
\| | “Work is the curse of the drinking classes.”
| | -- Oscar Wilde
-----`
INFO : Updating package list …
INFO : Installing required packages …
INFO : Cleaning up …
INFO : Checking if database exists …
INFO : Creating database …
INFO : Installing MySQL timezones …
INFO : User “kegbot” does not exist, creating …
INFO : Checking/installing virtualenv “kegbot-server.venv”…
INFO : Installing python server packages, this may take a while …
INFO : Installing Kegbot …
INFO : Generating API key …
INFO : Installing config files …
INFO : Reloading daemons …
root@my-kegbot:~#
thanks for the help but Im just about done with this.
Looks like it is installing fine. When you use the nano command it opens the kegbot.conf file you can delete and add right from there then use Ctrl x to exit and save.
If you are comfortable with it you can pm me the IP address and your pass and I can go in and edit it for you. Then you can change the password after.
i have tried severial times to get the server working and cant wondering if u could give me a hand thanks
I have given up on trying to setup a server on digital ocean. I have deleted my droplets.The directions will not get you good results anymore.