mkuf / prind

print in docker - Deploy a containerized Klipper Stack for your 3D Printer
GNU General Public License v3.0
324 stars 82 forks source link

Pulling containers does not update Mainsail. #86

Closed GAZ082 closed 1 year ago

GAZ082 commented 1 year ago

Hello!

Doing docker compose pull and then restarting does not seem to update Mainsail (2.5.1 is the one in this stack. There are two new versions since).

Should i do anything else?

mkuf commented 1 year ago

What exactly did you execute to pull the new images? 2.5.1 is not set in the stack but was the current version, when you first pulled the images/started the stack. Make sure to add the approriate profiles while pulling the new images. As the compose file is using the edge tag for mainsail, you'll always get the latest version, unless you explicitly pinned that image to a specific version in your override file.

root@sparkcube:/opt/prind# docker compose --profile mainsail --profile klipperscreen --profile mobileraker_companion pull
[+] Running 27/27
 ⠿ klipper Pulled                                                                                                                                                                                                                                                       1.9s 
 ⠿ webcam Pulled                                                                                                                                                                                                                                                        1.8s 
 ⠿ moonraker Pulled                                                                                                                                                                                                                                                     1.8s 
 ⠿ mainsail Pulled                                                                                                                                                                                                                                                      6.8s 
   ⠿ edb6bdbacee9 Already exists                                                                                                                                                                                                                                        0.0s 
   ⠿ 4c7f12338fe3 Already exists                                                                                                                                                                                                                                        0.0s 
   ⠿ 002a136ea5c5 Already exists                                                                                                                                                                                                                                        0.0s 
   ⠿ 6d407d2ad632 Already exists                                                                                                                                                                                                                                        0.0s 
   ⠿ d1543f6e84d3 Already exists                                                                                                                                                                                                                                        0.0s 
   ⠿ ad428fb17e98 Already exists                                                                                                                                                                                                                                        0.0s 
   ⠿ bacb1bf71fa0 Already exists                                                                                                                                                                                                                                        0.0s 
   ⠿ 05fb56ef846f Pull complete                                                                                                                                                                                                                                         0.9s 
   ⠿ 7f339b6686e4 Pull complete                                                                                                                                                                                                                                         4.9s 
 ⠿ init Pulled                                                                                                                                                                                                                                                          7.1s 
   ⠿ 8a0af25e8c2e Pull complete                                                                                                                                                                                                                                         4.6s 
 ⠿ traefik Pulled                                                                                                                                                                                                                                                       1.7s 
 ⠿ klipperscreen Pulled                                                                                                                                                                                                                                                99.9s 
   ⠿ 3ae0c06b4d3a Pull complete                                                                                                                                                                                                                                        29.6s 
   ⠿ d0a1460068e4 Pull complete                                                                                                                                                                                                                                        33.0s 
   ⠿ ae6e57d0fac3 Pull complete                                                                                                                                                                                                                                        41.4s 
   ⠿ 20a382ddd20c Pull complete                                                                                                                                                                                                                                        42.0s 
   ⠿ f30418ad94aa Pull complete                                                                                                                                                                                                                                        44.5s 
   ⠿ 481384b334c9 Pull complete                                                                                                                                                                                                                                        88.0s 
   ⠿ 4f4fb700ef54 Pull complete                                                                                                                                                                                                                                        88.7s 
   ⠿ 66b19d8b45c7 Pull complete                                                                                                                                                                                                                                        90.5s 
   ⠿ b1bb99e507ef Pull complete                                                                                                                                                                                                                                        96.4s 
 ⠿ mobileraker_companion Pulled                                                                                                                                                                                                                                         1.1s 
root@sparkcube:/opt/prind# docker compose --profile mainsail --profile klipperscreen --profile mobileraker_companion up -d
[+] Running 8/8
 ⠿ Container prind-webcam-1                 Running                                                                                                                                                                                                                     0.0s
 ⠿ Container prind-init-1                   Exited                                                                                                                                                                                                                     18.4s
 ⠿ Container prind-traefik-1                Running                                                                                                                                                                                                                     0.0s
 ⠿ Container prind-mainsail-1               Started                                                                                                                                                                                                                    17.8s
 ⠿ Container prind-klipperscreen-1          Started                                                                                                                                                                                                                    15.9s
 ⠿ Container prind-mobileraker_companion-1  Running                                                                                                                                                                                                                     0.0s
 ⠿ Container prind-klipper-1                Started                                                                                                                                                                                                                    18.5s
 ⠿ Container prind-moonraker-1              Started                                                                                                                                                                                                                     9.8s

image

GAZ082 commented 1 year ago

I just ran: docker compose pull

Will try specifying mainsail.

GAZ082 commented 1 year ago

Setting the profile mainsail made the trick. Thanks.