After update to Zammad 6.0.0 brand logo is broken (only docker version)

Infos:

  • Used Zammad version: 6.0.0.
  • Used Zammad installation type: docker-compose
  • Docker version: 20.10.21
  • Docker-compose version: 2.17.3
  • Operating system: Ubuntu 20.04
  • Browser + version: Brave (Chrome)

Expected behavior

  • The logo should be shown as usual

Actual behavior

  • The Image will no be shown
    image

Steps to reproduce the behavior

  • Update to version 6.0.0
  • Upload a new image

More information

  • If I try to reach the image URL I get a “404 Not Found” issue. I already tried to replace the image but no luck so far. After I changed the Image the URL changed but still 404. I don’t see any errors in the log during the upload of the image nor during the apply of the new image.
  • The URL path are: /assets/images/81ca9e375fc64fca5b8e0cb4865a076e.png I saw in the logs that the folder path where the image is searched is “/opt/zammad/public/assets/images/” inside the zammad-nginx container. But if I take a look it seems that there are only generic images from Zammad itself in it
  • I updated two Zammad docker instances and on both instances the image break. The second instance is currently not in use and nearly new.
  • Update from Version: 5.4.1 to 6.0.0
  • I also updated a instance which is managed via Debian package manager on a Debian 10 system and after the update we had no problems with the brand logo. So it seems that only the docker instance are affected.

Log output during the upload

zammad-railsserver_1    | I, [2023-06-23T07:55:40.184264#1-113360]  INFO -- : Started PUT "/api/v1/settings/image/16" for 10.201.24.10 at 2023-06-23 07:55:40 +0000
zammad-railsserver_1    | I, [2023-06-23T07:55:40.192718#1-113360]  INFO -- : Processing by SettingsController#update_image as JSON
zammad-railsserver_1    | I, [2023-06-23T07:55:40.192955#1-113360]  INFO -- :   Parameters: {"username"=>"[REMOVED]", "password"=>"[FILTERED]", "logo"=>"data:image/png;base64,iVBORw0KGgoAAAANSU[...]PVmqrsqGXrxwAAAABJRU5ErkJggg==", "id"=>"16"}
zammad-railsserver_1    | I, [2023-06-23T07:55:40.230361#1-113360]  INFO -- : NOTICE create - self.created_by_id is different: 1/202
zammad-railsserver_1    | I, [2023-06-23T07:55:40.260625#1-113360]  INFO -- : NOTICE create - self.created_by_id is different: 1/202
zammad-railsserver_1    | I, [2023-06-23T07:55:40.289213#1-113360]  INFO -- : Setting.set('product_logo', "05506f9a6f25bfffaaa28021af1a60d1.png")
zammad-railsserver_1    | I, [2023-06-23T07:55:40.298651#1-113360]  INFO -- : Completed 200 OK in 106ms (Views: 0.5ms | ActiveRecord: 44.8ms | Allocations: 25148)
zammad-nginx_1          | 10.201.24.10 - - [23/Jun/2023:07:55:40 +0000] "PUT /api/v1/settings/image/16 HTTP/1.1" 200 379 "https://[REMOVED]/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36"

@kevinrode thanks for the report. I believe this is a bug caused by recent changes in docker handling and created an issue here: Enable Notifications​ After update to Zammad 6.0.0 brand logo is broken (only docker version) · Issue #354 · zammad/zammad-docker-compose · GitHub

1 Like

Yeah I thought so to but I thought I open up a thread here first to be sure that I am not the only one before I open up a bug report in Git.

But anyway: Thanks for opening the Bug report. I think we can close this thread here and we will see the further updates inside of the bug report :+1:

1 Like

This topic was automatically closed 360 days after the last reply. New replies are no longer allowed.