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 update error

Featured Replies

Not sure if this should go here in Docker support, or in general support, so I'll put it here in the interest of trying to be accurate.

 

Just started getting this with 3 containers that needed update today- the containers are Plex, Radarr, and Sonarr.

 

Fatal error: Uncaught Error: Call to undefined method DockerUtil::cpus() in /usr/local/emhttp/plugins/dynamix.docker.manager/include/CreateDocker.php:37 Stack trace: #0 {main} thrown in /usr/local/emhttp/plugins/dynamix.docker.manager/include/CreateDocker.php on line 37

If you need any other troubleshooting info, please let me know and I'll provide!

I would reboot and see if anything changes.  If not, then post your diagnostics.  ie:  There's no reason why that error would happen...

  • Author
49 minutes ago, Squid said:

I would reboot and see if anything changes.  If not, then post your diagnostics.  ie:  There's no reason why that error would happen...

Same error after a reboot.  I've attached diagnostics.

home-srv-ur-1-diagnostics-20200324-1658.zip

Try restarting in Safe Mode from the boot menu to see if that makes a difference

  • Author
5 minutes ago, Squid said:

Try restarting in Safe Mode from the boot menu to see if that makes a difference

Started in safe mode without GUI, still having the same error.  Fresh diagnostics from safe boot attached.

home-srv-ur-1-diagnostics-20200324-1706.zip

The only thing that even begins to make sense to me is a corrupted flash.

 

Download the zip file for 6.8.3 from limetech's website, and overwrite all of the bz* files on the flash drive with the ones in the zip.  Then reboot.

  • Author
19 minutes ago, Squid said:

The only thing that even begins to make sense to me is a corrupted flash.

 

Download the zip file for 6.8.3 from limetech's website, and overwrite all of the bz* files on the flash drive with the ones in the zip.  Then reboot.

Still the exact same error.  I also ran a check on the flash drive- no errors found.

No idea why you have this line in your go file (/config/go on the flash drive), overwriting the stock file, but it's going to be the cause

yes | cp -f /boot/config/root/DockerClient.php /usr/local/emhttp/plugins/dynamix.docker.manager/include/DockerClient.php

 

  • Author
15 minutes ago, Squid said:

No idea why you have this line in your go file (/config/go on the flash drive), overwriting the stock file, but it's going to be the cause


yes | cp -f /boot/config/root/DockerClient.php /usr/local/emhttp/plugins/dynamix.docker.manager/include/DockerClient.php

 

Oh, holy crap... I remember that now!!  I had the same issue as here: https://forums.unraid.net/bug-reports/stable-releases/dockers-wanting-to-update-but-dont-in-the-end-r618/?page=2

 

So I used the fix listed in the thread and just made it a part of my go file.  I guess it hadn't changed enough until now that it broke!

 

And so amazing, it now works fine!!

 

So sorry to waste your time, I should have remembered that I'd done that.

Edited by eoh7678

I know.  It's hard to remember everything you do.  But, as an aside, shortly after that patch came out, the auto-update plugin incorporated it (in a safe manner), and the patch was no longer necessary.  It's more a kind of "kick Squid in the ass" because it never occurred to me to even look at that file in the go until after everything else was done.

  • Author

As usual, I had to be the dummy who forced the really smart people to take a step back from advanced diagnostics and check if the stupid thing was plugged in. :)

 

Seriously, though, thanks for your timely assistance.

Archived

This topic is now archived and is closed to further replies.

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.