ozinnewy

# Dec 29 2011 - 4:12 PM

Newcastle - Australia

I have had so many issues with this for months I decided to do a new install. I tried using Dreamhost, but that failed as well.
So now I have everything installed, using the Django webserver. Start the websterver, navigate to the localhost:8000 page and get the api key. Start the core using the site and key. All ok so far. Start the kegboard daeon and it connects to the core. Temperature reading are now showing in the core.

Now this is where it crashes. When I pour I get the following in the core:

2011-12-29 16:24:37,173 ERROR (service-thread) raise ServerError('Caused by: %s' % e)
2011-12-29 16:24:37,173 ERROR (service-thread)
2011-12-29 16:24:37,173 ERROR (service-thread) Error was: <class 'pykeg.web.api.krest.ServerError'>: Caused by: HTTP Error 500: INTERNAL SERVER ERROR
2011-12-29 16:24:37,173 ERROR (service-thread) Exiting thread.
2011-12-29 16:24:37,662 ERROR (watchdog-thread) Thread service-thread died unexpectedly
2011-12-29 16:24:37,705 INFO (eventhub-thread) got quit event, quitting
2011-12-29 16:24:37,706 INFO (watchdog-thread) got quit event, quitting
2011-12-29 16:24:37,706 INFO (heartbeat-thread) got quit event, quitting
2011-12-29 16:24:37,707 INFO (alarmmanager-thread) got quit event, quitting
2011-12-29 16:24:37,707 INFO (net-thread) got quit event, quitting
2011-12-29 16:24:37,878 INFO (kegnet) Stopping server
2011-12-29 16:24:38,698 ERROR (main) Watchdog thread exited, quitting
2011-12-29 16:24:39,700 INFO (main) Stopping any remaining threads
2011-12-29 16:24:39,701 INFO (main) Stopping all service threads.
2011-12-29 16:24:39,701 INFO (main) All service threads stopped.
2011-12-29 16:24:39,702 INFO (main) Kegbot stopped.

I also get this in the webserver window

[29/Dec/2011 16:24:37] "POST /api/taps/kegboard.flow0/ HTTP/1.1" 500 1383

Does anyone have any ideas?

Thanks




mike

# Dec 29 2011 - 5:12 PM

Are you doing a new install from the latest git sources, or something else? The error message should be more helpful now, and I vaguely recall you previously had problems stemming from an old install..

You should be able to navigate to /sentry/ while logged-in as an admin user, where you might see a more detailed error message. Hop on to IRC now if you'd like to debug more.




ozinnewy

# Dec 29 2011 - 5:12 PM

Newcastle - Australia

mike
Are you doing a new install from the latest git sources, or something else? The error message should be more helpful now, and I vaguely recall you previously had problems stemming from an old install..

You should be able to navigate to /sentry/ while logged-in as an admin user, where you might see a more detailed error message. Hop on to IRC now if you'd like to debug more.


Hi Mike,

Yes brand new install of ubuntu and a version of kegbot from about 2 weeks ago.

Went to sentry and the error is "Column site_id cannot be null"

***** Latest ****
OK, think I have it going again, I pulled the latest source, installed, migrated and working again.

Thanks

Edited by ozinnewy (Dec. 29, 2011 19:56:02)






mike

# Dec 29 2011 - 11:12 PM

ozinnewy
***** Latest ****
OK, think I have it going again, I pulled the latest source, installed, migrated and working again.

Great, glad to hear it.