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
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?
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 ;)
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👍
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?
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 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...
@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
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.
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 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.
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.
Thanks man! Super easy to follow and thanks for being thorough in explaining everything.
Really appreciate your feedback, thank you! Glad it was useful!
Thank you so much for your excellent video! You made the process of setting up a Linux Docker Container running Octoprint easy!
Thank you very much for your feedback! Glad I could help ;)
Awsome tutorial! Best regards from Brazil!
Muito obrigado! Também há o mesmo vídeo em português, se preferir 👍
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
Thank you very much for your feedback! I'm actually preparing new tutorials on linux as we speak👍
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?
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 ;)
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?
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👍
@@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
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 👍
@LeoTechLab that will be the test.
@@LeoTechLab It looks like the PI 4 2gb is not strong enough to deal with 2 Instances
When the "Y" is capital, it just means the option is defaulted to it, you don't need type "Y"
Good to know, thanks 👍
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?
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.
@LeoTechLab is that in the bottom portion of the docker-compse file?.where it says volumes: octoprint?
@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...
@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
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.
what’s the background music!!! but amazing vid thanks dude
can't remember where I got it, really, but it's free background music.
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.
Thank you for the feedback! Regarding the movement speed, I'm using the stock values from Sovol.
@@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.
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.