Jump to content
Squid

[Plugin] CA Application Auto Update

171 posts in this topic Last Reply

Recommended Posts

GitHub had some issues today (for some users, not me), and are not properly handling raw.github.com whereas it is handling raw.githubusercontent.com  I've updated the URL to reflect this.

Share this post


Link to post

hi guys, i havent used this plugin in a while, and noticed that when i re-enabled it  and selected "no" to "update all docker applications" that its showing all dynamically named containers from waaaay back (no longer exist), so my update screen looks like this (its actually larger than this but you get the idea):-

 

image.thumb.png.235170e7a94c0097abd111f4915f7b27.png

 

any ideas what i can do to reset the list of containers. running version 2019.01.31 of the plugin on unraid stable 6.6.6

 

I have of course tried an uninstall and re-install of the plugin with the same result as above.

Edited by binhex

Share this post


Link to post

You sure you don't have any orphans images?  (Docker - Advanced view)  The plugin doesn't "Remember" anything, but gathers the list of what the docker system says is installed.

Edited by Squid

Share this post


Link to post
You sure you don't have any orphans images?  (Docker - Advanced view)  The plugin doesn't "Remember" anything, but gathers the list of what the docker system says is installed.
100% sure, no unnamed containers or orphaned images, confirmed via cli.

Sent from my EML-L29 using Tapatalk

Share this post


Link to post
5 hours ago, binhex said:

100% sure, no unnamed containers or orphaned images, confirmed via cli.

Sent from my EML-L29 using Tapatalk
 

unRaid *thinks* they are there.  I'm grabbing the info from it.   Not quite sure why it thinks that, but a nuke of the image will certainly fix you up.

Share this post


Link to post
8 hours ago, Squid said:
unRaid *thinks* they are there.  I'm grabbing the info from it.   Not quite sure why it thinks that, but a nuke of the image will certainly fix you up.

Yeah I realise a nuke of the image would of course get me back to a nice clean state but I thought it may be of interest to you as to why is happening, I'm assuming that the plugin is not issuing a docker ps -a otherwise it wouldn't be happening, so whatever mechanism is used is reporting different results to what the docker engine is reporting.

Sent from my EML-L29 using Tapatalk
 

Edited by binhex

Share this post


Link to post
9 hours ago, binhex said:

so whatever mechanism is used is reporting different results to what the docker engine is reporting.

You would have to post the output of running this script to see what unRaid thinks is happening

#!/usr/bin/php
<?
require_once("/usr/local/emhttp/plugins/dynamix.docker.manager/include/DockerClient.php");

$DockerTemplates = new DockerTemplates();
echo "Docker Templates\n\n";
print_r($DockerTemplates->getAllInfo());

echo "\n\nDockerContainers\n\n";
$DockerClient = new DockerClient();
print_r($DockerClient->getDockerContainers());
?>

 

Share this post


Link to post

I am running plugin version 2019.02.22. In both Unraid 6.6.6 and now 6.6.7, I don't have a list of Docker images appearing under the "Docker Auto Update Settings" tab. I can see all settings available (4 rows on the left + the cron settings on the right), followed by the Apply/Done buttons, and that's it. The "Plugin Auto Update Setting" tab on the other hand, is working as intended. 

 

Removing the plugin and re-installing, hasn't helped. Same for upgrading from 6.6.6 to 6.6.7. Any ideas on how I can fix?

 

Thank you!

Share this post


Link to post
Posted (edited)

The list doesn't appear if you have "update all docker apps" set to be yes  (IE: no point in displaying the list if it'll update everything anyways)

Edited by Squid

Share this post


Link to post
Posted (edited)
On 3/2/2019 at 4:17 PM, Squid said:

The list doesn't appear if you have "update all docker apps" set to be yes  (IE: no point in displaying the list if it'll update everything anyways)

