Skip to content
This repository has been archived by the owner on Oct 10, 2020. It is now read-only.

Oops somethin happened! You're changes weren't saved. #9

Closed
juic3pow3rs opened this issue Apr 17, 2020 · 3 comments
Closed

Oops somethin happened! You're changes weren't saved. #9

juic3pow3rs opened this issue Apr 17, 2020 · 3 comments

Comments

@juic3pow3rs
Copy link

juic3pow3rs commented Apr 17, 2020

I get that error almost everytime I create or edit something within a project doesn't matter if it's a User Story, a Task or an EPIC.

Interestingly all the changes I execute get saved even though I get that error notification.

Any idea why this happens?

  • error.log is empty

  • docker-compose:

version: "3.2"

services:
  database:
    image: postgres:alpine
    container_name: taiga-db
    stop_signal: SIGINT
    volumes:
      - ./data/db:/var/lib/postgresql/data
    expose:
      - "5432"
  server:
    image: devinsolutions/taiga:latest
    container_name: taiga
    depends_on:
      - database
    command:
      - run-server
    healthcheck:
      test: wget -q -t 1 --spider http://localhost:8080/api/v1/
    expose:
      - "8080"
    stop_signal: SIGHUP
    volumes:
      - ./data/media:/srv/taiga-back/media
      - ./conf/settings.py:/etc/opt/taiga-back/settings.py:ro
    labels:
      - "traefik.enable=true"
      - "traefik.port=8080"
      - "traefik.docker.network=reverse-proxy"
      # Entrypoint and TLS
      - "traefik.http.routers.taiga.entrypoints=https"
      - "traefik.http.routers.taiga.rule=Host(`taiga.domain.org`)"
      - "traefik.http.routers.taiga.tls.options=myTLSOptions@file"
      - "traefik.http.routers.taiga.tls.certresolver=le"
      # Middlewares:
      - "traefik.http.routers.taiga.middlewares=taiga@docker"
      # Middleware taiga adds additional headers:
      - "traefik.http.middlewares.taiga.headers.customFrameOptionsValue=SAMEORIGIN"
      - "traefik.http.middlewares.taiga.headers.framedeny=true"
      - "traefik.http.middlewares.taiga.headers.sslredirect=true"
      - "traefik.http.middlewares.taiga.headers.stsIncludeSubdomains=true"
      - "traefik.http.middlewares.taiga.headers.stsPreload=true"
      - "traefik.http.middlewares.taiga.headers.stsSeconds=15552000"

networks:
    default:
       external:
         name: reverse-proxy
  • settingy.py:
SECRET_KEY = '<secret>'

ALLOWED_HOSTS = [
    '127.0.0.1',
    'localhost',
    'taiga.domain.org',
]

DATABASES = {
    'default': {
        'ENGINE': 'django.db.backends.postgresql',
        'NAME': '<dbname>',
        'USER': '<dbuser>',
        'PASSWORD': '<dbuserpass>',
        'HOST': 'database',
        'PORT': '5432',
    }
}

EVENTS_PUSH_BACKEND = "taiga.events.backends.rabbitmq.EventsPushBackend"
EVENTS_PUSH_BACKEND_OPTIONS = {"url": "amqp://guest:guest@broker/taiga"}
@lubo
Copy link
Collaborator

lubo commented Apr 17, 2020

Hi. What makes you think it's a problem of the image?

@juic3pow3rs
Copy link
Author

It's just a guess as I didn't modify the example docker-compose.yml and settings.py file in this repo that heavy except the added traefik labels.

@lubo
Copy link
Collaborator

lubo commented Apr 17, 2020

It looks like the issue is caused by the two bottom lines in settings.py. Remove EVENTS_PUSH_BACKEND and EVENTS_PUSH_BACKEND_OPTIONS and everything should be fine.

@lubo lubo closed this as completed Apr 17, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants