linuxserver / docker-bazarr

GNU General Public License v3.0
239 stars 30 forks source link

[BUG] Error 500 Unknown authentication type define in config #144

Open papercutter0324 opened 2 weeks ago

papercutter0324 commented 2 weeks ago

Is there an existing issue for this?

Current Behavior

With basic authentication selected. When clicking on the gear icon in the top-right of the window, and clicking logout, it displays 'Error 500 Unknown authentication type define in config' at the bottom of the window. Logging out does not occur.

Expected Behavior

Logging out

Steps To Reproduce

Select basic authentication under 'Settings > General' and save. Then, click on the gear icon and try to logout. This doesn't occur with 'Form' authentication selected.

Environment

- OS: Fedora 41
- How docker service was installed: Distro's package manager, following the directions at https://docs.docker.com/engine/install/fedora/

CPU architecture

x86-64

Docker creation

Portainer with the following snippet of the compose commands:

bazarr:
    image: lscr.io/linuxserver/bazarr:latest
    container_name: bazarr
    restart: unless-stopped
    networks:
      reverse_proxy:
    environment:
      - TZ=$TZ
      - PUID=$PUID
      - PGID=$PGID
    volumes:
      - $CONTAINERDIR/bazarr:/config
      - $MEDIADIR/media:/data/media
    labels:
      traefik.enable: true
      traefik.http.routers.bazarr.entrypoints: "websecure"
      traefik.http.routers.bazarr.rule: "Host(`bazarr.${PRIVATE_HOSTNAME}`)"
      traefik.http.routers.bazarr.service: "bazarr"
      traefik.http.services.bazarr.loadbalancer.server.port: "6767"
    pull_policy: always

Container logs

[migrations] started
[migrations] no migrations found
───────────────────────────────────────

      ██╗     ███████╗██╗ ██████╗
      ██║     ██╔════╝██║██╔═══██╗
      ██║     ███████╗██║██║   ██║
      ██║     ╚════██║██║██║   ██║
      ███████╗███████║██║╚██████╔╝
      ╚══════╝╚══════╝╚═╝ ╚═════╝

   Brought to you by linuxserver.io
───────────────────────────────────────

To support the app dev(s) visit:
Bazarr: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=XHHRWXT9YB7WE&source=url

To support LSIO projects visit:
https://www.linuxserver.io/donate/

───────────────────────────────────────
GID/UID
───────────────────────────────────────

User UID:    1000
User GID:    1000
───────────────────────────────────────
Linuxserver.io version: v1.4.5-ls275
Build-date: 2024-10-29T21:29:03+00:00
───────────────────────────────────────

[custom-init] No custom files found, skipping...
2024-11-03 17:29:44,082 - root                             (7f8fad01cb30) :  INFO (signalr_client:122) - BAZARR trying to connect to Sonarr SignalR feed...
2024-11-03 17:29:44,086 - root                             (7f8facc1cb30) :  INFO (signalr_client:189) - BAZARR trying to connect to Radarr SignalR feed...
2024-11-03 17:29:44,086 - waitress                         (7f8fdd3d3b28) :  INFO (wasyncore:485) - BAZARR is started and waiting for requests on: http://0.0.0.0:6767
2024-11-03 17:29:44,088 - waitress                         (7f8fdd3d3b28) :  INFO (wasyncore:485) - BAZARR is started and waiting for requests on: http://[::]:6767
2024-11-03 17:29:44,092 - root                             (7f8fac81cb30) :  INFO (signalr_client:150) - BAZARR SignalR client for Sonarr is connected and waiting for events.
2024-11-03 17:29:44,092 - root                             (7f8fac41cb30) :  INFO (signalr_client:217) - BAZARR SignalR client for Radarr is connected and waiting for events.
Connection to localhost (::1) 6767 port [tcp/*] succeeded!
[ls.io-init] done.

From the log file in the bazarr folder:

2024-11-03 17:17:29|INFO    |root                            |Bazarr is being restarted...|
2024-11-03 17:17:40|INFO    |root                            |BAZARR trying to connect to Sonarr SignalR feed...|
2024-11-03 17:17:40|INFO    |root                            |BAZARR trying to connect to Radarr SignalR feed...|
2024-11-03 17:17:40|INFO    |waitress                        |BAZARR is started and waiting for requests on: http://***.***.***.***:6767|
2024-11-03 17:17:40|INFO    |waitress                        |BAZARR is started and waiting for requests on: http://[::]:6767|
2024-11-03 17:17:40|INFO    |root                            |BAZARR SignalR client for Sonarr is connected and waiting for events.|
2024-11-03 17:17:40|INFO    |root                            |BAZARR SignalR client for Radarr is connected and waiting for events.|
2024-11-03 17:18:35|INFO    |root                            |Successful authentication from ***.***.***.*** for user papercutter0324|
2024-11-03 17:22:50|INFO    |root                            |BAZARR trying to connect to Sonarr SignalR feed...|
2024-11-03 17:22:50|INFO    |root                            |BAZARR trying to connect to Radarr SignalR feed...|
2024-11-03 17:22:50|INFO    |waitress                        |BAZARR is started and waiting for requests on: http://***.***.***.***:6767|
2024-11-03 17:22:50|INFO    |waitress                        |BAZARR is started and waiting for requests on: http://[::]:6767|
2024-11-03 17:22:50|INFO    |root                            |BAZARR SignalR client for Sonarr is connected and waiting for events.|
2024-11-03 17:22:50|INFO    |root                            |BAZARR SignalR client for Radarr is connected and waiting for events.|
2024-11-03 17:29:44|INFO    |root                            |BAZARR trying to connect to Sonarr SignalR feed...|
2024-11-03 17:29:44|INFO    |root                            |BAZARR trying to connect to Radarr SignalR feed...|
2024-11-03 17:29:44|INFO    |waitress                        |BAZARR is started and waiting for requests on: http://***.***.***.***:6767|
2024-11-03 17:29:44|INFO    |waitress                        |BAZARR is started and waiting for requests on: http://[::]:6767|
2024-11-03 17:29:44|INFO    |root                            |BAZARR SignalR client for Sonarr is connected and waiting for events.|
2024-11-03 17:29:44|INFO    |root                            |BAZARR SignalR client for Radarr is connected and waiting for events.|
github-actions[bot] commented 2 weeks ago

Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.