Sorry I didn't clarify: the behavior I described remains the same regardless of what I select for "update all docker apps" and hit apply (see screenshot). The behavior is the same in the latest version of Chrome and Safari. FWIW, I'm running the Unraid UI on port 8008, as I'm running Nginx on port 80.

ykapnBH9kE4.png

Edited by pitsi
Additional details

Share this post


Link to post
56 minutes ago, pitsi said:

Sorry I didn't clarify: the behavior I described remains the same regardless of what I select for "update all docker apps" and hit apply (see screenshot). The behavior is the same in the latest version of Chrome and Safari. FWIW, I'm running the Unraid UI on port 8008, as I'm running Nginx on port 80.

ykapnBH9kE4.png

What's your docker page look like?

Share this post


Link to post

Just wondering if there is an option to run a script every time I am updating specific unraid docker container? 

 

e.g if I update home-assistant docker - run script to install SSHpass, NetCat, etc....

 

I manage to do it manually (even in the HA GUI) but as usual Automatic is the best

 

p.s my script that I am running manually Via VScode/cloud9 container:

https://github.com/VirtualL/HomeAssistant-Config/blob/master/scripts/install_Comp_after_Update.sh

Share this post


Link to post
Posted (edited)

Is there a way to start the updated docker containers after the automatic update, the are stopped after they where updated, on the docker page autostart is on.

Couldn't find a solution.

 

Running Unraid 6.7.0 RC7

(Also searched for the 'Docker autostart' but can't find it or is the plugin deprecated?)

Edited by ich777

Share this post


Link to post
Is there a way to start the updated docker containers after the automatic update, the are stopped after they where updated, on the docker page autostart is on.
Couldn't find a solution.
 
Running Unraid 6.7.0 RC7
(Also searched for the 'Docker autostart' but can't find it or is the plugin deprecated?)
It's supposed to start then back up if they were running.

Sent via telekinesis

Share this post


Link to post

@Squid Thank you for the reply!

If they should start after they automatic updated it doesn't work can confirm that for Unraid v6.7.0-rc7 and Unraid v6.6.7 specificly the containers of Linuxserver.io LetsEncrypt and MariaDB, got two servers running and the stay off after the update.

If you need any logs or anything else i can post them.

Share this post


Link to post

No it's my fault.  A piece of experimental code I was working on mistakenly wound up in the release version.  Check for updates

Share this post


Link to post
On 4/15/2019 at 9:27 PM, Squid said:

No it's my fault.  A piece of experimental code I was working on mistakenly wound up in the release version.  Check for updates

Thanks, mystery solved!

Share this post


Link to post

I had the previous version and it wouldn't update. It said: plugin: run failed: /bin/bash retval: 1

 

I decided to remove CA Auto Update and install it again. Now, I can't install it. I am on version 6.6.7

 

Here is the output when trying to install:

 

plugin: installing: https://raw.githubusercontent.com/Squidly271/ca.update.applications/master/plugins/ca.update.applications.plg
plugin: downloading https://raw.githubusercontent.com/Squidly271/ca.update.applications/master/plugins/ca.update.applications.plg
plugin: downloading: https://raw.githubusercontent.com/Squidly271/ca.update.applications/master/plugins/ca.update.applications.plg ... done




plugin: run failed: /bin/bash retval: 1

Updating Support Links

ca.turbo --> https://forums.lime-technology.com/topic/55671-plugin-ca-auto-turbo-write-mode/#comment-544485
ca.update.applications --> http://lime-technology.com/forum/index.php?topic=53693.0
dynamix.cache.dirs --> http://lime-technology.com/forum/index.php?topic=36543.0

Share this post


Link to post

I just tried a clean install no problems.   Maybe post the diagnostics

Share this post


Link to post
8 hours ago, Squid said:

I just tried a clean install no problems.   Maybe post the diagnostics

I went and got the diagnostics. Figured I'd look - found my USB drive had died. I overlooked the email about a week ago. Anyways, I switched to a new USB drive and it updated fine.

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.