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.

[Plugin] CA Application Auto Update

Featured Replies

It looks like certain docker containers aren't being added to the "Docker Auto Update Settings" page, particularly containers I've added directly from Docker Hub through Community Applications. Is there a way to manually add them? Thanks!

  • Replies 489
  • Views 135.3k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • Great plugin, saves a lot of boring maintenance work 😊 I noticed that you have the option "Delay in days before updating applications:" for plugins, but not for docker containers. Is there a special r

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

  • Please implement "implicit no" (i.e. default auto update to yes, and set one or a few specifically to no), for auto updates. Right now, you only have "yes" (which cannot set one or some to no), or "

Posted Images

On 5/26/2021 at 4:38 PM, KnifeFed said:

I manually updated the My Servers plugin then ran auto update again and now it's working. I guess it doesn't handle version numbers like "2021.05.14.1336".

Now that there's a new update for the My Servers plugin (version 2021.06.07.1845), Auto Update errors out with the same exit status 255. I manually updated My Servers again and after that it runs fine.

On 6/7/2021 at 3:56 AM, burkasaurusrex said:

It looks like certain docker containers aren't being added to the "Docker Auto Update Settings" page, particularly containers I've added directly from Docker Hub through Community Applications. Is there a way to manually add them? Thanks!

 

Also having an issue where some containers' update path seem to get kind of corrupted? For example, in the auto update app, the repository will be listed as 'library/sha256:...' and on the docker tab, the container says the update is 'not available'?

  • 2 weeks later...

A small feature request: I would love to have the option of using an exclude list rather than the current include list for which Docker containers to update, because I only have one container that I don't want to automatically update and currently I have to enable automatic updates for every new container I install.

  • 1 month later...

installed app on the plugins side i get a error Warning: Invalid argument supplied for foreach() in /usr/local/emhttp/plugins/ca.update.applications/include/exec.php on line 100

  • Author

Can't replicate this, but issuing a fix that should remove the error.

Found an issue with line 101 while applying settings;

Parse error: syntax error, unexpected ';' in /usr/local/emhttp/plugins/ca.update.applications/include/exec.php on line 101

 

It's because of this line

