[GH-ISSUE #1233] Account messing up in Docker build #6340

Closed
opened 2026-04-20 16:55:38 -05:00 by GiteaMirror · 2 comments
Owner

Originally created by @boxsnake on GitHub (Aug 4, 2025).
Original GitHub issue: https://github.com/go-vikunja/vikunja/issues/1233

Description

In Docker build, I created the first user (user X) in Computer A. And then create second user (user Y) in Computer B.

After refreshing in Computer A, I am logged in user X even though I have not logged in with user Y in Computer A.

Docker compose .yaml

networks:
  vikunja:
    external: false
services:
  vikunja:
    image: vikunja/vikunja
    container_name: ${PREFIX}vikunja
    restart: always
    environment:
      VIKUNJA_SERVICE_PUBLICURL: ${VIKUNJA_URL}
      VIKUNJA_DATABASE_HOST: mariadb
      VIKUNJA_DATABASE_PASSWORD: vikunja
      VIKUNJA_DATABASE_TYPE: mysql
      VIKUNJA_DATABASE_USER: vikunja
      VIKUNJA_DATABASE_DATABASE: vikunja
      VIKUNJA_SERVICE_JWTSECRET: ${VIKUNJA_JWT_SECRET}
    ports:
      - ${VIKUNJA_PORT:-7456}:3456
    networks:
      - vikunja
    volumes:
      - ${DATA_DIR:-./data}/vikunja/files:/app/vikunja/files
    depends_on:
      - mariadb
  mariadb:
    image: mariadb:10
    container_name: ${PREFIX}mysql
    restart: always
    command: --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci
    environment:
      - MYSQL_ROOT_PASSWORD=vikunja
      - MYSQL_USER=vikunja
      - MYSQL_PASSWORD=vikunja
      - MYSQL_DATABASE=vikunja
    networks:
      - vikunja
    volumes:
      - ${DATA_DIR:-./data}/mariadb:/var/lib/mysql

Vikunja Version

latest

Browser and version

No response

Can you reproduce the bug on the Vikunja demo site?

Please select

Screenshots

No response

Originally created by @boxsnake on GitHub (Aug 4, 2025). Original GitHub issue: https://github.com/go-vikunja/vikunja/issues/1233 ### Description In Docker build, I created the first user (user X) in Computer A. And then create second user (user Y) in Computer B. After refreshing in Computer A, I am logged in user X even though I have not logged in with user Y in Computer A. Docker compose .yaml ``` yaml networks: vikunja: external: false services: vikunja: image: vikunja/vikunja container_name: ${PREFIX}vikunja restart: always environment: VIKUNJA_SERVICE_PUBLICURL: ${VIKUNJA_URL} VIKUNJA_DATABASE_HOST: mariadb VIKUNJA_DATABASE_PASSWORD: vikunja VIKUNJA_DATABASE_TYPE: mysql VIKUNJA_DATABASE_USER: vikunja VIKUNJA_DATABASE_DATABASE: vikunja VIKUNJA_SERVICE_JWTSECRET: ${VIKUNJA_JWT_SECRET} ports: - ${VIKUNJA_PORT:-7456}:3456 networks: - vikunja volumes: - ${DATA_DIR:-./data}/vikunja/files:/app/vikunja/files depends_on: - mariadb mariadb: image: mariadb:10 container_name: ${PREFIX}mysql restart: always command: --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci environment: - MYSQL_ROOT_PASSWORD=vikunja - MYSQL_USER=vikunja - MYSQL_PASSWORD=vikunja - MYSQL_DATABASE=vikunja networks: - vikunja volumes: - ${DATA_DIR:-./data}/mariadb:/var/lib/mysql ``` ### Vikunja Version latest ### Browser and version _No response_ ### Can you reproduce the bug on the Vikunja demo site? Please select ### Screenshots _No response_
GiteaMirror added the waiting for reply label 2026-04-20 16:55:38 -05:00
Author
Owner

@kolaente commented on GitHub (Aug 4, 2025):

And you can verify both users exist?

<!-- gh-comment-id:3150521059 --> @kolaente commented on GitHub (Aug 4, 2025): And you can verify both users exist?
Author
Owner

@kolaente commented on GitHub (Aug 31, 2025):

Closing as inactive, please ping or open a new issue with relevant information if you still have this problem.

<!-- gh-comment-id:3240365604 --> @kolaente commented on GitHub (Aug 31, 2025): Closing as inactive, please ping or open a new issue with relevant information if you still have this problem.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/vikunja#6340