September 10, 20205 yr After setting the icon URL once, unraid never seems to download it again after changing it. I added an icon with wrong dimensions. After fixing the icon and uploading it to a new URL, everytime I update the container to the new icon URL or remove and recreate it, it loads the old icon again. It seems like the icon is cached somewhere, but I wasn't able to find it. Any ideas where to start to fix this?
September 10, 20205 yr Correct. After the image is downloaded, Unraid serves the icon from it's locally stored copy (within the docker.img). Your workaround is to simply change the URL to anything else. Apply it. (Can't remember OTOH if you have to go to the docker / dashboard tab to attempt a new download). Then change the URL back and it'll re-download the image with the adjusted dimensions
September 10, 20205 yr Author 1 minute ago, Squid said: Correct. After the image is downloaded, Unraid serves the icon from it's locally stored copy (within the docker.img). Your workaround is to simply change the URL to anything else. Apply it. (Can't remember OTOH if you have to go to the docker / dashboard tab to attempt a new download). Then change the URL back and it'll re-download the image with the adjusted dimensions That is what I assumed, but the new image is under a completely different URL, unraid still doesn't download it again. I even tried setting it to the icon URL of one of the other containers, still no avail.
September 10, 20205 yr Oh and maybe clear your browser cache. I seem to recall that on 6.9 I put in some code changes to handle browser caching in this circumstance
September 10, 20205 yr Author 9 minutes ago, Squid said: What unRaid version? Sorry, should have mentioned that. I'm on 6.8.3. 8 minutes ago, Squid said: Oh and maybe clear your browser cache. I seem to recall that on 6.9 I put in some code changes to handle browser caching in this circumstance Tried clearing the cache and also tried it with dev tools (and disable cache option), doesn't seem to make a difference. I just tried it with a new container and it happens again. Initial container configuration: Initial icon URL: https://i.imgur.com/KDZALBF.png Updated icon URL: https://i.imgur.com/ajVjfzk.png When trying to change the icon URL to the updated URL, the icon still stays the same. Edited September 10, 20205 yr by Strayer
September 10, 20205 yr Do you already have another container using the same repository (debian?). If so, then under 6.8 the icons will always be identical between the two. 6.9 supports different icons for multiple containers using the same repository.
September 11, 20205 yr Author 15 hours ago, Squid said: Do you already have another container using the same repository (debian?). If so, then under 6.8 the icons will always be identical between the two. 6.9 supports different icons for multiple containers using the same repository. No, this was just a testing container. The actual container I have the issue with is the only mongo:4.0 container (even the only mongo container at all) on the system. Since it is not really an important issue, I will probably wait for 6.9 to check this again. Thanks for the help so far!
October 9, 20205 yr Bump. I'm having the same problem. Changed the URL to a totally different one, but the new one never gets downloaded. Cleared cache and tried on different browsers, so I don't think it's a browser issue. Not using the repo in any other containers, either. Running 6.8.3. EDIT: I even completely deleted and re-added the container. Thanks! Edited October 9, 20205 yr by micahmo
November 26, 20205 yr Author Its also still broken for me and makes me crazy. Everytime I login, I see that broken icon 😡 😉 I fixed this manually for now by replacing the PNG in /var/lib/docker/unraid/images/ with the correct one and removing the cached PNG from /var/local/emhttp/plugins/dynamix.docker.manager/images.
November 26, 20205 yr 46 minutes ago, Strayer said: Everytime I login, I see that broken icon Is this still on 6.8.3 or have you updated to 6.9?
November 26, 20205 yr Author Just now, Squid said: Is this still on 6.8.3 or have you updated to 6.9? Still on 6.8.3, yes. I'm looking forward to a few changes in 6.9, but I still prefer to wait for a stable release.
November 27, 20205 yr 1 hour ago, Strayer said: Still on 6.8.3, yes. I'm looking forward to a few changes in 6.9, but I still prefer to wait for a stable release. As far as I can tell, it works perfectly on 6.9 (otherwise I'm the one who's going to wind up getting spanked by LT - there were other changes in the icon system for it), so just hold tight.
March 8, 20215 yr Just in case someone comes along this thread like I did today ... I'm on 6.9 and ran into a similar issue when trying to replace an image by changing the path in the xml template. Deleting container, Path changing, reloading, nothing helped. I ended up deleting the image at "/var/lib/docker/unraid/images/". When then building a new container from the template the image was pulled again and the new image appears! Regards, André
March 9, 20215 yr 2 hours ago, andre (buanet) said: Just in case someone comes along this thread like I did today ... I'm on 6.9 and ran into a similar issue when trying to replace an image by changing the path in the xml template. Deleting container, Path changing, reloading, nothing helped. I ended up deleting the image at "/var/lib/docker/unraid/images/". When then building a new container from the template the image was pulled again and the new image appears! Regards, André So can you change it now?
June 1, 20215 yr On 6.9.2, experiencing the same issue. Need to "force update" the container for the changes to take effect. It is weird though, this does not seem to apply to all containers - about two weeks ago, I successfully changed the icon of my first and only dockerhub container. And yes, I tried different browser, incognito mode, etc - so no browser caching issue. Thanks for all the good work so far, I really like unraid!
June 2, 20215 yr On 6/1/2021 at 1:17 AM, coldtech said: On 6.9.2, experiencing the same issue. Need to "force update" the container for the changes to take effect. It is weird though, this does not seem to apply to all containers - about two weeks ago, I successfully changed the icon of my first and only dockerhub container. And yes, I tried different browser, incognito mode, etc - so no browser caching issue. Thanks for all the good work so far, I really like unraid! Just had the same problem after updating 4 containers this morning. What ended up working for me was to delete the generic 1k icons from /var/lib/docker/unraid/images then do "force update". Thanks for everyone's help. Those questions mark icons were driving me crazy! EDIT: I am also on 6.9.2 Edited June 2, 20215 yr by Pacman56
February 1, 20224 yr On 6/2/2021 at 1:42 PM, Pacman56 said: What ended up working for me was to delete the generic 1k icons from /var/lib/docker/unraid/images then do "force update". I do not have such generic icons in this directory. I am also on Unraid 6.9.2 Every time I delete the obviously generically created icon and run a forced update, it is automatically created again. Any other ideas to get to an icon via a URL download? Edited February 1, 20224 yr by JoergHH Typo
February 1, 20224 yr If this is happening on < 6.10, edit the applicable template in /config/plugins/dockerMan/templates-user and change <TemplateURL>some url here</TemplateURL> to instead be <TemplateURL>false</TemplateURL> If there's issues with getting the URL to work, let me know exact steps on how to replicate it as I have never had any issues with this subsystem.
February 7, 20224 yr On 2/1/2022 at 7:36 PM, Squid said: If this is happening on < 6.10, edit the applicable template in /config/plugins/dockerMan/templates-user and change <TemplateURL>some url here</TemplateURL> to instead be <TemplateURL>false</TemplateURL> If there's issues with getting the URL to work, let me know exact steps on how to replicate it as I have never had any issues with this subsystem. I do not understand this. There is nothing in <TemplateURL> in the affected user template and the path to the icon file is completely correct. <TemplateURL/> <Icon>https://[correct_path_to].png</Icon>
October 5, 20241 yr The problem is actually relatively easy to solve. Open Console/Terminal and then: cd /var/lib/docker/unraid/images ls rm -f filename.png and cd /var/local/emhttp/plugins/dynamix.docker.manager/images ls rm -f filename.png recreate the container with the correct image url. Edited October 5, 20241 yr by Novaliz
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.