Giter Club home page Giter Club logo

Comments (7)

mik3y avatar mik3y commented on August 15, 2024

Hi ray,

Some recent changes may be at issue here.

First, please do a git pull and update to the latest version.

Then, please do the following in a shell:

$ kegbot-admin.py migrate

Then, try again. Do you still get the error? If so, navigate to http://you-kegbot-site/sentry/ and see if there are any log entries being generated there. Thanks!

from kegbot-server.

raytiley avatar raytiley commented on August 15, 2024

Thanks. I'll do that as soon as I get into the office. It usually took a few hours before I noticed a crash, so if it runs without crashing till the end of the day I'll consider it fixed and close this issue.

Thanks.

from kegbot-server.

mik3y avatar mik3y commented on August 15, 2024

FYI I just submitted an unrelated fix that you'll also need -- pull again if you have already done so!

from kegbot-server.

raytiley avatar raytiley commented on August 15, 2024

Haven't fully tested this yet as kegbot hasn't been fully operational since the site update stuff. Once its back online I should have a good indication if this is fixed yet.

from kegbot-server.

mik3y avatar mik3y commented on August 15, 2024

Can you run the core with something like --krest_timeout=10? The default settings are a bit aggressive and it is possible that the crash is because of this.

Pykeg should also handle this situation gracefully, which I'll fix. (pykeg itself isn't receiving much love since it is about to be replaced with the android core, which does much better in "offline"/server error situations.)

from kegbot-server.

raytiley avatar raytiley commented on August 15, 2024

So I tried a --krest_timeout=30 along with a pull of the latest code (a few hours ago) and it all seems good. have been logging several different drinkers and having a blast.

So does the stats get generated every few web requests?

It seems like something that should happen out of a web request cycle.

-ray

from kegbot-server.

mik3y avatar mik3y commented on August 15, 2024

Great! Yep, stats and session information is calculated during a drink save operation
Moving this offline has been on my todo list for a while., might get to it soon. That said, these operations should not be too time consuming; stats are calculated progressively

from kegbot-server.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.