by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Frank Hamand
    @frankh
    I just pushed a new version which fixes the @mentions, 0.10.8
    Karthik Srivatsa
    @ksrivatsa
    Alright. Thanks
    Karthik Srivatsa
    @ksrivatsa
    @frankh To install a third party plugin, Even before the "cabot migrate" command in the compose file, I installed using pip and tried to do the migration after. But the migration is not considering the new app. Why might this be happening?
    Apply all migrations: admin, auth, cabot_alert_email, cabot_alert_hipchat, cabot_alert_slack, cabot_alert_twilio, cabotapp, contenttypes, sessions, sites
    My third party app isnt seen here. And I have added it to the env variable in production.env
    The pip install happens successfully!
    Karthik Srivatsa
    @ksrivatsa
    Well I got past that, but now this is being thrown when i try to migrate
    django.db.utils.IntegrityError: null value in column "name" violates not-null constraint
    DETAIL: Failing row contains (41, null, cabot_alert_webhook, webhookalert).
    Please help me out @frankh
    Frank Hamand
    @frankh
    looks like maybe some of the migrations didn't run
    could you try manually running some of the migrations, using python manage.py migrate myapp 0005_migration_to_run
    e.g. python manage.py cabotapp 0002_auto_20170131_1537
    Karthik Srivatsa
    @ksrivatsa
    It was django contenttypes
    Somewhere during the releases they have removed a column "name" in the table.
    Removing that made the installation happen and the plugin works fine.
    Frank Hamand
    @frankh
    cool
    Karthik Srivatsa
    @ksrivatsa
    But now the worker is giving an issue
    u'[[], {}, {"chord": null, "callbacks": null, "errbacks": null, "chain": null}]' (77b)
    Traceback (most recent call last):
    File "/usr/local/lib/python2.7/site-packages/celery/worker/consumer/consumer.py", line 559, in on_taskreceived
    strategy = strategies[type
    ]
    KeyError: 'cabot.cabotapp.tasks.run_all_checks'
    It keeps throwing this error
    Cant believe I have been on this for close to 5 hrs now!
    Any idea where that can be happening?
    The /status page tells me that the checks are running fine
    Frank Hamand
    @frankh
    thats really strange
    how are you running the worker? just with docker compose?
    Karthik Srivatsa
    @ksrivatsa
    Yup. Breaking my head over it. Just using docker-compose.
    Frank Hamand
    @frankh
    where do you see the error? Just in the compose logs?
    Karthik Srivatsa
    @ksrivatsa
    Yeah
    I install the plugin using pip install, make the migrations and start gunicorn workers
    This happens only after installing the plugin. Not otherwise
    Strange!
    The plugin is nowhere related to the worker
    Frank Hamand
    @frankh
    in docker compose are the web, worker and beat all set to the new image with the plugin installed?
    Karthik Srivatsa
    @ksrivatsa
    Hmm.. Why would the worker and the beat service need the plugin?
    Do they?
    Frank Hamand
    @frankh
    yes, because the worker is the thing that actually sends the alerts
    Karthik Srivatsa
    @ksrivatsa
    I am getting the alerts though.
    Frank Hamand
    @frankh
    beat might not, but it's best that they're all the same
    hmmm
    Karthik Srivatsa
    @ksrivatsa
    Using the plugin test
    Frank Hamand
    @frankh
    ah, the plugin test doesn't use workers, it does it through the web service
    Karthik Srivatsa
    @ksrivatsa
    I'll make that change then.
    Haha.. :D
    Frank Hamand
    @frankh
    i should change that so it works the same way
    Karthik Srivatsa
    @ksrivatsa
    Thanks!
    Frank Hamand
    @frankh
    np
    Karthik Srivatsa
    @ksrivatsa
    @frankh Hey
    The newly added acknowledge button in the slack messages doesnt seem to work
    Any suggestions?
    Error : Darn – that didn't work. Only Slack Apps can add interactive elements to messages
    Karthik Srivatsa
    @ksrivatsa
    I have tried everything. It just doesnt work.