Being sure MSR in docker is updating
-
I've been having some problems like others in previous posts where rules trigger but reactions dont run, even though they can be played manually. I'm thinking it may be because i need to update MSR.
I have a pi4 running 64 bit (uname -m gives aarch64 as a result)
Docker is running in a container.
the version running is "latest-22080-ae7212f "I have stopped docker and run the command docker pull toggledbits/reactor:latest-aarch64 and also docker pull toggledbits/reactor:stable-aarch64
Initially extra files downloaded, but now when i run either command i get confirmation the image is up to date
docker start reactor starts up reactor just fine, but i'm not seeing the version changing when i open the MSR web page.
I have rebooted the pi and also force refreshed the web page.Does anyone have any clue why the update doesnt seem to pull into the running instance?
(docker/linux is not my specialty so might be missing something obvious)
Edit:added screenshot
-
Synology or QNAP?
Either way, just pulling the image doesn't cause the container to be rebuilt. On Synology, you have to "Reset" the container (described in the installation documentation for Docker+Synology).
-
Neither synology or qnap, raspberry pi4b
-
Just saw that after a re-re-read and was editing, so onward...
You have to delete and re-create the container. This is why I recommend using
docker-compose
. It makes this process easier. I've described that in the installation docs. -
Thanks..... just checking, will this lose any of my config or does it just affect the core files for MSR?
Edit: thanks, no config lost.
Docker rm reactor removed the old versionI've pulled the new version with "docker-compose up -d" after saving the yml template in your docs onto the pi and running the command from
that folderNow on MSR: latest-22274-24dfd72c
(used this guide to install docker-compose) in case anyone else has no clue how to do it
- https://dev.to/elalemanyo/how-to-install-docker-and-docker-compose-on-raspberry-pi-1mo
Back to the first issue where reactions aren't being triggered with their rules. I'll create a new post if needed for that.
Thanks again!!
-
T toggledbits locked this topic on