linuxserver / docker-calibre

GNU General Public License v3.0
367 stars 64 forks source link

Setting password causes login failure #70

Closed SSoft7 closed 2 years ago

SSoft7 commented 2 years ago

linuxserver.io


Expected Behavior

Should login fine

Current Behavior

error: login failed for disaplay 0

Steps to Reproduce

  1. Just set the PASSWORD env variable and run.
  2. If you run without setting any password it just works fine.

Environment

OS: Ubuntu Bionic CPU architecture: x86_64 How docker service was installed: official repo

Command used to create docker container (run/create/compose/screenshot)

docker run -d \
  --name=calibre \
  -e PUID=1000 \
  -e PGID=1000 \
  -e TZ=Europe/London \
  -e PASSWORD=abc \
  -p 8080:8080 \
  -p 8081:8081 \
  -v /path/to/data:/config \
  --restart unless-stopped \
  lscr.io/linuxserver/calibre

Docker logs

Too much logs

github-actions[bot] commented 2 years ago

Thanks for opening your first issue here! Be sure to follow the bug or feature issue templates!

tobbenb commented 2 years ago

Please add logs.

tobbenb commented 2 years ago

Did you try to click ok on the error screen?

SSoft7 commented 2 years ago

@tobbenb I think commit #72 fixed this issue. However, note that If i use password abc it does not ask for any password, but anything other than abc brings the password prompt.