Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

automatic container update fails other containers

Featured Replies

Have an issue with docker image updates.

There are 2 containers - Authelia & Redis. Former is depending on Redis.

 

If both containers were to be updated automatically by Unraid, then Authelia fails to start up, as Redis - following its update - hasn't started yet.

 

Is there a way to force some delays on upgrade, or other methods to mitigate this nuisance?

 

You can set a delay. In the docker tab switch to advance view and you’ll see a delay setting. IIRC changing the display order also changes the startup order.

  • 2 months later...
  • Author
On 4/2/2022 at 3:49 PM, wgstarks said:

You can set a delay. In the docker tab switch to advance view and you’ll see a delay setting. IIRC changing the display order also changes the startup order.

Startup order, yes. Delay setting works perfectly for the initial startup. But when it comes to image upgrades (which will cause container restart), then delays don't mean anything. Example, say we have following containers:

- redis
- mariadb - delay 10s -
- authelia

Now when we have a situation where both redis & authelia containers are updated, then we can have a situation where authelia fails to start as redis is not up. If updates happened in the listed order, this problem would likely not occur.

Don't auto upgrade containers that support other containers. There really is no good way to automate dependencies currently. You could write your own scripts to get things done, but a universal fix in Unraid will require major rewrites, and I don't see that being a high priority when there is a simple solution available now, to just disable automatic updates on containers that must stay running to avoid breaking other containers.

 

Your fix to update in order only partially solves the root issue. You could still run into situations where the full startup sequence is needed to get things running again, so the only way I can see doing automatic updates with the current startup order is to bring down all the containers, apply all updates, then run through the startup routine. Otherwise people will still have situations where some containers get stuck in limbo when their parent containers get updated.

 

Unattended updates should not be a thing on systems that are important to keep running, too many things can go wrong and require intervention to fix.

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
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.