Bug updating plugins/docker/os with GUI + a FIX

Go to solution Solved by bonienl,

Recommended Posts

Since version 6.10 RC... I've noticed troubles updating plugins, docker containers and OS using the GUI.

I'm getting a "not available" error message each time.



Same issue reported with Docker containers here https://forums.unraid.net/topic/108643-all-docker-containers-lists-version-“not-available”-under-update/


The "CA Auto Update Applications"  is working fine though so it was not a big deal but still, annoying.


I could't find any answer on Google nor this forum so I started digging and found what seems to be the culprit.

The script /usr/local/emhttp/plugins/dynamix.plugin.manager/scripts/checkall implements a connectivity test trying to reach http://www.msftncsi.com/ncsi.txt but fails to do so :

// check connectivity first
echo _("Checking connectivty")."...\n";
if (exec("wget --spider -nv -T10 -t1 http://www.msftncsi.com/ncsi.txt 2>&1|grep -o 'OK'")) {
  $check = popen('plugin checkall','r');
  while (!feof($check)) echo fgets($check);
} else {
  echo _("No response, aborting")."!\n";


Running the command below shows the error



The fix is quite simple, at least for manually updating plugins through GUI: try reaching using HTTPS instead of HTTP and ignore the certificate


Now we get the "OK" response which will make the script work again.


Still trying to figure out where to fix the docker update through GUI...

Edited by FoxyNC
Link to comment

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.

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.