Redis brain hubot script is broken #14
Closed
opened 2019-02-25 03:39:00 +00:00 by raucao
·
6 comments
No Branch/Tag Specified
Labels
Clear labels
monitoring
bug
design
dev environment
docs
duplicate
enhancement
feature
good first issue
idea
invalid
kredits-1
kredits-2
kredits-3
on hold
ops
question
security
ui/ux
wontfix
service
discourse
Kosmos Community Forums
Infrastructure metrics, alerts, notifications, etc.
service
accounts
Kosmos Accounts
service
drone-ci
Kosmos Drone CI
service
email
mail.kosmos.org
service
garage
S3-compatible object storage
service
gitea
Kosmos Gitea
service
ipfs
Kosmos IPFS
service
mastodon
kosmos.social
service
nostr
Relays, Blossom server, etc.
service
postgres
Database cluster
service
remotestorage
Portable data storage for the Web
service
wiki
Kosmos Wiki
service
xmpp
Kosmos Chat
Something is not working
Graphic/visual design
Config, builds, CI, deployment, etc.
Documentation
This issue or pull request already exists
Improving existing functionality
New functionality
Dive in, and start contributing
Something to consider
Not a bug
Small contribution
Medium contribution
Large contribution
Currently not actionable
Manual IT ops activities
Looking for an answer
release
major
release
minor
release
patch
All your base are belong to us
User interface, process design, etc.
This won't be fixed
No labels
Milestone
No items
No Milestone
Projects
Clear projects
No projects
No Assignees
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: kosmos/chef#14
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Doesn't remember anything anymore. At least data is lost after restarts of the bot.
I looked into it for 10 minutes, but couldn't find anything that looked wrong. Redis is running, and the config is there. This didn't happen from the beginning, so something must have changed at some point.
I have also looked at it and can't find anything wrong. I have temporarily enabled debug logs for hal, the brain data is loaded successfully. The last saved word for the plusplus script is pbs, set by bkero on 2019-02-08T18:49:44.895Z
Found something, another hubot process appears to be writing to the same Redis key, looking into it!
Got it, it's botka. It doesn't have its own REDIS_URL set, unlike the xmpp bots
That fixed it! I have set the REDIS_URL for botka so it uses its own database, and removed the
---------------entries from the database (by parsing the JSON with Ruby, editing it and setting the key again).Good job.