dozzle: User icon shows the "unavailable image link" icon

Describe the bug The following is shown: Screenshot 2023-12-13 at 09 19 24 I suppose this is not intended behaviour.

To Reproduce I have the following docker compose config:

  dozzle:
    image: amir20/dozzle:latest
    container_name: dozzle
    restart: unless-stopped
    environment:
      - DOZZLE_AUTH_PROVIDER=simple
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock
      - ./dozzle/data:/data
    ports:
      - 52043:8080

And the following in dozzle/data/users.yml

users:
  # "admin" here is username
  admin:
    name: "Admin"
    # Just sha-256 which can be computed with "echo -n password | shasum -a 256"
    password: "..."

I have tested with adding an email to the “admin:”, but also got the same icon.

Desktop (please complete the following information):

  • OS: RaspberryPi OS
  • Docker version:
Client: Docker Engine - Community
 Version:           24.0.7
 API version:       1.43
 Go version:        go1.20.10
 Git commit:        afdd53b
 Built:             Thu Oct 26 09:08:15 2023
 OS/Arch:           linux/arm64
 Context:           default

Server: Docker Engine - Community
 Engine:
  Version:          24.0.7
  API version:      1.43 (minimum version 1.12)
  Go version:       go1.20.10
  Git commit:       311b9ff
  Built:            Thu Oct 26 09:08:15 2023
  OS/Arch:          linux/arm64
  Experimental:     false
 containerd:
  Version:          1.6.26
  GitCommit:        3dd1e886e55dd695541fdcd67420c2888645a495
 runc:
  Version:          1.1.10
  GitCommit:        v1.1.10-0-g18a0cb0
 docker-init:
  Version:          0.19.0
  GitCommit:        de40ad0
  • Browser & version: Chrome, latest
  • Version: Dozzle 5.7.0

About this issue

  • Original URL
  • State: closed
  • Created 7 months ago
  • Comments: 21 (16 by maintainers)

Commits related to this issue

Most upvoted comments

@EDIflyer I think you have a different issue. Got your email. Haven’t tried it yet. I had forgotten you are using proxy. So you wouldn’t see a users file.

I think something is happening with the name when generating avatar. So I’ll test it and see if I can reproduce.

I think I found a good fix.

Yea, I was able to finally reproduce this. Something recently must have changed. I think I can try to fix it later.