if ( ! is_array($containes) {

but it should be

if ( ! is_array($containes)) {

 

Missing a ')'

  • Author
10 minutes ago, Thomasvt said:

Found an issue with line 101 while applying settings;



Parse error: syntax error, unexpected ';' in /usr/local/emhttp/plugins/ca.update.applications/include/exec.php on line 101

 

It's because of this line



if ( ! is_array($containes) {

but it should be



if ( ! is_array($containes)) {

 

Missing a ')'

Note to self:  Long weekends are NOT the time to be programming ;)  fixed (maybe)

Current message I'm getting when attempting to update.

 

"bad file MD5"

 

image.png.d81c644405e85ab390a975c232e54542.png

I'm having an issue where some Docker Containers are not listed in "Docker Auto Update Settings" - looking at "nextcloud_mariadb" which I had to update manually:

grafik.thumb.png.0a2c822449c424af5f50c3edbf9d2e97.png

 

grafik.thumb.png.7543ba00bab0217633d234227d605d0a.png

 

grafik.png.ddd05a5055088e07cfb4af447243107b.png

 

=> Why is "nextcloud_mariadb" not available in the list of "Docker Auto Update Settings" in the Plugin ??

=> For me it seems to be a bug

tower-diagnostics-20210808-1427.zip

Edited by peter76

  • Author
1 hour ago, peter76 said:

For me it seems to be a bug

Looka like it.  I'll check it out.

Missing an LMS docker from the auto update too.

  • Author

It looks like the reason for apps being missing is that when you installed them on the template, you never entered in the docker hub URL (or manually removed it) --> CA enforces that this is present.

 

I'm not sure exactly why that test is in there (code went in 6 years ago), but since it appears to still work, I'm going to tentatively remove it.

For me it's workin now - all Dockers are listed. Thank you for fixing!

On 8/15/2021 at 1:44 PM, Squid said:

I'm not sure exactly why that test is in there (code went in 6 years ago), but since it appears to still work, I'm going to tentatively remove it.

 

Works for me, dockers have appeared that were previously missing, thanks.

Would it be possible to add an option to Force update all containers, even if there isn't an update? My docker file keeps slowly filling up, and force updating all my dockers resets that.

  • Author

You should determine why its slowly filling up (eg: Container Size on the docker tab) and then fix that (eg: limit the logging, etc)

Hi guys, it's a nab question but I'm stuck so... how can I change the script permissions (+x) in "/boot/config/plugins/ca.update.applications/scripts/starting/"? 

 

chmod it's not working:

 

root@xxxxxx:/boot/config/plugins/ca.update.applications/scripts/starting# ls -l
total 8
-rw------- 1 root root 748 Aug 19 21:55 zabbix-agent2.sh
root@xxxxxx:/boot/config/plugins/ca.update.applications/scripts/starting# chmod +x zabbix-agent2.sh 
root@xxxxxx:/boot/config/plugins/ca.update.applications/scripts/starting# ls -l
total 8
-rw------- 1 root root 748 Aug 19 21:55 zabbix-agent2.sh

 

thanks!

5 hours ago, jimmy898 said:

Hi guys, it's a nab question but I'm stuck so... how can I change the script permissions (+x) in "/boot/config/plugins/ca.update.applications/scripts/starting/"? 

 

chmod it's not working:

 

root@xxxxxx:/boot/config/plugins/ca.update.applications/scripts/starting# ls -l
total 8
-rw------- 1 root root 748 Aug 19 21:55 zabbix-agent2.sh
root@xxxxxx:/boot/config/plugins/ca.update.applications/scripts/starting# chmod +x zabbix-agent2.sh 
root@xxxxxx:/boot/config/plugins/ca.update.applications/scripts/starting# ls -l
total 8
-rw------- 1 root root 748 Aug 19 21:55 zabbix-agent2.sh

 

thanks!

You. can’t :)

 

for security reasons no files on the /boot are allowed to have execute permissions.

 

there are 2 workarounds that I know off:

  • copy the file elsewhere first and then try and change the permissions.  
  • invoke by starting with the relevant shell command (e.g.   bash /boot/path_to_script)

 

  • Author

You actually shouldn't need to change the permissions

 

The update script runs the scripts like this

/bin/bash /boot/config/plugins/ca.update.applications/scripts/starting/$containerScript

 

This does however require that the script be a valid bash script.  For python or something else your starting script then has to call python to execute the script.

4 hours ago, Squid said:

You actually shouldn't need to change the permissions

 

The update script runs the scripts like this

/bin/bash /boot/config/plugins/ca.update.applications/scripts/starting/$containerScript

 

This does however require that the script be a valid bash script.  For python or something else your starting script then has to call python to execute the script.

 

Thanks for the hint!

 

Just to be sure: the script should have the very same name of the container right? So if my container name is 

"zabbix-agent2", the starting script should be "/boot/config/plugins/ca.update.applications/scripts/starting/zabbix-agent2.sh". Right?

  • Author

No .sh  filename must be the exact name of the container

  • 2 weeks later...
On 5/26/2021 at 1:56 PM, KnifeFed said:

When this app runs, plugins aren't updated and I only get this in my log:

 

May 26 00:00:01 unraiden Plugin Auto Update: Checking for available plugin updates
May 26 00:00:07 unraiden crond[1933]: exit status 255 from user root /usr/local/emhttp/plugins/ca.update.applications/scripts/updateApplications.php >/dev/null 2>&1

 

 

On 5/26/2021 at 4:38 PM, KnifeFed said:

I manually updated the My Servers plugin then ran auto update again and now it's working. I guess it doesn't handle version numbers like "2021.05.14.1336".

 

On 6/9/2021 at 3:21 PM, KnifeFed said:

Now that there's a new update for the My Servers plugin (version 2021.06.07.1845), Auto Update errors out with the same exit status 255. I manually updated My Servers again and after that it runs fine.

 

Same thing now that My Servers 2021.08.25.1816 was released. Am I the only one experiencing this problem?

  • Author

Next time there's an update to MyServers I'll check it out

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

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.