Opawesome Posted August 2, 2021 Share Posted August 2, 2021 On 5/19/2021 at 4:23 PM, jakeortman said: Registered a forum account here just to say Thank you! I was bouncing between all sorts of threads thinking it was a Pi-hole or DNS issue, but this fixed it immediately. Likewise Quote Link to comment
MrAndyBurns Posted August 17, 2021 Share Posted August 17, 2021 Great work @HyperV and @ich777 and @ephdisk ... I still needed this fix as I am still having VM problems moving to 6.9.x (Xpenology - kernel is too new) ... but all 24 dockers now showing status correctly Quote Link to comment
wayner Posted August 19, 2021 Share Posted August 19, 2021 I am running an old version of unRAID, 6.4.1, and I can't upgrade right now as it has a major effect on my most important docker. Is there any way to fix this issue in 6.4.1? The fix posted at the beginning of this thread doesn't appear to work as the text isn't found in this version of the DockerClient.php file. Quote Link to comment
optiman Posted September 19, 2021 Share Posted September 19, 2021 On 5/14/2021 at 6:30 AM, HyperV said: I had exactly the same issue and could not find any solutions on the forum or the internet. So I did some digging myself and found the cause of the issue. The docker update check script gets the remote digest of the latest tag from the docker repository via a header called 'Docker-Content-Digest'. The script checks for this header with a case-sensitive regex pattern. Manually querying the docker hub registry gives me a header called 'docker-content-digest' (mind the casing). The docker hub registry must have recently changed the casing of this header, because it broke for me in the last 24 hours. I'm running on Unraid 6.8.3 still, so I'm not 100% sure if this issue also exists in 6.9.x. If you feel up to it, you could quite easily fix this yourself until there is a real fix. I'll describe the steps below: Open file: /usr/local/emhttp/plugins/dynamix.docker.manager/include/DockerClient.php Go to line 457. There you should look for the text: @Docker-Content-Digest:\s*(.*)@ and replace it with: @Docker-Content-Digest:\s*(.*)@i Save the file. This will make the header check case-insensitive and should make it work again. I tried this and I get Access Denied when I try to save it. I've disabled Docker in Settings. How did you get around that? Quote Link to comment
trurl Posted September 19, 2021 Share Posted September 19, 2021 3 minutes ago, optiman said: I get Access Denied when I try to save it. What are you using to edit the file? Quote Link to comment
optiman Posted September 19, 2021 Share Posted September 19, 2021 (edited) I was able to change the file and copy it over the existing file. I copied to a user share using MC, then to my pc and used Notepad++ Here is what my line 457 looks like" preg_match('@Docker-Content-Digest:\s*(.*)@i', $reply, $matches); I then copied the updated file back to my user share and then again used MC to copy it / overwrite the existing. I then enabled Docker in Settings and tried again. It did not help. Do i need to reboot? Rebooted and it seems to be back to normal now. Thanks! Edited September 20, 2021 by optiman Quote Link to comment
optiman Posted September 23, 2021 Share Posted September 23, 2021 upgraded to 6.9.2 and still the docker update issue continues Sep 22 19:02:26 Tower nginx: 2021/09/22 19:02:26 [error] 8444#8444: *6597 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 10.11.79.248, server: , request: "POST /plugins/dynamix.docker.manager/include/DockerUpdate.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock", host: "10.11.79.162", referrer: "http://10.11.79.162/Docker" Quote Link to comment
optiman Posted September 23, 2021 Share Posted September 23, 2021 Please - any idea how I can fix the docker update issue? I thought this was supposed to be fixed in the latest version, but clearly it is not. I can force an update and then it will say it's Up to Date. But the auto run check (daily) and hitting the Check For Updates do not work. Is this the wrong place to ask for help for this issue? Quote Link to comment
jbuszkie Posted September 23, 2021 Share Posted September 23, 2021 19 minutes ago, optiman said: Please - any idea how I can fix the docker update issue? I thought this was supposed to be fixed in the latest version, but clearly it is not. I can force an update and then it will say it's Up to Date. But the auto run check (daily) and hitting the Check For Updates do not work. Is this the wrong place to ask for help for this issue? Did you undo any "fixes" you implemented before the upgrade? Quote Link to comment
optiman Posted September 23, 2021 Share Posted September 23, 2021 crap, no I didn't realize I would need to go back and change that file. Will try that right now. Thanks! Quote Link to comment
ChatNoir Posted September 23, 2021 Share Posted September 23, 2021 35 minutes ago, optiman said: crap, no I didn't realize I would need to go back and change that file. Will try that right now. Thanks! If it does not fix it, it would suggest another issue. You should then create your own topic. Quote Link to comment
optiman Posted September 23, 2021 Share Posted September 23, 2021 (edited) Ok, changed it back and restarted the Docker service, and again when I check for updates, same thing, just spins and times out. wtf Sep 23 15:43:25 Tower nginx: 2021/09/23 15:43:25 [error] 8444#8444: *269827 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 10.11.79.248, server: , request: "POST /plugins/dynamix.docker.manager/include/DockerUpdate.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock", host: "10.11.79.162", referrer: "http://10.11.79.162/Docker" As suggested, I started a new topic Edited September 23, 2021 by optiman Quote Link to comment
jbuszkie Posted September 23, 2021 Share Posted September 23, 2021 I don't remember the details of the problem or the fix... And might be useless.. But might you try a full reboot? Not just restarting the dockers? Quote Link to comment
optiman Posted September 23, 2021 Share Posted September 23, 2021 yes, I did try rebooting and it didn't help, thanks Quote Link to comment
jbuszkie Posted September 24, 2021 Share Posted September 24, 2021 Sorry.. But then It's beyond my help.. I'm nowhere near the expert here! Quote Link to comment
Squid Posted September 24, 2021 Share Posted September 24, 2021 Do you have an obscene number of containers installed? Are you able to install new ones? Quote Link to comment
optiman Posted September 24, 2021 Share Posted September 24, 2021 only 5 and yes, I can install new ones without any errors Quote Link to comment
Squid Posted September 24, 2021 Share Posted September 24, 2021 Post the diagnostics. Maybe something in there Quote Link to comment
optiman Posted September 24, 2021 Share Posted September 24, 2021 (edited) @Squid As suggested, I started a new topic https://forums.unraid.net/topic/114042-docker-check-for-updates-not-working/?tab=comments#comment-1037745 diag posted there Edited September 29, 2021 by optiman 1 Quote Link to comment
TimTheSettler Posted February 24 Share Posted February 24 If you're having trouble with one or two apps that are "not available" then you should install this. I was running Unraid 6.11.5 and I had problems with the MeTube app. Quote Link to comment
Recommended Posts
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.