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.

Docker Updates Fail

Featured Replies

I have been dealing with this for a while now.

Whenever I update a docker app (primarily those with larger images), it fails, repeatedly.

Will often fail to remove old image or will have orphaned image

 

Because it was affecting larger images thought maybe it was a read/write problem.  So changed out SATA cables and even tried a different USB boot drive. (Grasping at straws)

 

Reviewed the forums and tried what others had suggested:

Have tired changing from single img file to directory (under settings/docker/ )

I have tired removing container and reinstalling.  Sometimes it works, most times, even after a re-install, it will still say update available.

Tried updating with Portainer.

 

I know it's not a internet issue because I have another unraid server right next to it that updates just fine.

 

The included diagnostic file was created just after I tried to update paperless-ngx

 

TIA

unRaid-diagnostics-20240729-1246.zip

  • Replies 83
  • Views 7.4k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • Tried the --init parameter and it did update successfully.  Will try with other containers as they become available and report back.   Thanks for all your help so far

  • This is normal if you are using a docker directory on zfs storage.

  • Just wanted to update - Anytime I have a container that fails to update "normally", I just run the docker pull command and it works.  May take a while, but it works so far every time.

Posted Images

  • Author

I increased timeout from 10 to 120.

Seemed to be stuck at removing old image

Competed with update failed and still shows "update ready"

Page refresh now show paperless-ngx gone and there is now orphaned image

Edited by uglytuna
added more information

  • Author

Reread the linked post and tried updating with timeout set to 60.

Updating a different container yielded:

Removing container:

Error:

 

The command finished successfully!

 

But container still shows as needing update

  • Author

Tried the --init parameter and it did update successfully.  Will try with other containers as they become available and report back.

 

Thanks for all your help so far

  • Community Expert
1 hour ago, uglytuna said:

and report back

Please do, I've tracking this issue for some time, but I cannot reproduce it myself, so trying to find out if any of these options really helps.

Hello,

 

Got the same exact issue since at least a couple weeks on my side.

 

I thought it may have been linked to a faulty / slow array, but even since migrating to Docker Directory, as well as a full speed SSD ZFS mirror cache, it still exhibits the same symptoms than uglytuna above.

 

Setting Docker Stop Timeout: to 60s instead of 10s didn't change anything.

 

Would it be more efficient to create my own thread, or pile up on this one ?

 

Thanks,

unraid-804-diagnostics-20240731-1322.zip

I tried adding --init to the last container that has the problem at the moment, but it actually doesn't start at all with it : ( lscr.io/linuxserver/homeassistant )


s6-overlay-suexec: fatal: can only run as pid 1

** Press ANY KEY to close this window ** 

 

Anyway, the docker is stopped right now, with a pending known update : image.thumb.png.750ac72f8afde85fda0be8ff70a00c59.png

 

image.thumb.png.9efc93106234414fc416d53ebc4da30c.png

 

That hangs at this stage... :

image.thumb.png.9ff321b5811420a2898fa6db9f327c63.png

 

And woah, it actually worked this time. Without the --init line just for confirmation.

image.thumb.png.46aa538a55e34424f1c1df06647619d1.png

 

Is there any way to help any further ? I tried updating this specific container about a dozen times, I have no more pending update at the moment.

  • Community Expert
49 minutes ago, triskell34 said:

it actually worked this time.

Yeah, that's one of the difficulties with this issue, even for the affected users, it can be intermittent.

  • Author

Adding the --init to Netdata container seemed to work.

Adding to Immich did not.  Althought the Immich container had a lot of other things listed in "additional parameters"

--init <br>PostgreSQL 14/15/16 with (https://github.com/tensorchord/pgvecto.rs), Redis<br>This container requires an external application to be run separately.<br>You can also use a docker mods to start redis within the container,<br>Set `DOCKER_MODS=imagegenius/mods:universal-redis`, and `REDIS_HOSTNAME` to `localhost`.<br>&nbsp;&nbsp;&nbsp;&nbsp;

Ran update twice and still shows as update available

  • Author

When I tried starting it, it said execution error, Immich container now gone and there is an orphaned container now listed.

  • Community Expert

Try deleting that orphan container and then restoring from Apps.

  • Author

yep, did that and restored just fine (have had to do numerous times in the past), but still showing as update available

 

I did do a diagnostic download

unraid-diagnostics-20240731-1609.zip

  • Community Expert

OK, I guess it's not possible to try just the --init as an extra option, just to see if it updates?

  • Author

did you mean remove everything from extra parameters except --init?

Tried again with everything as before with same result - still saying needs updating

  • Community Expert
19 minutes ago, uglytuna said:

did you mean remove everything from extra parameters except --init?

Yep, not sure that would work, but just as a test

  • Author

Same result, "finished successfully", but still saying needs updating.

  • Community Expert

OK, thanks for testing.

  • Community Expert
19 hours ago, uglytuna said:

Same result, "finished successfully", but still saying needs updating.

Please try updating this container with the Docker Stop Timeout set to 300 secs, according to another report lower values didn't work, but 300 did.

  • Author

Will do

Hello all,

 

Got the same issue with immich as well since a couple days and the latest immich update,

 

I did :

 - put docker timeout at 300s

 - add --init as Extra parameter on immich docker, despite said parameter not enabling docker to start successfully

 

So, with these settings and immich docker stopped & waiting for upgrade, i did push the upgrade, which stayed stuck as following for a couple minuts : image.thumb.png.4405ad50e8578cf1120f5e030f116ce4.png

After which it tried to start the docker, ending in the following situation : image.thumb.png.f671e5175d553310c2c4923a39401666.png

 

My docker setup has no Extra parameter or post arguments, only --init for this test.

Edited by triskell34

  • Community Expert
2 hours ago, triskell34 said:

put docker timeout at 300s

So, just to confirm, this didn't help right?

Correct indeed, the immich docker was still in the old version, the new update didn't correctly apply.

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.