Pulling latest image on TNAS results in very old image

Discussion about Docker
Locked
User avatar
sts41
Posts: 20
Joined: 26 May 2022, 21:29

Pulling latest image on TNAS results in very old image

Post by sts41 »

So I have been working on this issue thinking it was the docker repository that was the issue, but after much testing... It seems to be linked to the TNAS itself.
I am posting this in Docker manager, but same results when I use the terminal, and will put terminal results which are easier to see.

So about a month or 2 ago I updated my TOS version... I cannot be 100% sure that is what caused this but:
Before that... updates worked great.
If I run a docker pull for any of my images... it pull a version that is from 7 months ago (This is an image I just pulled today):

linuxserver/sonarr latest 1b5bb80f2c83 7 months ago 631MB

But if I do the same pull on my test server, I get:
docker.io/linuxserver/sonarr latest 3148cacfee89 2 days ago 333 MB

I did check the date on the server and it is correct.

Here is another interesting command that checks the version on the docker repository:
[root@TNAS-6384 jackett]# docker inspect -f '{{ index .Config.Labels "build_version" }}' docker.io/linuxserver/jackett:latest
Linuxserver.io version:- v0.20.250-ls54 Build-date:- 2022-01-06T06:27:01+01:00
[root@TNAS-6384 jackett]#

And if I run same command on my Linux server:
[root@localhost ~]# docker inspect -f '{{ index .Config.Labels "build_version" }}' docker.io/linuxserver/jackett:latest
Linuxserver.io version:- v0.20.1666-ls74 Build-date:- 2022-08-09T01:35:44-05:00
[root@localhost ~]#

I don't want to try updating any more containers until this is resolved.

Any help would be greatly appreciated
Sts41
User avatar
TMroy
TerraMaster Team
Posts: 2578
Joined: 10 Mar 2020, 14:04
China

Re: Pulling latest image on TNAS results in very old image

Post by TMroy »

May I know what is your model number and TOS version?
To contact our team, please send email to following addresses, remember to replace (at) with @:
Support team: support(at)terra-master.com (for technical support only)
Service team: service(at)terra-master.com (for purchasing, return, replacement, RMA service)
User avatar
sts41
Posts: 20
Joined: 26 May 2022, 21:29

Re: Pulling latest image on TNAS results in very old image

Post by sts41 »

sorry about that:
F5-221
4.2.39


Thanks
User avatar
sts41
Posts: 20
Joined: 26 May 2022, 21:29

Re: Pulling latest image on TNAS results in very old image

Post by sts41 »

Any updates? Should I open a case?

Thanks
User avatar
sts41
Posts: 20
Joined: 26 May 2022, 21:29

Re: Pulling latest image on TNAS results in very old image

Post by sts41 »

I did manage to get the newer version, however it was the long way around. Just in case anyone else run's into this....

As root user

First lookup the tag for the latest version... in my case: linuxserver/jackett:amd64-v0.20.1676-ls74 This can be found on the repositories site
Next run the following commands:

docker pull linuxserver/jackett:amd64-v0.20.1676-ls74
docker stop linuxserver/jackett
docker rm linuxserver/jackett
docker run -d --name=linuxserver_jackett --restart=always --network="host" -e PUID=1000 -e PGID=1000 -e TZ=America/Moncton -p 9117:9117 -v /mnt/md0/Multimedia/Jackett/config:/config -v /mnt/md0/Multimedia/Jackett/downloads:/downloads linuxserver/jackett:amd64-v0.20.1676-ls74


That's it.... keep in mind these are my settings, and you will need to customize for your setup. As long as the /config directory is there.... all will be setup as it was before.

Still would like to be able to use Portainer to do my updates rather than this... But now that the commands are created and saved, I only have to lookup the newest tag and edit my line.... Not the worse thing.

Thanks sts41
Locked