# Unable to upgrade to Docker Debian version 5 on one of three running Pi's

**URL:** <https://discourse.nodered.org/t/unable-to-upgrade-to-docker-debian-version-5-on-one-of-three-running-pis/102176>\
**Category:** General\
**Tags:** docker\
**Created:** [17 November 2026 16:03 UTC](https://discourse.nodered.org/t/unable-to-upgrade-to-docker-debian-version-5-on-one-of-three-running-pis/102176 "2026-11-17T16:03:40Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mastiff](https://avatars.discourse-cdn.com/v4/letter/m/ee7513/32.png) [@Mastiff](https://discourse.nodered.org/u/Mastiff)\
**Post date:** [17 November 2026 16:03 UTC](https://discourse.nodered.org/t/unable-to-upgrade-to-docker-debian-version-5-on-one-of-three-running-pis/102176/1 "2026-11-17T16:03:40Z")

</div>

This is weird. I have three Pi 5 running Node-RED in Docker, identical setups with the Docker files moved from the SD card to an SSD. Two of them has identical hardware connected to Node-RED as well (RFXtrx). And identical Docker Compose files, here's the relevant parts of the Docker file (the build stuff is running perfectly, building with version 5 on two of the Pi's and has been working for a few years).

```auto
  node-red:
    build:
      dockerfile_inline: | 
        FROM nodered/node-red:latest-debian
        USER root
        RUN apt-get update \
          && apt-get install -y --no-install-recommends iputils-ping sshpass openssh-client
        USER node-red
    container_name: Node-RED
    privileged: true
    restart: no
    group_add:
        - "20"
        - "46"
    environment:
      - TZ=Europe/Oslo

    network_mode: host 
    devices:

```

On two of the Pi's I have version 5 running, while on the third I can't get above latest 4 version. The comands I use to update are:

```auto
docker compose -p Node-RED down
docker system prune -af
docker compose -f /media/pi/Docker/Docker-Compose/Node-RED/docker-compose.yml up -d

```

I tried to force upgrading with stopping the container, doing the prune and then pull the new version:

```auto
docker pull nodered/node-red:5.0.10-debian

```

But when I started the container, it downloaded version 4.1.18 and started that instead of using the already downloaded version 5. Can somebody please tell me where I should start to find out why it isn't updating to 5 on this one Pi?

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [17 November 2026 16:37 UTC](https://discourse.nodered.org/t/unable-to-upgrade-to-docker-debian-version-5-on-one-of-three-running-pis/102176/2 "2026-11-17T16:37:20Z")

</div>

I don't know whether it might be a factor, but are they all running the same os version?  
`cat /etc/os-release`

[Edit] Also are they all up to date?  
`sudo apt update && sudo apt full-upgrade`

---

<div class="post-metadata">

**Author:** ![Mastiff](https://avatars.discourse-cdn.com/v4/letter/m/ee7513/32.png) [@Mastiff](https://discourse.nodered.org/u/Mastiff)\
**Post date:** [17 November 2026 16:52 UTC](https://discourse.nodered.org/t/unable-to-upgrade-to-docker-debian-version-5-on-one-of-three-running-pis/102176/3 "2026-11-17T16:52:29Z")

</div>

Thanks for answering, Colin! I really didn't think about that, since they are all Trixie, from the same basic image (I install and update and add the Docker stuff before branching them out for the different uses, one in my house, one in my cabin and one in my boat). But I see that the other two are updated in the beginning of november, while the problematic one was updated in mid september. The versions are a bit different from `uname -a`, first the problematic one:

`6.18.50+rpt-rpi-2712 #1 SMP PREEMPT Debian 1:6.18.50-1+rpt1 (2026-09-11) aarch64 GNU/Linux`

and then the two without problems:

`6.18.60+rpt-rpi-2712 #1 SMP PREEMPT Debian 1:6.18.60-1+rpt1 (2026-11-03) aarch64 GNU/Linux`

I'll update the problematic one at once and answer back when I see if that changes anything.

---

<div class="post-metadata">

**Author:** ![Mastiff](https://avatars.discourse-cdn.com/v4/letter/m/ee7513/32.png) [@Mastiff](https://discourse.nodered.org/u/Mastiff)\
**Post date:** [17 November 2026 17:07 UTC](https://discourse.nodered.org/t/unable-to-upgrade-to-docker-debian-version-5-on-one-of-three-running-pis/102176/4 "2026-11-17T17:07:06Z")

</div>

No, that was not it, unfortunately. I hoped it whas that easy.

---

<div class="post-metadata">

**Author:** ![hardillb](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/hardillb/32/12373_2.png) [@hardillb](https://discourse.nodered.org/u/hardillb)\
**Post date:** [17 November 2026 21:21 UTC](https://discourse.nodered.org/t/unable-to-upgrade-to-docker-debian-version-5-on-one-of-three-running-pis/102176/5 "2026-11-17T21:21:53Z")

</div>

I know what the problem is, the 4.1.18 containers were built after the 5.0.10 ones and it looks like there is a bug in the tagging that is still adding the `latest-debian` tag to the 4.1.x builds.

You must have updated the first 2 machines inbetween the two builds

I will respin the 5.0.10 build which will fix this and then look for the bit to delete from the 4.1.x container build script.

Give it an hour and do the pull again

---

<div class="post-metadata">

**Author:** ![hardillb](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/hardillb/32/12373_2.png) [@hardillb](https://discourse.nodered.org/u/hardillb)\
**Post date:** [17 November 2026 21:26 UTC](https://discourse.nodered.org/t/unable-to-upgrade-to-docker-debian-version-5-on-one-of-three-running-pis/102176/6 "2026-11-17T21:26:26Z")

</div>

Fix:

> <https://github.com/node-red/node-red-docker/pull/556>
>
> \- \[x\] Bugfix (non-breaking change which fixes an issue)
> \- \[\] New feature (non-b…reaking change which adds functionality)
> 
> 
> 
> \## Proposed changes
> 
> 
> The \`latest-debain\` tag got overwritten by the 4.1.x build, this totally removes that tag from the 4.1.x build
> 
> \## Checklist
> 
> 
> \- \[\] I have read the \[contribution guidelines\](https://github.com/node-red/node-red/blob/master/CONTRIBUTING.md)
> \- \[\] For non-bugfix PRs, I have discussed this change on the mailing list/slack team.
> \- \[\] I have run \`grunt\` to verify the unit tests pass
> \- \[\] I have added suitable unit tests to cover the new/changed functionality

Action is still running to rebuild the 5.0.10 tags, the action is here

[https://github.com/node-red/node-red-docker/actions/runs/44179120305](https://github.com/node-red/node-red-docker/actions/runs/44179120305)

But you may not be able to see it

---

<div class="post-metadata">

**Author:** ![hardillb](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/hardillb/32/12373_2.png) [@hardillb](https://discourse.nodered.org/u/hardillb)\
**Post date:** [17 November 2026 21:45 UTC](https://discourse.nodered.org/t/unable-to-upgrade-to-docker-debian-version-5-on-one-of-three-running-pis/102176/7 "2026-11-17T21:45:57Z")

</div>

Build complete `latest-debian` should point to 5.0.10 agian

---

<div class="post-metadata">

**Author:** ![Mastiff](https://avatars.discourse-cdn.com/v4/letter/m/ee7513/32.png) [@Mastiff](https://discourse.nodered.org/u/Mastiff)\
**Post date:** [18 November 2026 08:49 UTC](https://discourse.nodered.org/t/unable-to-upgrade-to-docker-debian-version-5-on-one-of-three-running-pis/102176/8 "2026-11-18T08:49:21Z")

</div>

Thank you! I'm shocked and pleased that for once the error wasn't my own stupidity! 😁
