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"