Install Octoprint on Linux - Complete Guide!

แชร์
ฝัง
  • เผยแพร่เมื่อ 30 มี.ค. 2022
  • Many of you guys have asked about options to run Octoprint without having to have a dedicated device for it, or use the OctoPi image, so I figured I would make a video with another option. In this video, I cover the process to install Octoprint on a Linux OS from start to finish. Doing this will allow you to use the device for Octoprint when you want but gives the option to use it for other purposes as well (like retro gaming on a Raspberry Pi).
    If you have any questions about the content covered in this video, feel free to leave a comment below with them. I try to reply to all comments within 48 hours.
    Referenced Article:
    Install Octoprint on Linux - Complete Guide! - 3dprintscape.com/install-octo...
    Hardware
    Raspberry Pi 4 Starter Kit (Shown in video) on Amazon: geni.us/GlVW
    Raspberry Pi 3 Starter Kit (Slightly cheaper) on Amazon: geni.us/B1Oq
    Raspberry Pi Camera on Amazon: geni.us/oc5qiG3
    USB Cable A-Male to Mini-B on Amazon: geni.us/u7uf
    USB Cable A-Male to B-Male on Amazon: geni.us/BZ5Ak
    Ender 3 Pro on Amazon: geni.us/vIAIx
    Ender 3 V2 on Amazon: geni.us/ur8YHM
    HATCHBOX Filament on Amazon: geni.us/BJx0Gdj
    Links
    Install Octoprint on Linux - Complete Guide! - 3dprintscape.com/install-octo...
    Putty: www.putty.org/
    Octoprint: octoprint.org/download/
    Videos
    Octoprint Configuration - Complete Setup and Configuration Guide: • Octoprint Configuratio...
    Multiple OctoPrint Instances on a Single Device: • Multiple OctoPrint Ins...
    Octoprint Bed Level Visualizer Install & Usage Guide: • Octoprint Bed Level Vi...
    Need Assistance?
    Join us on Discord: / discord
    Please consider helping support the channel through Patreon so we can continue to develop new content. / 3dprintscape
    Our Site
    3dprintscape.com
    *This channel is owned and operated by 3D Printscape. 3D Printscape is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 214

  • @3DPrintscape
    @3DPrintscape  2 ปีที่แล้ว +9

    I hope you found this overview helpful! If you have any questions or would like other tips/tricks, just let me know in the comments.

  • @NOOTSMAZDAS
    @NOOTSMAZDAS 2 ปีที่แล้ว +2

    thank you for making such good videos i really appreciate your presence in the community

  • @Lyndon_K
    @Lyndon_K ปีที่แล้ว

    This was an excellent tutorial. The instructions on the website are a real bonus. Thank you so much for your time and effort!

    • @3DPrintscape
      @3DPrintscape  ปีที่แล้ว

      Hi. Thanks for the feedback :).

  • @dHewlett
    @dHewlett 2 ปีที่แล้ว +1

    Awesome! I've been scraping together info from all over and making a mess of it! You're the best!

  • @natestrings673
    @natestrings673 ปีที่แล้ว

    Thanks for the video! It was quite a search to find how to use octoprint without dedicating my entire rpi4, also my temporary workstation on the go, for just this function.

  • @axelollars
    @axelollars 2 ปีที่แล้ว +5

    This is brilliant, perfect timing aswell. I was suprised when i looked at the view count :) high quality instructions but i presume the all in one script wont be coming

    • @3DPrintscape
      @3DPrintscape  2 ปีที่แล้ว +5

      Hi. Thanks for the feedback. This video is new and my channel is still growing, so views tend to be hit or miss depending on interest. I have had a couple people ask for the script so far, so it may still be an option.

    • @axelollars
      @axelollars 2 ปีที่แล้ว +5

      @@3DPrintscape no problem. I have been on-off trying to get octoprint to work on my old linux laptop for some weeks. But today when I found this video it somehow just worked. You are amazing and I want to thank you for the effort you put in your videos. And for the script i truly belive it would really help alot of people.

  • @Ubydulla
    @Ubydulla ปีที่แล้ว

    Hello, i used Mint Debian Edition and your guide worked flawlessly! Thanks!

  • @hawker800mech
    @hawker800mech ปีที่แล้ว

    Watched the video a couple times and followed your website to install. Super easy for a non-IT guy.

  • @johnscrub
    @johnscrub ปีที่แล้ว

    Thank you was trying to use precompiled image but was having nothing but trouble... Installed Ubuntu and file this from your site and I'm good to go... Thank you!!

  • @orly3000
    @orly3000 ปีที่แล้ว

    I'm a huge noob, I was sure that I would fail. Your tutorial was idiot-proof. I got it working. Thank you.

  • @kevinmason2512
    @kevinmason2512 2 ปีที่แล้ว

    Wonderful video! Thank you so much.

  • @mrs5850
    @mrs5850 2 ปีที่แล้ว

    This is brilliant as always. Any luck with the Klipper Ender 3 tutorial? Got my 4.2.7 board and been stuck for days trying to get it to work.

    • @3DPrintscape
      @3DPrintscape  2 ปีที่แล้ว +1

      Hi. Thanks, that one is still on my backlog. Im trying to get the laser kit video done and will switch over to klipper afterwards.

  • @peitz.design
    @peitz.design ปีที่แล้ว

    awesome! exactly what I needed

  • @skydragon1966
    @skydragon1966 2 ปีที่แล้ว

    Excellent video. Thank You.

  • @darrellhatton1516
    @darrellhatton1516 ปีที่แล้ว

    Awesome! Thanks so much!

  • @EXE181
    @EXE181 2 ปีที่แล้ว

    Great video. Thank you.

  • @shadowskyimpact
    @shadowskyimpact 2 ปีที่แล้ว +2

    I just wanted to add that there is currently in development of OCTO-PC made by Nuclear Foods which is a pre-compiled version of Antix that has octoprint pre-installed. I highly recommend users take a look as the initial installation is like a script, no coding was required. Flash the ISO and straight booting into Octoprint.

    • @3DPrintscape
      @3DPrintscape  2 ปีที่แล้ว

      Hi. Thanks for the info.

    • @senadgalijasevic8568
      @senadgalijasevic8568 8 หลายเดือนก่อน +1

      Thank you for this. Linux world really needs to fix this nonsense of having to learn rocket science just to install a damn app. I am not sure WTF is wrong with these people.

  • @Sturmvogel
    @Sturmvogel ปีที่แล้ว

    EDIT: Nevermind, I figured it out. I was just looking up my IP via Windows properties, I think it was giving me my router IP. Instead, I typed in "ip a" into Ubuntu and found my IP there. Once I did that the OctoPrint installer started right up! 👌
    ==============================================
    Rob, thanks so much for this. It is helping a Linux newbie like myself tremendously.
    I’m running into an issue when I’m trying to test the Octoprint install. I have Ubuntu running inside Windows 11 and when I put in “~/OctoPrint/venv/bin/octoprint serve” it does its thing no problem. Though when I open Chrome and put in my ip with :5000 it returns with a blank screen saying “ERR_Connection_Refused” “(my IP) refused to connect."
    Anyone have any thoughts on how to proceed? Thanks!

    • @3DPrintscape
      @3DPrintscape  ปีที่แล้ว

      Hi. Sorry for the delayed response, this was held for review for some reason. Im glad you got it working.

  • @michaelgrupa7754
    @michaelgrupa7754 2 ปีที่แล้ว +2

    Great video and guide. Did you get the script written yet? I have a friend that wants to try this that is not too technical.

    • @3DPrintscape
      @3DPrintscape  2 ปีที่แล้ว +2

      Hi. Thanks for the feedback. I havent been able to write the script yet.

  • @michaelluger2127
    @michaelluger2127 2 ปีที่แล้ว

    thanks! much appreciated!

  • @melverc.mintoniii7500
    @melverc.mintoniii7500 ปีที่แล้ว

    Great video. I plan to use your expertise. I have a question. What is the hostname you used? I'm currently using a octoprint image and it's host name is octopi. Do I need to change my linux hostname to octopi and remove my pi board from my network?
    Thanks in advance!!

    • @3DPrintscape
      @3DPrintscape  ปีที่แล้ว

      Hi. You could rename it to octopi or just connect to it with the ip address.

  • @thatguywiththe
    @thatguywiththe ปีที่แล้ว +2

    thank you for the guide!
    I do have a question - I am trying to install it on a Linux Mint VM and during the Auto Start section I am getting an error "update-rc.d: error: octoprint Default-Start contains no runlevels, aborting.". After I try to start the service I get another error.
    Any idea as to what could be happening?

    • @3DPrintscape
      @3DPrintscape  ปีที่แล้ว +1

      Hi. I think this is the issue you are running into. serverfault.com/questions/849507/systemctl-doesnt-recognize-my-service-default-start-contains-no-runlevels-abo

  • @larrybud
    @larrybud ปีที่แล้ว

    Few things to point out for newbs to linux and raspberries like me (well ok, I ran unix like 30 years ago) and some problems I ran into:
    1: Your video device might not be /dev/video0. Mine was video1, as the printer is video0. Took a while to figure this one out. I don't know if there's a way to specify the camera simply by usb Id? Hopefully the Ids don't change when the raspberry reboots. Is /dev/videoX based on the physical port?
    2: Run the mpg_streamer from a command line to make sure it runs properly and you get your configuration options the way you want.
    3: Only then set up your daemon and service, making sure you copy your parameters into the file to match what you want in step 3.

    • @3DPrintscape
      @3DPrintscape  ปีที่แล้ว

      Hi. Thanks for sharing this.

  • @theosborneguy
    @theosborneguy 2 ปีที่แล้ว

    Wow, thanks for this content. The video and written instructions are the best I've come across on this topic. Question, and not sure if you'd know why but in Ubuntu 20.04 or 22.04, Octoprint will not connect to my Ender 3 V2, even though you can see the printer listed when running the lsusb command. I've added my user to both tty and dialout groups, rebooted, but it just won't connect. If I take the same computer, same cable, same printer, and install Fedora, everything works fine. Can't figure out what it is about Ubuntu that is preventing the printer connection in Octoprint correctly. Any suggestions?

    • @3DPrintscape
      @3DPrintscape  2 ปีที่แล้ว

      Hi. Thanks for the feedback. That is interesting, my guess is it would have something to do with the drivers but without being hands on to troubleshoot i cant say for sure.

  • @larsthybothomsen6730
    @larsthybothomsen6730 6 หลายเดือนก่อน

    Awesome video :) can almost get it to work :) if my default user is orangepi, can i just change where you write pi to orange pi?

    • @3DPrintscape
      @3DPrintscape  6 หลายเดือนก่อน +1

      Hi. Assuming you have the right permissions that should work. Also, look to see where else /pi is used, you may have to update some paths as well.

    • @larsthybothomsen6730
      @larsthybothomsen6730 6 หลายเดือนก่อน +1

      thanks :) newer tryed ubuntu before :) so a step learning curve :) but im learning what not to do =D now i got a pi user :) hope it works this time =D

  • @garyblenkhorn4566
    @garyblenkhorn4566 หลายเดือนก่อน

    Hi Rob. Very detailed and well explained guide, much appreciated. I installed Ubuntu 22.04 on an old laptop and I have OctoPrint running perfect except for my camera. I do not get the stream in Octoprint or through a web browser and when I test the Path to FFMPEG- /usr/bin/ffmpeg it comes back as "The path doesn't exist". What may I have done wrong?

    • @3DPrintscape
      @3DPrintscape  หลายเดือนก่อน

      Hi. Are you trying to connect with the ip or dns name??

  • @doron910
    @doron910 ปีที่แล้ว

    thank you!!!

  • @Jin-nc7br
    @Jin-nc7br ปีที่แล้ว

    Hey I was following your video and I got to the part where you set up the automatic start, however mine does not seem to be working, I can not manually start it either, using the code "sudo service octoprint start" results in job for octoprint failed because the control process exited with error code. How do I fix this?

    • @3DPrintscape
      @3DPrintscape  ปีที่แล้ว

      Hi. It sounds like one of the previous commands may have failed to run properly. Did you get any errors or notifications at all?

  • @powerbilly9165
    @powerbilly9165 4 หลายเดือนก่อน

    Hello, thank you very much for the very good instructions. Everything is working well so far. However, the GPIOs are not recognized in Octoprint. Is there a solution here?

    • @3DPrintscape
      @3DPrintscape  4 หลายเดือนก่อน

      Hi. There seems to be a lot of bugs in general related to this. One forum is saying the pi 3 usb port housing was at 5 volts so he swapped it out with a pi 4 and it worked. This may be a decent starting point. community.octoprint.org/t/serial-connection-over-gpio-pins-wont-function/32728/8

  • @lifewater989
    @lifewater989 ปีที่แล้ว

    This was super helpful. Thank you! Now I don't have to dedicate my Plex/NAS Pi to Octoprint.
    For some reason the webcam URL does not work but if I use the Pi's local IP it works. How do I get the web cam working so I can view it remotely and securely?

    • @3DPrintscape
      @3DPrintscape  ปีที่แล้ว

      Hi. I have only been able to get it working with using the ip or url, it wont work with a port at the end. I will look into remote options when i get a min.

  • @user-kx1zu7zz7z
    @user-kx1zu7zz7z 2 ปีที่แล้ว

    Hi! Thank you for such an informative video. This is by far the most detailed explanation I've come across and I would like to thank you for your effort! There are a couple of things that did not work out for me though and I wonder if you have the answer:
    I tried following the instructions on my old laptop running ubuntu 20.04 LTS. I was able to get the server online but it never worked when it came to connecting to the printer via USB. The printer is Creality Ender 3 and I have no problem controlling the motion of the axes using Cura. An error message always popped up saying "permission denied", even after I added the pi user to the serial port.
    Another problem was with the webcam stream. A message saying "Webcam stream not loaded" always appears and I don't know why. This was a minor issue thought since I never really needed to stream the footage. I was just baffled as to what went wrong.

    • @3DPrintscape
      @3DPrintscape  2 ปีที่แล้ว

      Hi. Ive seen some random issues with streaming and ubuntu, i think it has something to do with the libjpeg it uses. Did the libjpeg62 install work correctly? The permission denied is typically due to something else having a lock on the port/bus, try to reboot.

    • @ccole8686
      @ccole8686 5 หลายเดือนก่อน

      ​@@3DPrintscape Hello I am currently on the step "Build mjpg-streamer" but it is unable to locate package libjpeg62-turbo-dev. what should I do?

    • @3DPrintscape
      @3DPrintscape  5 หลายเดือนก่อน

      See if there is an alternate package for the distro your using. @@ccole8686

  • @slicedpage
    @slicedpage ปีที่แล้ว

    Hey big guy, I have just found out that if you print a model via octoprint it can vary in quality from one that was printed via the SD card. This was due to the cable connecting the Pi to the printer not being of a high enough standard. Have you come across this? I have lots of micro USB cables, collected over the years, you probably do too. Is there a way to find out which one carries data better?

    • @3DPrintscape
      @3DPrintscape  ปีที่แล้ว

      Hi. I have not personally experienced this. For me the cable with worked or it didnt, i have a lot of charging only cables that wont work for data.

    • @slicedpage
      @slicedpage ปีที่แล้ว +1

      @@3DPrintscape thanks Robert

  • @CEEngineer
    @CEEngineer ปีที่แล้ว

    Your videos are awesome Keep up the great work!
    only had two issue while following your guild and figured I'd post them here with my resolutions incase someone else runs into them as well!
    1. Initially I was having big issues installing my Linux distro on to this little laptop I picked up from micro center. Long story short Linux DOES NOT like emmc storage devices for bootable installs or at least I could not get it to work. Istalled a cheap NVME hard drive and everything worked awesome from there.
    2. Was having issues getting the webcam stream to work initially and it came down to improper install of the ffmpeg. So after a re install fo that software everything is working as expected!
    I did have one question that I can't seem to find answer to so figured id ask to see if any one knows.
    Since this is installed on a laptop that has an integrated webcam (terrible video quality), I would like to use a higher quality USB camera (for octolapse) that I have laying around, but I cant get the Webcam steam/Daemon to utilize this device? Is there a way to specify devices?
    Any help would be appreciated for sure!

    • @3DPrintscape
      @3DPrintscape  ปีที่แล้ว

      Hi. Thanks for the feedback and sharing your findings. I dont have an extra laptop with a webcam (my new one didnt even come with a webcam) to test but maybe some else in the community does.

  • @bkarpuz
    @bkarpuz 4 หลายเดือนก่อน

    I have an upgraded Mac Mini Mid 2007, I could install Linux MX in here. Do you think I can use Octoprint in this computer?

    • @3DPrintscape
      @3DPrintscape  4 หลายเดือนก่อน

      Hi. From a spec standpoint i think the mac mini will be fine. I havent used MX so there may be some small differences but i think it should work.

  • @benlundberg4718
    @benlundberg4718 3 หลายเดือนก่อน

    I know it's a year after upload so probably won't get a reply but it's worth a shot. So i'm a complete linux noob and I've just setup octoprint on my dell wyse 3040 following your tutorial and everything works fine. Except for the camera. I'm using a generic webcam and it seems like the code you have written is for a pi cam, is there any way for me to get a webcam working through linux on octoprint?
    edit: I went back over the code and in the webcamDaemon file I deleted the start raspicam section and now it works! Thank you for making the video would never have got this far without it :)

    • @3DPrintscape
      @3DPrintscape  3 หลายเดือนก่อน

      Hi. Im gad you got it working :)

  • @lvlikeyV
    @lvlikeyV 2 ปีที่แล้ว

    Can this method be used for 2 printers and 2 webcams on one raspberry pi? Sorry if that was covered in the video and I missed it.

    • @3DPrintscape
      @3DPrintscape  2 ปีที่แล้ว

      Hi. You would need to setup multiple instances, similar to this video. th-cam.com/video/GEgukBiLnmM/w-d-xo.html

  • @christopherbigelow1323
    @christopherbigelow1323 2 ปีที่แล้ว

    Is there a way to increase the resolution of the picture displayed in Octoprint if your camera can handle higher resolutions?

    • @3DPrintscape
      @3DPrintscape  2 ปีที่แล้ว

      Hi. Honestly, im not sure. I will try to look into that more when i get some time.

  • @jericsm
    @jericsm ปีที่แล้ว

    Just wondering if this will work on Orange Pi PC running Armbian? Or do I need to run octoprint inside a docker?

    • @3DPrintscape
      @3DPrintscape  ปีที่แล้ว

      Hi. That goes outside the scope of this video, but i think you would be able to get it to work.

  • @shadowskyimpact
    @shadowskyimpact 2 ปีที่แล้ว +1

    It would be an absolute treasure to have a script!

    • @3DPrintscape
      @3DPrintscape  2 ปีที่แล้ว +3

      Hi. Im starting to get more and more requests for it, so i may end up writing it.

  • @marugapa238
    @marugapa238 2 ปีที่แล้ว +1

    Install octoprint on an odroid xu4 with ubuntu mate and everything works except the camera, when installing the libjpeg62-turbo-dev package it says package not found and I guess that's the problem.
    Any idea how to install that package?

    • @3DPrintscape
      @3DPrintscape  2 ปีที่แล้ว

      Hi. Is the libjpeg8 library there?

    • @marugapa238
      @marugapa238 2 ปีที่แล้ว

      @@3DPrintscape Yes

    • @3DPrintscape
      @3DPrintscape  2 ปีที่แล้ว

      @@marugapa238 Ok, the OS is running an older runtime environment from what I read on it. I don't have a good answer on how to fix that at this point, I will need to install/test when I get some time.

    • @marugapa238
      @marugapa238 2 ปีที่แล้ว +1

      @@3DPrintscape Thanks, I'll keep looking too

    • @kevinmason2512
      @kevinmason2512 2 ปีที่แล้ว

      Any luck? I'm stuck trying to get the same file to update\install to no luck on my XU4. Everything else is working well though so thats nice.

  • @rkcbvw
    @rkcbvw 2 ปีที่แล้ว

    Steps worked great for me and thanks for including camera scripts. The only issue I have is octoprint defaults to my built in camera over the external USB connected webcam. Any idea how to disable the built in camera so it always uses the USB connected webcam?

    • @3DPrintscape
      @3DPrintscape  2 ปีที่แล้ว

      Hi. Im not sure off hand. What type of built in camera is it?

    • @rkcbvw
      @rkcbvw 2 ปีที่แล้ว

      @@3DPrintscape thanks for response. I should have mentioned i converted old lenovo E520 laptop to linux and its the onboard camera that usually starts for me. Not sure the exact model. I have a logitech 720p connected to usb that I want to always show.

    • @3DPrintscape
      @3DPrintscape  2 ปีที่แล้ว +1

      @@rkcbvw Gotit, i will need to look into that one. Im not sure how to do it offhand.

    • @MarkWascherJr
      @MarkWascherJr ปีที่แล้ว

      Did you find a solution to this? I'm having the same issue.

    • @apzis1026
      @apzis1026 ปีที่แล้ว

      @@3DPrintscape having the same issue

  • @keving7103
    @keving7103 ปีที่แล้ว

    Hi,my octoprint is have trouble connecting to printer via USB,I think maybe is because it didnt show up as ttymac0 port?do you have any idea how i can fix it?

    • @3DPrintscape
      @3DPrintscape  ปีที่แล้ว

      Hi. Can you confirm that the usb cable you are using is meant for data and not just charging?

    • @keving7103
      @keving7103 ปีที่แล้ว

      @@3DPrintscape thanks for the reply。 and yes the USB connection is working fine because i checked by using command line lsusb,everything show up correct。

  • @skydragon1966
    @skydragon1966 2 ปีที่แล้ว

    Hello,
    I installed Octoprint on a laptop with MX Linux and it runs, but I have to start it manually. I can live with that, but if I could get it to auto start and get the camera working, I would rather do that. Are you using a Raspberry Pi or a desktop? I am new to Linux and just trying to learn it.

    • @3DPrintscape
      @3DPrintscape  2 ปีที่แล้ว

      Hi. It sounds like the daemon may not be setup and running right.

    • @centurywestengineering985
      @centurywestengineering985 ปีที่แล้ว

      Also if you are using a different user other than Pi you may have to go into the service and edit it. Sometimes there is an issue with the ExecStart defaulting back to Pi. At least that is what happened to me. In Terminal run
      sudo nano /etc/systemd/system/octoprint.service
      and manually change it to be ExecStart=/home/USER/OctoPrint/venv/bin/octoprint
      Where the USER is the user you are using. Sorry I'm a little late to the party.

    • @centurywestengineering985
      @centurywestengineering985 ปีที่แล้ว

      Oh and the user too... You will notice an issue with plugins if you don't change the user.

  • @AymanSuleiman
    @AymanSuleiman 2 ปีที่แล้ว

    Would love a script! But if there is an option to allow us to change the username that would be good otherwise we can just modify the script. My question is that I already have a user on my Linux box that I use for klipper. Can I run this simultaneously along with klipper on the same user? I have 3 speciality printers that I cant get klipper on but I need the remote access function so I'm settling for octoprint. But I only have one server for my printers.

    • @3DPrintscape
      @3DPrintscape  2 ปีที่แล้ว

      Hi. I think there are some things built into octoprint that require the name to be pi, but i cant say for sure. Changing the username for them should be simple if thats not the case. I think you can run this along with klipper but i havent tried. As long as its not trying to use the same ports, it should work.

  • @josephjoe7836
    @josephjoe7836 ปีที่แล้ว

    If I mess up at any point do I have to start over again or how does that work cuz I think I did something wrong. So I guess I'm asking how do I know if I did it correctly or not??

    • @3DPrintscape
      @3DPrintscape  ปีที่แล้ว +1

      Hi. Most of the commands can be reran without an issue. At the end, you should have the service running, if its not something went wrong. Also, keep an eye on what gets returned after each command. If there are errors you will want to fix them there.

    • @josephjoe7836
      @josephjoe7836 ปีที่แล้ว +1

      @@3DPrintscape thank you dude

  • @luiznic6653
    @luiznic6653 ปีที่แล้ว

    Hello, first of all thanks for the video:)
    Do you have any clue about some problems on the step "pip install octoprint"
    When I try to run this command, it returns me some error saying that it "failed to build wheel for psutil" and I can't continue...
    I tried everything from reinstalling all from zero, updating pip, installing psutil, installing wheel, nothing seems to work.
    FYI I'm using a Orange Pi 3 Lts running Ubuntu focal
    Thanks in advance 👍

    • @3DPrintscape
      @3DPrintscape  ปีที่แล้ว

      Hi, Do you have python installed. Should be something similar to sudo apt-get install python3.6-dev to install it (version may be different). This article talks about it more. stackoverflow.com/questions/48154968/failed-building-wheel-for-psutil

  • @robloxbattlebots3573
    @robloxbattlebots3573 23 วันที่ผ่านมา +1

    Hi, I'm getting an error on the command to set octoprint to automatically start and it says, Failed to enable unit: Unit file octoprint.service does not exist.
    I'm not really into IT but the link in the command leads to a 404 so I don't know if that's that problem or if that's something else that's not really related.

    • @3DPrintscape
      @3DPrintscape  23 วันที่ผ่านมา +1

      Hi. It sounds like there was an issue that came up before this step but around creating the octoprint.service. Did you get any other errors or warning?

    • @robloxbattlebots3573
      @robloxbattlebots3573 21 วันที่ผ่านมา

      @@3DPrintscape No, I just came back to this today because I've been manually starting it through a secure shell. Is there a line of code I can run to create the octoprint.service that would help me with automatically starting octoprint?

    • @robloxbattlebots3573
      @robloxbattlebots3573 21 วันที่ผ่านมา

      @@3DPrintscape It also shows the 404 error so I don't know if it's just a problem with the github link?2

    • @3DPrintscape
      @3DPrintscape  20 วันที่ผ่านมา +1

      @@robloxbattlebots3573 You are correct, it looks like they made some pretty big changes. Try running pip install OctoPrint

    • @robloxbattlebots3573
      @robloxbattlebots3573 19 วันที่ผ่านมา

      @@3DPrintscape The pip install doesn't change anything, should I create my own file leading to the same directory where octoprint.service should be so that I don't run into the error saying it doesn't exist?

  • @greatnick8960
    @greatnick8960 ปีที่แล้ว

    Hello my friends .i have a question .i have install the octoprint server under raspberry pi os for computers. its works great but my problem is i can not install plugins . he sayed ´´ Could not import OctoPrint's setuptools, are you sure you are running that under the same python installation that OctoPrint is installed under?´´
    can one of this guys help me ?

    • @3DPrintscape
      @3DPrintscape  ปีที่แล้ว

      Hi. Can you send the exact error and the text around it?

  • @LegendNoah
    @LegendNoah ปีที่แล้ว

    If you are having problems getting printer to detect, regardless baud/port/timeout settings you change, removing brltty with "sudo apt remove brltty" instantly fixed my problem with ender 3/s1. It was interfering with connection.

    • @3DPrintscape
      @3DPrintscape  ปีที่แล้ว

      Hi. Thats interesting, thanks for sharing.

  • @Xenosous
    @Xenosous 8 หลายเดือนก่อน

    I got to the step to have OctoPrint start automatically and when I go to check the status all it says is "Failed to start OctoPrint.service: Unit OctoPrint.service not found." What is going wrong here?

    • @3DPrintscape
      @3DPrintscape  8 หลายเดือนก่อน

      Hi. It sounds like the command to copy the service file failed. Its also possible other tasks failed before that which caused this. When running the commands, make sure everything succeeds before moving on.

  • @skage2k
    @skage2k ปีที่แล้ว

    Hello Rob, I have been enjoying your content and I wanted to share a technical issue I have encountered. The camera streams for only a few seconds before it displays a black screen. Sometimes, if I switch tabs on OctoPrint, it starts working again for a few seconds.
    Could you please assist me in resolving this issue? I would be grateful for any support you can provide.
    Thank you for your time and efforts.

    • @3DPrintscape
      @3DPrintscape  ปีที่แล้ว +1

      Hi. Have your tried to clear your browser cache or from another computer. The part that it works sometimes when you go back to it kinda points to a local browser issue.

    • @skage2k
      @skage2k ปีที่แล้ว +1

      @@3DPrintscape I think my webcam was bad, but I changed it and now it works flawlessly.Thank you

  • @TheSuburban15
    @TheSuburban15 ปีที่แล้ว

    I think I have everything set up, but OctoPrint doesn't autmatically start. Has anything changed that might have broken that, at least as far as the instructions go?

    • @3DPrintscape
      @3DPrintscape  ปีที่แล้ว

      Hi. Not that im aware of. I did an install on Raspbian OS a couple of weeks ago with no issues. I would check to see if any of the commands failed as you were going.

  • @axelollars
    @axelollars 2 ปีที่แล้ว

    my webcam works in octoeverywhere but on the ip:5000 it just says webcam stream not loaded . Any clue on what is going on?

    • @3DPrintscape
      @3DPrintscape  2 ปีที่แล้ว

      Hi. It wount work when viewing under port 5000. It uses port 8080 and only works when ha proxy is setup right and your on the default port.

  • @Jacks_Disciple
    @Jacks_Disciple 2 ปีที่แล้ว

    So I have octoprint running on Ubuntu server, but the daemon
    Files seem to be messed up seeing as I can't get the service to auto start. Can I just copy and paste from the point I messed up?

    • @3DPrintscape
      @3DPrintscape  2 ปีที่แล้ว +1

      Hi. Assuming the apps installed correctly, you can just recreate the config files.

    • @Jacks_Disciple
      @Jacks_Disciple 2 ปีที่แล้ว

      @@3DPrintscape ok I'll try to recreate the files, I've been at it all night. And I can't seem to find alot of info with the current version of Ubuntu server and python3

    • @Jacks_Disciple
      @Jacks_Disciple 2 ปีที่แล้ว +1

      @@3DPrintscape so I think i Figured it out, when I was copy & pasting. some of the file paths where invalid due to leaving /pi/ instead of changing it to what I changed it to.

  • @DuoHaptism
    @DuoHaptism 2 ปีที่แล้ว

    Can you use this to run multiple instances of octoprint to control multiple printers?

    • @3DPrintscape
      @3DPrintscape  2 ปีที่แล้ว

      Yes, it will take more work though. Its similar to running multiple instances on the octopi image th-cam.com/video/GEgukBiLnmM/w-d-xo.html

  • @krikcly
    @krikcly ปีที่แล้ว

    Can't get it to work, it seems to install but when I get to the park where you run the test to see if it works before opening it on a browser it says no such file and I've started from scratch like five times

    • @3DPrintscape
      @3DPrintscape  ปีที่แล้ว

      Hi. Did you get errors while running any of the commands?

  • @phaqyou2
    @phaqyou2 ปีที่แล้ว

    Do I have to ssh into my machine? Could I just do it from the terminal on my linux machine?

    • @3DPrintscape
      @3DPrintscape  ปีที่แล้ว

      Hi. If you have a terminal to the machine, you can use that and not ssh. I was using a random raspberry pi without a monitor or keyboard connected.

    • @phaqyou2
      @phaqyou2 ปีที่แล้ว +1

      @@3DPrintscape Thanx i managed to get octoprint installed and working. Now I'm just struggling to setup a usb webcam I just can't seem to manage to stream my feed

  • @MarcoSpelde
    @MarcoSpelde 2 หลายเดือนก่อน

    Installation went great, but whatever I try, I can't get the webcam to work. I restored a backup of my raspberry Pi octoprint, can that be the problem? Everything works, except for the webcam. Tried all the solutions given here and on the website.

    • @3DPrintscape
      @3DPrintscape  2 หลายเดือนก่อน

      Hi. Did all components for the webcam install successfully and are you connecting to it from the ip or a DNS entry?

    • @MarcoSpelde
      @MarcoSpelde 2 หลายเดือนก่อน

      At first I got the Unable to locate package libjpeg62-turbo-dev error, but it looked like it installed. So when I saw it mentioned on the website, I started over from the part of that install, but with the libjpeg8-dev instead. No idea of everything after that installed correctly, total linux noob here. So it might be just me that f*ed up. Im running on an intel NUC , and will give it another go from scratch tommorow. Any advice wich version of Linux I should install on the NUC?

    • @3DPrintscape
      @3DPrintscape  2 หลายเดือนก่อน

      I would probably go with Ubuntu @@MarcoSpelde

  • @jdmeadows7174
    @jdmeadows7174 ปีที่แล้ว

    i followed your tutorial and no matter what i try i cant connect to octoprint any suggestions? I put xubuntu on an old hp laptop

    • @3DPrintscape
      @3DPrintscape  ปีที่แล้ว

      Hi. Can you confirm that the service is running on OS. Also, did you get any errors when going through the commands?

    • @jdmeadows7174
      @jdmeadows7174 ปีที่แล้ว

      @@3DPrintscape I was trying jellyfish os and i also tried to put it on a bigtreetech pi4b with cb1

  • @kharsair
    @kharsair ปีที่แล้ว +1

    Trying this on Ubuntu Server 22.04LTS running on an old intel NUC, everything worked except the webcam, it turns out that device /dev/video0 is owned by root video and will need to run usermod -aG video for the mpeg_streamer to start properly (accessing webcam I assumed), otherwise running systemctl status webcamd will show: i: init_VideoIn failed. Just post it here in case anyone run into the same issue.

    • @kharsair
      @kharsair ปีที่แล้ว

      Also if your unable to locate libjpeg62-turbo-dev when apt installing, using libjpeg62-dev instead works fine for me (guess it will be slower?)

    • @3DPrintscape
      @3DPrintscape  ปีที่แล้ว

      Hi. Sounds like you got everything running? And the streaming requirements change a little based on the OS your using. Some want older versions of the drivers.

  • @carlosrivas3440
    @carlosrivas3440 ปีที่แล้ว

    todo iba bien hasta el punto de sudo usermod.... cuando coloco ~/OctoPrint/venv/bin/octoprint serve me dice no existe el archivo directorio :(

    • @3DPrintscape
      @3DPrintscape  ปีที่แล้ว

      Hi. It sounds like one of the previous commands may have failed.

    • @carlosrivas3440
      @carlosrivas3440 ปีที่แล้ว

      @@3DPrintscape que puedo hacer realizo todo el proceso nuevamente??

    • @gustavomurrieta978
      @gustavomurrieta978 9 หลายเดือนก่อน

      @@carlosrivas3440 lo pudiste resolver?

  • @mustafaonurucak614
    @mustafaonurucak614 2 หลายเดือนก่อน

    Hello, I encountered an error like this while installing.
    usermod: user 'pi' does not exist
    usermod: user 'pi' does not exist

    • @3DPrintscape
      @3DPrintscape  2 หลายเดือนก่อน

      Hi, the password should be raspberry

  • @carlosrivas3440
    @carlosrivas3440 ปีที่แล้ว

    coloco el ip de mi maquina y luego :5000 y me dice la conexion ha caducado y np conecta

    • @3DPrintscape
      @3DPrintscape  ปีที่แล้ว

      Hi. Did you get any errors during the install?

  • @lordsofdeepentertainment7317
    @lordsofdeepentertainment7317 2 ปีที่แล้ว

    this video needs 100k more views so we can get that script.

    • @3DPrintscape
      @3DPrintscape  2 ปีที่แล้ว

      Hi. It doesnt need that many, just enough to make it worth while :).

  • @jesus_hdz_garcia
    @jesus_hdz_garcia 10 หลายเดือนก่อน

    I follow the instructions however when I go to test the IP it doesn't connect! Any help?

    • @3DPrintscape
      @3DPrintscape  10 หลายเดือนก่อน

      Hi. Can you ping the ip address? If not, check your router to see if its actually on the network. If it is, make sure the services are started.

    • @jesus_hdz_garcia
      @jesus_hdz_garcia 10 หลายเดือนก่อน

      @@3DPrintscape I used to have it running on Ubuntu but I switched to Debian to run Home Assistant with plugins. Octoprint hasn't worked right on Debian even with downloading it through snap store. With the snap store version OctoPrint runs but it doesn't detect the printer.

    • @3DPrintscape
      @3DPrintscape  10 หลายเดือนก่อน

      @@jesus_hdz_garcia Ah ok, its possible there is some compatibility issues with the plugins your running for home assist and octoprint. Im assuming the home assist stuff has a web interface and if that was there first it may be blocking the octoprint one from coming online. You can probably try to bind octoprint on a different port.

    • @jesus_hdz_garcia
      @jesus_hdz_garcia 10 หลายเดือนก่อน

      @@3DPrintscape Home Assistant runs on port 8123, Octoprint is always on 5000. I have tried installing Octoprint first but it didn't work.

    • @jesus_hdz_garcia
      @jesus_hdz_garcia 10 หลายเดือนก่อน

      I will add that on Ubuntu Home assistant, Home Bridge, and Octoprint all ran fine on the same linux laptop. It wasn't until I switched to Debian that Home Assistant and Octoprint started having issues. Home Assistant plugins are supposed to only be compatible on Debian or using their own OS.

  • @thecolonelshark488
    @thecolonelshark488 ปีที่แล้ว

    libjpeg62 gets an error can't find when executing?

    • @3DPrintscape
      @3DPrintscape  ปีที่แล้ว

      Hi. What distro are you using?

    • @thecolonelshark488
      @thecolonelshark488 ปีที่แล้ว

      @@3DPrintscape Ubuntu 22

    • @3DPrintscape
      @3DPrintscape  ปีที่แล้ว

      @@thecolonelshark488 I think it should work fine on that. Take a look at this article. installati.one/ubuntu/22.04/libjpeg62/

    • @thecolonelshark488
      @thecolonelshark488 ปีที่แล้ว

      @@3DPrintscape Awesome thanks! apt get worked

  • @EM-oz4gv
    @EM-oz4gv 2 ปีที่แล้ว

    Noob here, anyone know how to create/add "pi" user? I'm stuck right there while following the script 😸, thanks 🙏

    • @3DPrintscape
      @3DPrintscape  2 ปีที่แล้ว +1

      Hi. You should be able to use (useradd [OPTIONS] USERNAME)

    • @EM-oz4gv
      @EM-oz4gv 2 ปีที่แล้ว

      @@3DPrintscape , thank you for the info, will give it a try this weekend

    • @3DPrintscape
      @3DPrintscape  2 ปีที่แล้ว

      @@EM-oz4gv You're Welcome

  • @Matt-bh1qj
    @Matt-bh1qj ปีที่แล้ว

    Every time I input ‘pip install octoprint’ it says SyntaxError: invalid syntax

    • @3DPrintscape
      @3DPrintscape  ปีที่แล้ว

      Did the previous commands run without an issue?

    • @Matt-bh1qj
      @Matt-bh1qj ปีที่แล้ว

      @@3DPrintscape yes :)

    • @3DPrintscape
      @3DPrintscape  ปีที่แล้ว

      @@Matt-bh1qj Did you copy or type the command?

    • @Matt-bh1qj
      @Matt-bh1qj ปีที่แล้ว

      @@3DPrintscape I typed them

    • @3DPrintscape
      @3DPrintscape  ปีที่แล้ว

      @@Matt-bh1qj Try to copy from the text box on the site.

  • @shaunvisser8155
    @shaunvisser8155 ปีที่แล้ว

    Hi there. Firstly, your channel is by far the best, explaining everything in enough detail for someone like me to follow.
    I did however run into a problem, not sure if it's a connection thing or maybe repository related, but this is the error:
    Unable to locate package libjpeg62-turbo-dev
    Any help would be greatly appreciated

    • @3DPrintscape
      @3DPrintscape  ปีที่แล้ว

      Hi. Thanks for the feedback. What linux distro are you using?

    • @SohrabRouzbeh
      @SohrabRouzbeh 8 หลายเดือนก่อน

      @@3DPrintscape Thanks for the great tutorial. I encountered the same issue. I am using linux mint

    • @3DPrintscape
      @3DPrintscape  8 หลายเดือนก่อน +1

      I think there is a libjpeg82 that should work. @@SohrabRouzbeh

    • @ccole8686
      @ccole8686 3 หลายเดือนก่อน

      @@3DPrintscape hello I am having the same issue with the libjpeg62-turbo-dev and the libjpeg82-turbo-dev it just keeps telling me it is unable to locate that package. Do you have any advice on where to go next?

    • @3DPrintscape
      @3DPrintscape  3 หลายเดือนก่อน

      It sounds like you may not have a repo added, the process will vary based on distro. @@ccole8686

  • @skydragon1966
    @skydragon1966 2 ปีที่แล้ว

    I can get it installed, just cant get the camera working.

    • @3DPrintscape
      @3DPrintscape  2 ปีที่แล้ว

      Hi. What issue are you having?

    • @skydragon1966
      @skydragon1966 2 ปีที่แล้ว +1

      @@3DPrintscape I just cant get the camera working, everything else works. I like messing with Linux, so I loved the video.
      Ill mess with it a little more, I may need some help. Keep the vids rolling

    • @chiefcw44
      @chiefcw44 2 ปีที่แล้ว +1

      @@skydragon1966 I installed Octoprint on a Chromebox running Debian and had a problem with the webcam too. I did find out that it would start working after refreshing the OctoPrint page after 2 mins. Had to change the "sleep 120" at the bottom of the webcamdaemon script to "sleep 3" and it works correctly now. Apparently the webcam isn't registered as /dev/video0 right away and the script would wait 120 seconds to try and start it again, changing it to 3 seconds solved my problem.

    • @skydragon1966
      @skydragon1966 2 ปีที่แล้ว

      @@chiefcw44 Thanks, ill try it.

  • @carlosrivas3440
    @carlosrivas3440 ปีที่แล้ว

    me dice el directorio home\pi\scripts no existe

    • @3DPrintscape
      @3DPrintscape  ปีที่แล้ว

      Hi. Did you get any errors during the install?

  • @PurpleGPZ
    @PurpleGPZ 2 ปีที่แล้ว

    times out at the auto start section??

    • @3DPrintscape
      @3DPrintscape  2 ปีที่แล้ว

      Hi. Are you getting any feedback at all from the OS?

    • @PurpleGPZ
      @PurpleGPZ 2 ปีที่แล้ว

      @@3DPrintscape i created the files myself and copied over the content, thanks for replyin

    • @3DPrintscape
      @3DPrintscape  2 ปีที่แล้ว

      @@PurpleGPZ Can you manually start the app?

    • @PurpleGPZ
      @PurpleGPZ 2 ปีที่แล้ว

      @@3DPrintscape its cool, it starts automaticaly, but i cant find a work around to get the webcam steam working.
      have you done a recent install with whats available today?

    • @3DPrintscape
      @3DPrintscape  2 ปีที่แล้ว

      @@PurpleGPZ I havent tested this since march, but it was working then.

  • @JoshGrubman
    @JoshGrubman ปีที่แล้ว

    I cannot get the webcam to auto-restart after a system reboot. I can get it working again via ssh by launching this command from the proper directory:
    ./mjpg_streamer -i "input_uvc.so -d /dev/video0 -r 1920x1080" -o "output_http.so" &
    Any idea how to get this to auto-restart without going into ssh each time I reboot?

    • @3DPrintscape
      @3DPrintscape  ปีที่แล้ว

      Hi. It sounds like something wasnt setup right with the daemon but if it works with that command you could always setup a cron job to auto run it.

  • @centurywestengineering985
    @centurywestengineering985 ปีที่แล้ว

    THANK YOU!! This was fantastic! I ran into a few things (mostly from me mucking around with everything). One thing though was I had to set the URL for the webcam to :8080/?action=stream
    Other than that though I cannot thank you enough for this wonderful tutorial!

    • @3DPrintscape
      @3DPrintscape  ปีที่แล้ว

      Hi. Thanks for the feedback and sharing your findings.