Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pulling containers does not update Mainsail. #86

Closed
GAZ082 opened this issue Jul 29, 2023 · 3 comments
Closed

Pulling containers does not update Mainsail. #86

GAZ082 opened this issue Jul 29, 2023 · 3 comments

Comments

@GAZ082
Copy link

GAZ082 commented Jul 29, 2023

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
Copy link
Owner

mkuf commented Jul 29, 2023

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
Copy link
Author

GAZ082 commented Jul 29, 2023

I just ran:
docker compose pull

Will try specifying mainsail.

@GAZ082
Copy link
Author

GAZ082 commented Jul 29, 2023

Setting the profile mainsail made the trick. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants