Jump to content
  • docker "host access to custom networks" needs to be reenabled on each unsafe shutdown


    alturismo
    • Annoyance

    just to keep this issue alive as there are more open questions regarding this and its still open in 6.10 rc2

     

    description is simple as the topic, whenever there was a unsafe shutdown, starting unraid with docker setting

     

    image.thumb.png.7ba4b956ff76a06861609d5286448499.png

     

    will result in a non working state, stopping/starting docker service or rebooting clean resolving the issue.

     

    easy to reproduce and annoying when you externally working on the mashine and hard reboot externally while using as sample ssh guac to access it again, but doesnt work as described above, so only VPN backdoor to restart it.

     

    may a workaroud possible if its a bigger issue ? like you can trigger parity after a unclean shutdown, trigger a docker service restart too ?

     

    tested here from 6.92 until today 6.10 rc2 on 4 different mashines with the same result, open issues as reminder

     

     

    ...

     

     

    • Like 2



    User Feedback

    Recommended Comments

    Benni-chan

    Posted

    i have the same problem.

    after an unclean shutdown (rc2 crashes sometimes, there are many other bug reports about this), i have to disable and reenable this setting. very annoying.

    • Like 1
    Quack6765

    Posted

    Same issue with latest stable version 6.9.2

    strongy

    Posted

    i had this exact issue yesterday fixed it today by disabling and enabling host access version 6.9.2

    sirkuz

    Posted

    Ran into this today as well under 6.10.0-rc2

    bonienl

    Posted

    It works fine when using a static IP address assignment for Unraid.

     

    Using DHCP may cause a race condition, and the shim network is not created when your DHCP server is slow in responding.

     

    alturismo

    Posted

    On 7/7/2022 at 12:13 PM, bonienl said:

    It works fine when using a static IP address assignment for Unraid.

     

    Using DHCP may cause a race condition, and the shim network is not created when your DHCP server is slow in responding.

    sorry @bonienl but i cant confirm this, as i didnt had any "unsafe" shutdowns lately i just forced one and ...

     

     

    image.thumb.png.ec4da88cb8bae4489539d82fc0b4f5b6.png

     

    and i use a static assignement since day 1 i use unraid (all local devices here use static ip's here)

     

    image.thumb.png.1689c33f04d26bbe110c5e4523164d77.png

     

    docker setting

     

    image.thumb.png.17a98e13558f2caccabaf420bc15cf23.png

     

    so for now i have to stop/start docker service to get the "host access" back to work or make a clean restart ...

     

    then its back again

     

    image.thumb.png.14861a867906f70bf91e7708ad7a8b8c.png

     

    as i stated, no chance to make a simple routine ? unclean shutdown = docker service restart ;)

    image.png

    ionred

    Posted

    Can confirm all unraid related ips on my system are static as well 

    arturovf

    Posted

    9 hours ago, ionred said:

    Can confirm all unraid related ips on my system are static as well 

    x2, static ip as well

    lucidnx

    Posted

    I am just using bridge for all my containers, unraid uses DHCP client to get IP (2xNIC in LACP), and on every reboot, I need to turn docker off and on again. then it works. I am on 6.11.1, still present.

    alturismo

    Posted

    may as friendly reminder, 6.12 has still the same issue ...

     

    unsafe shutdown, reboot, most common ends in broken (missing shim) host access.

    TRusselo

    Posted (edited)

    just happened to me.... again. damn.  shows enabled, but things stopped working.
    THANK YOU

     

    it has felt so random. sometimes it works, sometimes it dont.  OMFG


    enable/ disable docker and my dockers can again talk to eachother.

    when this happens my home assistant docker on HOST cant see/talk to other dockers on br0.
    i had to reconfigure swag with some hardcoded address to access guacamole from outside the lan.

    Edited by TRusselo
    Edwardo

    Posted

    I just had this problem also.  Took me a while to come across this thread.  My nginx docker hung on an update and wouldn't quit.  I couldn't force the docker container to stop so I had to do a hard reset/unclean shutdown of Unraid.  I've been spinning my wheels for the last hour trying to figure out why I was getting 502 bad gateway messages from nginx.  Turns out I had to disable/reenable host access to custom networks.  

     

    Just wanted to post this to say, this is still valid and apparently has been going on for quite a while.

    • Like 1
    Jambo

    Posted (edited)

    Also posting here as this is making my time a pain in the arse too. I'd say this is not an annoyance but also affects functionality as it makes automatic recovery unlikely.

    Edited by Jambo
    Jogoyo

    Posted

    Same issue here running latest version of Unraid 6.12.3 with static IP assignment for host. How has this not been fixed already??

    • Like 1
    ImSkully

    Posted (edited)

    Confirmed issue still exists in 6.12.4.

    Edited by ImSkully
    • Like 1
    feta

    Posted

    Still an issue on 6.12.6.

     

    It would be great to get some kind of validation and a fix for this issue. 

    • Like 1
    AServ

    Posted

    I'm having this issue on 6.12.6; Is there no workaround until an official fix?

    • Like 1
    gabtoof

    Posted

    Still an issue on 6.12.10. I'd like to add an additional twist that I haven't seen mentioned (or missed it if it was)... not only is 'host access to custom networks' impacted, I think that 'Docker network type' is also impacted.

    Everything on my system was working great (IPVLAN) until an unclean shutdown (failed UPS). As someone above mentioned, I was getting 502 errors on my Nginx redirects. A 'fix' at the time was to restart docker - things seemed to work (before I came across this thread). Until a few hours later when my system froze. So I rebooted it, restarted docker, and went on... again just for a few hours, then a crash. This happened almost a dozen times, while I got more concerned and finally found this/similar threads. So I set my networking type from IPVLAN to MACVLAN, applied, and put back to IPVLAN (in addition to toggling custom networks). My system has finally been stable for over 24 hours.

    czaj

    Posted

    I can confirm that this still happens in 6.12.11. Still the same method to fix the problem.



    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.

×
×
  • Create New...