Jump to content
eoh7678

Docker update error

11 posts in this topic Last Reply

Recommended Posts

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!

Share this post


Link to post

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

Share this post


Link to post

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

Share this post


Link to post

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.

Share this post


Link to post
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.

Share this post


Link to post

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

 

Share this post


Link to post
Posted (edited)
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

Share this post


Link to post

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.

Share this post


Link to post

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.

Share this post


Link to post

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...

×   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.