My custom app not showing there is an update

Hi Sirs,

I thought this bug was fixed in Truenas scale 24.10.1 , but it seems not.
I have a custom app (dozzle) and I created it with the UI custom app feature. I know, this app has an update, but the UI shows it is up to date and I can not update the image.

Or am I missing something?

Thx for any help.

Have you verified that the container image, hosted in whatever repository you pointed it at, has also been updated?

Sometimes an app is updated and some parts of the release, like the docker releases, are completed with a slight delay.

Also, have you set it to use the “latest” tag, or something else?

Just had an update to a custom compose app, Gluetun, a couple days ago. Did you install that custom app with a specific tag?

Is it this?

amir20/dozzle

I’ve seen issues with people having issues with PRs, they might not actually be available at the default project repo.

This is my setup for dozzle:

repository: amir20/dozzle
tag: latest

I think truenas looking for updates on docker hub, or is it? I checked on docker hub and I think it has an update.
Or am I missing something?

That sounds right.

What version of dozzle are you currently on? Ideally, the dozzle interface will mention a version number in the line of v8.10.5, which is the current according to the github.

v8.10.4
I know dozzle is mentioning the newer versions on its interface, that is why I was suspicious about the custom apps update at the first time.

So anyone can confirm that the custom app update is working as intended? I am having issues only with dozzle? Or what? Can I check this somehow? Maybe in some logs somewhere?
Can I test the update with some other custom app maybe? Some more frequently updated container maybe?
My only other custom app is flavonia/cloudflare-ddns, but it is not frequently updated.

There was an update today. So here what I am experiencing:
If IXsystems pushes an update on the truenas scale repo, then you get an update notification on your installed ix-apps. And it is true the custom ix-app also. But the custom ix-app works, like other ix-app. Regardless you fill in the repository and version tag fields, the middleware do not checks this repo for updates! It only checks the official IXapps repo for updated images!
So, if your custom app has an update, it will not notify you about that. You must check it yourself and update your custom app manually.
I do not think so it is the right way for update checking of the custom apps.

Might I suggest something if you’re eager to update custom apps on EE.

Run watchtower with the following YAML:

networks: {}
services:
  watchtower:
    environment:
      - WATCHTOWER_LABEL_ENABLE=true
    image: containrrr/watchtower
    restart: always
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock
version: '3.3'

Then, for any container you want to automatically update, set this label:

    labels:
      com.centurylinklabs.watchtower.enable: 'true'

This will check every 24 hours and fetch the latest image for any containers with the label set, then restart the container if an update is available.

Relevant documentation:
https://containrrr.dev/watchtower/

Thank you very much for the info about watchtower and how to set up, much appreciate for that.
I am considering your solution for custom docker app updates.
I think I misunderstand the way truenas handling the custom docker apps, maybe because the lack of information about that.
I think, in the near future, it will be much better, and anyway, it is a very good platform for learning things about docker. It is easy to experiment.
Anyway, thanks again for the info.

1 Like

Maybe a dumb question, but do you have Check for docker image updates selected?

image

It IS a dumb question, and yes I have a checkmark on it!

The “problem” is truenas is checking for updates only on the official repo! If you have a custom app, then the system will not check for updates on the repo what you configured in your custom app; you must do it yourself some other way, for example with watchtower, as mentioned by essinghigh.
I don’t know, why it not checking the image updates on the custom app defined repos and notify the user.
For example if you configured a custom app like this:
repository: amir20/dozzle
tag: latest
Then I assume the system will check for updates on amir20 repo regularly (or any other you configure and from it is pulling the container), as it does on the official apps, but it is not.
There was a bug report about custom app updates and it is resolved, but I think it wasn’t about that. I think it is not implemented that way. The system only checks the official IX apps repo what is maintained by IXsystems.

I checked again the documentation for custom apps and it is clearly says:

" Enter the Docker Hub repository for the application you want to install in Image Configuration. Use the format maintainer/image, for example storjlabs/storagenode, or image, such as debian, for Docker Official Images."

and

" TrueNAS monitors upstream images and alerts when an updated version is available. Update custom applications using the same Upgrading Apps procedure as catalog applications."

But it does not do that in the case of amir20/dozzle for example.
Or am I misconfigured something? Now I don’t understand…

It could be a bug.
A different bug than the one you mentioned previously.

This is not true. Other users have reported custom apps notifying about updates without issue.

I’m not sure. That’s why I started with asking about the easiest possible misconfiguration. You could submit an issue to truenas/apps and our devs might be able to troubleshoot what’s happening.

In the meantime you could also consider switching over to the soon-to-be-added catalog version: add dozzle by stavros-k · Pull Request #1507 · truenas/apps · GitHub

It’s possible the image isn’t actually stored on dockerhub. I remember a thread about a specific PR release for flaresolvr not being pulled, it wasn’t actually on dockerhub.

Just looking at that project dockerhub, there’s :latest that was published more than a week ago. There’s also now a :master that was just posted.

Maybe just specify 8.10.5 for now?

Before EE, I did use custom apps and received updates. The evening I upgraded to EE, I switched those custom apps (which were migrated) over to custom compose yaml, so I can’t speak for ones done through the custom app UI.

Hmm, maybe worth trying this repository instead:
\ ghcr.io/amir20/dozzle:latest

Don’t include the backslash and space at the start.

Thanks guys for the help with dozzle.
Yes it was an update about 8 days ago on the latest tag, and it was on the same day on ghcr.io also. It is v8.10.5 ! My system did not notified about the update on docker hub, and later I manually updated to that version - stopped the container, deleted the image, restarted the container and it pulled down the latest image, which was v8.10.5 !
So the image was clearly updated on docker hub, but my system did not notified me about that.
Anyway, another question about custom apps:
Is it ok that in the Application Info box of my custom apps the “app version”, “version” is empty, and the source is N/A?

This is what I see from my own compose yaml apps:

Name:

gluetun

App Version:

custom

Version:

1.0.0

Source:

N/A

Train:

stable

Hi everyone!
It is clearly something wrong about the custom apps update checks. I don’t know, it is true for the “install via YAML” ones as well or not, I am not tested any with this option.
I am now not interested investigating this further just because of one app I am using now with it. And I see today this app made it to the official ones, so I’m switching over to there.
Thx everybody for the helping hand.