How to install OctoPrint on Linux (Docker), step by step (feat. Sovol SV06)

Поділитися
Вставка
  • Опубліковано 21 жов 2024

КОМЕНТАРІ • 34

  • @kylesantos8401
    @kylesantos8401 4 місяці тому +1

    Thanks man! Super easy to follow and thanks for being thorough in explaining everything.

    • @LeoTechLab
      @LeoTechLab  4 місяці тому

      Really appreciate your feedback, thank you! Glad it was useful!

  • @zweeks
    @zweeks Рік тому +1

    Thank you so much for your excellent video! You made the process of setting up a Linux Docker Container running Octoprint easy!

    • @LeoTechLab
      @LeoTechLab  Рік тому

      Thank you very much for your feedback! Glad I could help ;)

  • @leoholzbach
    @leoholzbach 9 місяців тому +1

    Awsome tutorial! Best regards from Brazil!

    • @LeoTechLab
      @LeoTechLab  9 місяців тому +1

      Muito obrigado! Também há o mesmo vídeo em português, se preferir 👍

  • @marcoviscardi9681
    @marcoviscardi9681 5 місяців тому +1

    Really good video, kind and clear explanation! Super 🎉 thank you for sharing the content. Ever thought about making a series of explanation videos or tutorials about Linux OS?! I would love them, really appreciate your explanation style

    • @LeoTechLab
      @LeoTechLab  5 місяців тому +1

      Thank you very much for your feedback! I'm actually preparing new tutorials on linux as we speak👍

  • @00000a0009
    @00000a0009 Рік тому +1

    Hi! I just found your great video. I have just one question: how can I make sure to know the right device in /dev folder instead of guessing it? How do you know that your printer is /ttyUSB0?

    • @LeoTechLab
      @LeoTechLab  Рік тому +1

      Hi, thank you for your feedback ;) Regarding the /dev folder, I think it's a Linux standard to have all devices represented in the /dev folder (but I'm no Linux expert, so take this with a grain of salt :P). Regarding the ttyUSB0, specifically, I found it just searching for marlin firmware and 3d printers on linux, if I'm not mistaken. But I would say you can try and use something like "dmesg | grep tty", for example, right after connecting your printer, to check which tty device file corresponds to it. Just make sure to execute the command right after connecting the printer, because I think the dmesg source can be cleared from time to time, and it may not appear if you wait too long after connecting the printer. Also, first make sure you have the printer driver properly loaded as well, as I show in the video, using the "lsusb" command, for example. I hope this helps ;)

  • @vitaliydvorkin1342
    @vitaliydvorkin1342 4 місяці тому +1

    Great video, worked like a charm. One question. If I wanted to start a second container, I would just have to change the port number, right?

    • @LeoTechLab
      @LeoTechLab  4 місяці тому +1

      Yes, but I'm not sure if you would be able to share the same printer with both containers at the same time, so be careful about that. For different printers, one on each container, you should be good👍

    • @vitaliydvorkin1342
      @vitaliydvorkin1342 4 місяці тому +1

      @@LeoTechLab yes, it's different printers. I was hoping to save some money and not by a pi for every printer. Thank you for the response

    • @LeoTechLab
      @LeoTechLab  4 місяці тому +1

      With different printers, one for each container, you should be ok, just make sure you have enough CPU, RAM and disk space to run both containers 👍

    • @vitaliydvorkin1342
      @vitaliydvorkin1342 4 місяці тому +1

      @LeoTechLab that will be the test.

    • @vitaliydvorkin1342
      @vitaliydvorkin1342 4 місяці тому

      @@LeoTechLab It looks like the PI 4 2gb is not strong enough to deal with 2 Instances

  • @KingNothing22
    @KingNothing22 3 місяці тому +1

    When the "Y" is capital, it just means the option is defaulted to it, you don't need type "Y"

    • @LeoTechLab
      @LeoTechLab  3 місяці тому

      Good to know, thanks 👍

  • @vitaliydvorkin1342
    @vitaliydvorkin1342 2 місяці тому +1

    Hi, I added a few instances of octoprint to my Raspberry pi and they work great thanks to you, but I came across a problem. I originally installed the Ubuntu kernel on a 32gb micro SD card and now it seems like it's not enough for all the instances I am running. I also added a 500gb ssd card using the argon case. The octoprint instances can't see the drive and I think it's going to cause an issue if the SD card fills up. Is there a way to get three octoprint instances to see the drive?

    • @LeoTechLab
      @LeoTechLab  2 місяці тому

      Sure, you can share a new host directory with any docker container, even multiple containers at the same time. Just mount it as a volume in the docker-compose of each container you want to provide shared access to.

    • @vitaliydvorkin1342
      @vitaliydvorkin1342 2 місяці тому

      @LeoTechLab is that in the bottom portion of the docker-compse file?.where it says volumes: octoprint?

    • @LeoTechLab
      @LeoTechLab  2 місяці тому +1

      @vitaliydvorkin1342 exactly, just add a new line mapping a local host directory (your new drive, for example) to a directory inside your container. That way your container can access the new drive using that volume mount. You can refer to the docker manual on volumes for more information. But this really depends on what exactly you are trying to achieve...

    • @vitaliydvorkin1342
      @vitaliydvorkin1342 2 місяці тому +1

      @LeoTechLab pretty much just add more storage options. I tried moving a container but I ended up deleting it and making a new one somewhere else and that didn't add new data. I even changed the volume from the original octoprint:/octoprint to the mount point of the ssd and the new instance octoprint still only had 32 gb max

    • @LeoTechLab
      @LeoTechLab  2 місяці тому +1

      That's because that specific octoprint docker image was probably created with that allocated space to begin with. I think you can override that setting, look it up in the docker documentation.

  • @elipinals12
    @elipinals12 3 місяці тому +1

    what’s the background music!!! but amazing vid thanks dude

    • @LeoTechLab
      @LeoTechLab  3 місяці тому

      can't remember where I got it, really, but it's free background music.

  • @HUNTCs
    @HUNTCs Рік тому +1

    Great tutorial, thanks a lot. I'm a complete beginner, but XYZ movement speed what you seted up, looks a bit slow for me, 500mm/minute is just 8.3mm/sec, and 10mm/min is very very slow imo.

    • @LeoTechLab
      @LeoTechLab  Рік тому

      Thank you for the feedback! Regarding the movement speed, I'm using the stock values from Sovol.

    • @HUNTCs
      @HUNTCs Рік тому

      @@LeoTechLab but on they webpage they recommend 80mm/s print speed, you cant achiieve this with 8.3 mm/s (500mm/min what you seted up) XY movement speed. I'm i miss something? That 500 should be more like 5000.

    • @LeoTechLab
      @LeoTechLab  Рік тому +2

      I took the values from their cura profile, unless they have changed it since then. Anyway, the intent is not to be blocked by the values, but to show people how to configure their printer in octoprint. For values, each one uses what makes more sense to them.