Comments (7)
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.
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.
FYI I just submitted an unrelated fix that you'll also need -- pull again if you have already done so!
from kegbot-server.
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.
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.
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.
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)
- Update to Django 1.11 HOT 1
- API support for idempotency keys HOT 1
- Replace highcharts with another charting library HOT 1
- Test - ignore
- Deleting multiple drinks does not update stats and sessions
- Get project buildable again & release a new version HOT 19
- Update to Pipenv HOT 1
- Update to Python 3
- Update to Django 2
- Update docs links to point to readthedocs
- perform docker build as a pre-commit check HOT 1
- push new releases to Docker Hub
- Docker images for RaspberryPi HOT 2
- Fix the docker build for PRs
- Setting Debug = False (KEGBOT_ENV = production) breaks user uploaded images HOT 2
- Docker build fails due to cryptography dependency HOT 1
- Introduce a new (v2) api HOT 3
- feature request: make default drinker configurable in admin dashboard HOT 2
- Issue with "docker-compose up" HOT 1
- Media files do not load successfully HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kegbot-server.