Can't log in with 1.0.0-rc1 #2284

Closed
opened 2026-03-22 14:00:48 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @eugeneyng on GitHub (Aug 21, 2025).

Description

My docker auto-updated vikunja/vikunja:latest and after it updated to 1.0.0-rc1, I could no longer login. The front end says "Unauthorized"

Here is my docker-compose:

services:
  vikunja:
    container_name: vikunja
    environment:
      VIKUNJA_CORS_ENABLE: true
      VIKUNJA_DATABASE_PATH: /db/vikunja.db
      VIKUNJA_DATABASE_TYPE: sqlite
      VIKUNJA_SERVICE_ENABLEREGISTRATION: false
      VIKUNJA_SERVICE_JWTSECRET: secret
      VIKUNJA_SERVICE_PUBLICURL: http://vikunja.my.website
    image: vikunja/vikunja
    ports:
      - 3456:3456
    restart: unless-stopped
    volumes:
      - ./data/files:/app/vikunja/files
      - ./data/db:/db

Here is the log from docker:

user@server:~/docker/vikunja$ sudo docker logs vikunja
time=2025-08-21T01:37:24.299Z level=INFO msg="No config file found, using default or config from environment variables."
time=2025-08-21T01:37:24.300Z level=INFO msg="Running migrations…"
time=2025-08-21T01:37:24.311Z level=INFO msg="Ran all migrations successfully."
time=2025-08-21T01:37:24.313Z level=INFO msg="Mailer is disabled, not sending reminders per mail"
time=2025-08-21T01:37:24.314Z level=INFO msg="Mailer is disabled, not sending overdue per mail"
time=2025-08-21T01:37:24.314Z level=INFO msg="Vikunja version v1.0.0-rc1"
time=2025-08-21T01:37:24.314Z level=DEBUG msg="CORS enabled with origins: http://127.0.0.1:*, http://localhost:*, http://vikunja.my.website"
⇨ http server started on [::]:3456
time=2025-08-21T01:37:41.870Z level=INFO msg="POST /api/v1/login" component=http status=401 remote_ip=[my-ip] latency=71.029µs user_agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:141.0) Gecko/20100101 Firefox/141.0"

When I went back to 0.24.6, login worked again.

Vikunja Version

1.0.0-rc1

Browser and version

FireFox

Can you reproduce the bug on the Vikunja demo site?

No

Screenshots

No response

Originally created by @eugeneyng on GitHub (Aug 21, 2025). ### Description My docker auto-updated vikunja/vikunja:latest and after it updated to 1.0.0-rc1, I could no longer login. The front end says "Unauthorized" Here is my docker-compose: ``` services: vikunja: container_name: vikunja environment: VIKUNJA_CORS_ENABLE: true VIKUNJA_DATABASE_PATH: /db/vikunja.db VIKUNJA_DATABASE_TYPE: sqlite VIKUNJA_SERVICE_ENABLEREGISTRATION: false VIKUNJA_SERVICE_JWTSECRET: secret VIKUNJA_SERVICE_PUBLICURL: http://vikunja.my.website image: vikunja/vikunja ports: - 3456:3456 restart: unless-stopped volumes: - ./data/files:/app/vikunja/files - ./data/db:/db ``` Here is the log from docker: ``` user@server:~/docker/vikunja$ sudo docker logs vikunja time=2025-08-21T01:37:24.299Z level=INFO msg="No config file found, using default or config from environment variables." time=2025-08-21T01:37:24.300Z level=INFO msg="Running migrations…" time=2025-08-21T01:37:24.311Z level=INFO msg="Ran all migrations successfully." time=2025-08-21T01:37:24.313Z level=INFO msg="Mailer is disabled, not sending reminders per mail" time=2025-08-21T01:37:24.314Z level=INFO msg="Mailer is disabled, not sending overdue per mail" time=2025-08-21T01:37:24.314Z level=INFO msg="Vikunja version v1.0.0-rc1" time=2025-08-21T01:37:24.314Z level=DEBUG msg="CORS enabled with origins: http://127.0.0.1:*, http://localhost:*, http://vikunja.my.website" ⇨ http server started on [::]:3456 time=2025-08-21T01:37:41.870Z level=INFO msg="POST /api/v1/login" component=http status=401 remote_ip=[my-ip] latency=71.029µs user_agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:141.0) Gecko/20100101 Firefox/141.0" ``` When I went back to 0.24.6, login worked again. ### Vikunja Version 1.0.0-rc1 ### Browser and version FireFox ### Can you reproduce the bug on the Vikunja demo site? No ### Screenshots _No response_
Author
Owner

@eugeneyng commented on GitHub (Aug 21, 2025):

I see this is a duplicate of #1306

@eugeneyng commented on GitHub (Aug 21, 2025): I see this is a duplicate of #1306
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/vikunja#2284