As of CasaOS 0.4.4, when clicking Update in the context menu of any compose app, it always update the app to the version specified in the CasaOS AppStore.
If the tag of an installed app is the same as the tag in the AppStore, then the app is considered up to date.
That means if the image tag of the app happens to be latest
, it will not actually trigger an update, even there is a newer image with the latest
tag in Docker Hub.
This is something CasaOS team is working on and plans to improve in future releases.
If you are familiar with the command-line environment, you can follow the steps below to manually update an app with the latest
tag.
Log into the command-line environment behind CasaOS, either via ssh
, the terminal
feature from the CasaOS dashboard, or a connected keyboard and display.
Change the directory to /var/lib/casaos/apps/XXXX
where XXXX
is the name of the app. For example,
$ cd /var/lib/casaos/apps/syncthing
docker-compose.yml
file to ensure its image tag is latest
$ sudo cat docker-compose.yml | grep image
image: linuxserver/syncthing:latest
IMAGE ID
$ docker image ls linuxserver/syncthing:latest
docker compose down --rmi all # stop the app and remove all the images
# (only 1 image for this app)
docker compose up
IMAGE ID
again.$ docker image ls linuxserver/syncthing:latest
If the IMAGE ID
is different from step 4, then the app is updated. Otherwise, it means there is no newer version for this app.