taigaio / taiga-docker

Mozilla Public License 2.0
1.19k stars 299 forks source link

[Q] Problems in getting slack notifications to work #33

Closed erueda1 closed 1 year ago

erueda1 commented 3 years ago

Hello, I am having trouble getting slack notifications to work. First of all say that what I use is Rocket.chat, but I understand that it is 100% compatible. This is my scenario: Captura de pantalla de 2021-07-22 18-33-10

I know that Slack is integrated by default at the docker images according to the 30 minutes guide, but the problem persists.

This is all the configuration that i am using:

# -*- coding: utf-8 -*-
import os
from .common import *   # noqa, pylint: disable=unused-wildcard-import
#########################################
## GENERIC
#########################################
DEBUG = False
#ADMINS = (
#    ("Admin", "example@example.com"),
#)
DATABASES = {
      ...my database config...
    }
}
SECRET_KEY = "taiga_secret"
TAIGA_URL = "https://projects.example.com"
SITES = {
    "api": {"domain": "projects.example.com", "scheme": "https", "name": "api"},
    "front": {"domain": "projects.example.com", "scheme": "https", "name": "front"}
}
# Setting DEFAULT_PROJECT_SLUG_PREFIX to false
# removes the username from project slug
DEFAULT_PROJECT_SLUG_PREFIX = False
#########################################
## MEDIA AND STATIC
#########################################
MEDIA_ROOT = '/taiga-back/media'
MEDIA_URL = f"{ TAIGA_URL }/media/"
DEFAULT_FILE_STORAGE = "taiga_contrib_protected.storage.ProtectedFileSystemStorage"
THUMBNAIL_DEFAULT_STORAGE = DEFAULT_FILE_STORAGE
STATIC_ROOT = '/static'
STATIC_URL = f"{ TAIGA_URL }/static/"
#########################################
## EMAIL
#########################################
.. my email config...
#########################################
## EVENTS
#########################################
EVENTS_PUSH_BACKEND = "taiga.events.backends.rabbitmq.EventsPushBackend"
EVENTS_PUSH_BACKEND_OPTIONS = {
    "url": "amqp://taiga:rabbit_password@taiga6_taiga-events-rabbitmq_1:5672/taiga"
}
#########################################
## TAIGA ASYNC
#########################################
CELERY_ENABLED = os.getenv('CELERY_ENABLED', 'True') == 'True'
from kombu import Queue  # noqa
CELERY_BROKER_URL = "amqp://taiga:rabbit_password@taiga6_taiga-events-rabbitmq_1:5672/taiga"
CELERY_RESULT_BACKEND = None # for a general installation, we don't need to store the results
CELERY_ACCEPT_CONTENT = ['pickle', ]  # Values are 'pickle', 'json', 'msgpack' and 'yaml'
CELERY_TASK_SERIALIZER = "pickle"
CELERY_RESULT_SERIALIZER = "pickle"
CELERY_TIMEZONE = 'Europe/Madrid'
CELERY_TASK_DEFAULT_QUEUE = 'tasks'
CELERY_QUEUES = (
    Queue('tasks', routing_key='task.#'),
    Queue('transient', routing_key='transient.#', delivery_mode=1)
)
CELERY_TASK_DEFAULT_EXCHANGE = 'tasks'
CELERY_TASK_DEFAULT_EXCHANGE_TYPE = 'topic'
CELERY_TASK_DEFAULT_ROUTING_KEY = 'task.default'
#########################################
## CONTRIBS
#########################################
INSTALLED_APPS += [
    "taiga_contrib_ldap_auth_ext"
]
ALLOWED_HOSTS = ['*', ]
ENABLE_SLACK: "True"
#########################################
## LDAP CONFIG
#########################################
...... my ldap config....

ENABLE_TELEMETRY = False
PUBLIC_REGISTER_ENABLED = False

slack

I have also tried to install slack on my own with the slack_contrib_plugin with no results. Please, could you help me?

yamila-moreno commented 1 year ago

Hi there!

Do you know that we have Taiga Community for questions? Please, check there; maybe another user has already ask something similar. If not, create your own. There are people there willing to help, members of the Taiga team members and other users.

To simplify  the process, we will systematically close all issues that are general support questions and redirect people to Taiga Community.

Taiga Team