• 6.11.5 docker icons come and go (page refresh)


    gmight
    • Solved

    Upgraded from 6.9.2 to 6.11.5 this morning.  Everything is working as expected with the exception of my docker icons.  Clicking on dashboard or refreshing the page makes docker icons disappear, clicking on dashboard again or refreshing the page makes them come right back. 

     

    This happened consistently...  Zero impact on the containers themselves, everything is humming along as it was prior to the upgrade.

     

    image.png.32ec1b0dfdd3ba91c206284c1c0d3215.png

     

    When the icons disappear syslog dumps this;

     

    Dec 31 21:25:17 semperfi root: adminer: Could not download icon /state/plugins/dynamix.docker.manager/images/adminer-icon-5280c8f21b23f98261ac899e0878f91bc1fa0e19.png
    Dec 31 21:25:17 semperfi root: Authelia: Could not download icon /state/plugins/dynamix.docker.manager/images/Authelia-icon-ac28d725dcc519d14919be9396a246ea334ed4e4.png
    Dec 31 21:25:17 semperfi root: bazarr: Could not download icon /state/plugins/dynamix.docker.manager/images/bazarr-icon-683b4bb64c1b3d00c53fe25dacfc064f9865e899.png
    Dec 31 21:25:17 semperfi root: binhex-krusader: Could not download icon /state/plugins/dynamix.docker.manager/images/binhex-krusader-icon-3b6060ac918b0b4addf4d8fc2c687a196ea67eb1.png
    Dec 31 21:25:17 semperfi root: binhex-privoxyvpn: Could not download icon /state/plugins/dynamix.docker.manager/images/binhex-privoxyvpn-icon-174be90a10ac77e8bf13e3e9ffc753d9a7475764.png
    Dec 31 21:25:17 semperfi root: binhex-sabnzbdvpn: Could not download icon /state/plugins/dynamix.docker.manager/images/binhex-sabnzbdvpn-icon-72f8e914be77cdce7ee3c5925cba3ed896f0da08.png

    ....output cut for brevity....

     

    But again, a refresh gets them right back and no logs are recorded in syslog.

     

    image.png.727cfc5a0d93fe007636053cf629525f.png

     

    I'm running an Asus X99-E WS/USB 3.1 MB with an e5-2640 v4 and 256gb ECC ram.  Worked flawless on 6.9.2 - zero issues.  It's not a show stopper, but if there's something that I can do to make the icons stop going away, it would be helpful and the assist would be appreciated.

     

    Thanks!




    User Feedback

    Recommended Comments

    Icons once they are downloaded once should never attempt to download again.

     

    You would need to post your diagnostics after the following happens:

     

    - Icons are present, and then after a refresh the icons disappear, ideally without a reboot happening in between

     

     

    Link to comment

    Squid,

     

    Diags attached. 

     

    No reboot in 24 hours and it's happened dozens of times since yesterday and a few times this morning.  Happens every time without fail.  I can refresh the dashboard and I'll go from icons present to icons not; consistently.

     

    Thanks

    semperfi-diagnostics-20230101-0723.zip

    Link to comment

    I had one container enabled using compose.  I've deleted it since it didn't give me the desired outcome (a while back).  It was a gluetunVPN (2).  But like I said, it's gone.  

     

    The others are all built using unraid templates.

    Link to comment

    Day two and a little self healing is happening all on it's own.  Some icons are returning or I should say remain persistent on every refresh.

    image.png.7e0c853effc0dee744b50897f8d43bb4.png

     

    Unable to understand why or how.  To summarize, instead of all icons going away on a refresh; only some disappear.

     

    I might have to wait this out?  I'll repost tomorrow with an update.

     

    Link to comment

    The icons are saved within the docker image.  Once they are downloaded they should never get re-downloaded.

     

    The only thing that pops into my mind regarding this is that you can try to recreate the docker image.  Should be mostly painless

     

    Link to comment

    Gotya.  If I remember correctly, if you delete your docker image, you an restore all your containers simple by pulling the docker template from the docker tab yes?  All my settings\options should remain within the template, I just have to initiate and walk away.

     

    I'll get back to you when I do this.  Probably tomorrow sometime, right now I have other "duties" that call me.  Thanks for looking at this and for the feedback!

    Link to comment
    On 1/1/2023 at 2:21 PM, gmight said:

    I had one container enabled using compose.  I've deleted it since it didn't give me the desired outcome (a while back).  It was a gluetunVPN (2).  But like I said, it's gone.  

     

    The others are all built using unraid templates.

    Is the compose manager plugin installed? If it is check its settings page and make sure the "Patch UI" setting in disabled.

    Link to comment

    Ah dude - that's a wrap.  So I do have compose installed and not only do you have to disable "patch unraid WebUI" setting, but you also must "unpatch" by pressing the button that appears after disabling the feature.

     

    That cleared the problem up!  Great call brother, got my icons to stabilize without killing the docker image, I was dreading that.  I'm glad you called it out before I started down that path.

     

    Well done and thanks - this is now resolved.

    Link to comment

    For containers that installed by unraid templates, you can check the following items:

    • whether your browser can get file from url of the icon file. (You can use develop tool of browser to get this url.)
    • whether icon file exists in '/usr/local/emhttp/state/plugins/dynamix.docker.manager/images/'(icon file name is 'container name-icon')
    • whether icon file exists in '/var/local/emhttp/plugins/dynamix.docker.manager/images/'.
    • whether icon file in '/var/local/emhttp/plugins/dynamix.docker.manager/images/' is broken.
    • whether icon file exists in '/var/lib/docker/unraid/images/'.
    • whether the container has label 'net.unraid.docker.icon' and 'net.unraid.docker.managed'
    • whether the url of icon file (value of label 'net.unraid.docker.icon') can be accessed by system.

     

    Containers that installed with a template are managed by dockerman. I guess:

    • Dockerman downloads icon file from url which recorded in label 'net.unraid.docker.icon' of containers. The icon file would be downloaded in '/var/lib/docker/unraid/images/'. Dockerman would not download it again until the file does not exist.
    • When the system starts,  system copies it from '/var/lib/docker/unraid/images/' to '/var/local/emhttp/plugins/dynamix.docker.manager/images/' and '/usr/local/emhttp/state/plugins/dynamix.docker.manager/images/'. Config file is renewed at the same time(Route of the config file is '/usr/local/emhttp/state/plugins/dynamix.docker.manager/dockerman.json').
    • When browser wants to get icon files, the url of icon file is read from config file and then browser gets icon file from this url.
    • At this time,  if the icon file does not exist in  '/usr/local/emhttp/state/plugins/dynamix.docker.manager/images/', file  would be copied from '/var/local/emhttp/plugins/dynamix.docker.manager/images/'. if the file does not exist in '/var/local/emhttp/plugins/dynamix.docker.manager/images/', it would be copied from '/var/lib/docker/unraid/images/'.

     

    To recover the icon file, maybe you can delete icon files in all routes above for the certain container. Then the system will download icon file again and renew files in routes above. Before that, make sure that the url could be accessed by system.

     

    Edited by guobin
    Link to comment

    The root of this problem was the "patch ui" setting of the compose manager plugin. Among other things it patches it changes the naming scheme of the icons and is apparently buggy on 6.11.5.

    Link to comment


    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.

    Guest
    Add a comment...

    ×   Pasted as rich text.   Restore formatting

      Only 75 emoji are allowed.

    ×   Your link has been automatically embedded.   Display as a link instead

    ×   Your previous content has been restored.   Clear editor

    ×   You cannot paste images directly. Upload or insert images from URL.


  • Status Definitions

     

    Open = Under consideration.

     

    Solved = The issue has been resolved.

     

    Solved version = The issue has been resolved in the indicated release version.

     

    Closed = Feedback or opinion better posted on our forum for discussion. Also for reports we cannot reproduce or need more information. In this case just add a comment and we will review it again.

     

    Retest = Please retest in latest release.


    Priority Definitions

     

    Minor = Something not working correctly.

     

    Urgent = Server crash, data loss, or other showstopper.

     

    Annoyance = Doesn't affect functionality but should be fixed.

     

    Other = Announcement or other non-issue.