1. Got a question or need help troubleshooting? Post to the troubleshooting forum or Search the forums!

Locked In Print

Discussion in 'Troubleshooting' started by LordPeq, May 31, 2022.

  1. LordPeq

    LordPeq Member

    Joined:
    Nov 21, 2021
    Messages:
    64
    Likes Received:
    9
    So I am thinking either my SD card is corrupted...again, or my Raspberry Pi took a dump.

    I cannot log into my printer via octoprint, the onscreen menu is locked up and I cannot putty into it.... no connectivity.

    There is a print in progress and it seems to me going ok, but I think once it is done printing, this thing will stroke out.

    I am thinking I will replace the memory card and flash a fresh image onto a new card.

    Any thoughts or suggestions?
     
  2. mark tomlinson

    mark tomlinson ༼ つ ◕_ ◕ ༽つ
    Staff Member

    Joined:
    Feb 21, 2013
    Messages:
    23,912
    Likes Received:
    7,338
    That sounds like a plan :)

    I keep a preburned image for the printers so swapping it in is failry easy.
    It may work with just a reboot when done, but if you want to eliminate the OS as a problem that will work.
     
  3. LordPeq

    LordPeq Member

    Joined:
    Nov 21, 2021
    Messages:
    64
    Likes Received:
    9
    It was actually fine with a reboot, but since the card crapped out once, I am swapping the 8GB card for a 32GB and reflashing it
     
  4. mark tomlinson

    mark tomlinson ༼ つ ◕_ ◕ ༽つ
    Staff Member

    Joined:
    Feb 21, 2013
    Messages:
    23,912
    Likes Received:
    7,338
  5. LordPeq

    LordPeq Member

    Joined:
    Nov 21, 2021
    Messages:
    64
    Likes Received:
    9
    It is still functioning but now, every time my computer goes to sleep, I cannot reconnect to Octoprint... Sometimes after a few minutes I am able to reconnect or after like an hour of waiting. I am wondering if this indicative of the Pi failing???
     
  6. mark tomlinson

    mark tomlinson ༼ つ ◕_ ◕ ༽つ
    Staff Member

    Joined:
    Feb 21, 2013
    Messages:
    23,912
    Likes Received:
    7,338
    Hmm, I would suggest using SSH (download putty for free and use that if you don't have another terminal you prefer) to connect into the Pi and then if it reboots you will know it.
     
  7. LordPeq

    LordPeq Member

    Joined:
    Nov 21, 2021
    Messages:
    64
    Likes Received:
    9
    SSH connection is refused
     
  8. mark tomlinson

    mark tomlinson ༼ つ ◕_ ◕ ༽つ
    Staff Member

    Joined:
    Feb 21, 2013
    Messages:
    23,912
    Likes Received:
    7,338
    Yea, enable it via octoprint first,

    How do I enable SSH OctoPrint?

    Getting Started
    1. Open the Settings in Octoprint (Wrench Icon)
    2. Open the MakerGear Setup menu.
    3. Check the box next to "Advanced Options"
    4. Open the "SSH Access" Tab.
    5. Click the "Turn SSH On" button.
    6. A pop-up will tell you that SSH is enabled.
     
  9. mark tomlinson

    mark tomlinson ༼ つ ◕_ ◕ ༽つ
    Staff Member

    Joined:
    Feb 21, 2013
    Messages:
    23,912
    Likes Received:
    7,338
    Plus when you get SSH working you can play 'hacker man' :)
    You can also turn on VNC and use a VNC client on another PC to use for the display (this is exclusively how I access all of mine)

    Once you get SSH working:

    Enabling VNC Server
    1. Open a terminal on your Raspberry Pi or use the PiTunnel Remote Terminal.
    2. Enter the command sudo raspi-config.
    3. Use the arrow keys to select Interfacing Options and press Enter.
    4. Use the arrow keys to select VNC and press Enter.
    5. You will be prompted to enable VNC Server.
     
  10. LordPeq

    LordPeq Member

    Joined:
    Nov 21, 2021
    Messages:
    64
    Likes Received:
    9
    My menu looks nothing like that... I have enabled SSH before but that was prior to the reflash
     
  11. mark tomlinson

    mark tomlinson ༼ つ ◕_ ◕ ༽つ
    Staff Member

    Joined:
    Feb 21, 2013
    Messages:
    23,912
    Likes Received:
    7,338
    try settings -> access control

    sshJPG.JPG
     
  12. LordPeq

    LordPeq Member

    Joined:
    Nov 21, 2021
    Messages:
    64
    Likes Received:
    9
    Yeah that doesn’t exist in my version of octoprint
     
  13. mark tomlinson

    mark tomlinson ༼ つ ◕_ ◕ ༽つ
    Staff Member

    Joined:
    Feb 21, 2013
    Messages:
    23,912
    Likes Received:
    7,338
    Odd because that is the Robo version :)
    Unless you updated from a really old one or a non-Robo version it should look like that.
     
  14. LordPeq

    LordPeq Member

    Joined:
    Nov 21, 2021
    Messages:
    64
    Likes Received:
    9
    Alright I just reflashed to your generic R2 image and am running 1.1.7 firmware....

    SSH was enabled by default so I expanded the file system, now to enable VNC server
     
    mark tomlinson likes this.
  15. mark tomlinson

    mark tomlinson ༼ つ ◕_ ◕ ༽つ
    Staff Member

    Joined:
    Feb 21, 2013
    Messages:
    23,912
    Likes Received:
    7,338
    The only reason NOT to update to the latest version of OctoPi is that the LCD menu software on the Pi that Robo built will cease to work if you do that. Their code (Robo) is in Perl and uses plugins that are deprecated in newer versions. There are alternastive LCD menus you can use if you wan to build a custom assembly of OctoPi. Use a different SD card and you can swap the card to swap the operating system and OctoPi -- swap back to roll back :)
     
  16. LordPeq

    LordPeq Member

    Joined:
    Nov 21, 2021
    Messages:
    64
    Likes Received:
    9
    What is super strange now is after reflashing with the generic R2 image and ensuring correct firmware, there's some goofy stuff.

    The z offset wizard just hangs there and will rasie the bed, move the print head and then not advance to the next step...

    Additionally, I had to IP scan my network to find the printer because the wifi information displayed on the printer just says "Wi-Fi" in each category...

    Is this image just bad or can I fix this? I haven't busted out python scripts in a long time, but I guess its just like riding a bike :)
     
  17. mark tomlinson

    mark tomlinson ༼ つ ◕_ ◕ ༽つ
    Staff Member

    Joined:
    Feb 21, 2013
    Messages:
    23,912
    Likes Received:
    7,338
    Exactly which image did you use?
    The Z offset wizard was broken in one of the last releases Robo did and generally my suggestion is not to use it.
    I though there was a comment about this in the R2 FAQ (I haven't looked at it in a while)
     
  18. LordPeq

    LordPeq Member

    Joined:
    Nov 21, 2021
    Messages:
    64
    Likes Received:
    9
    It was labeled R2 Generic Image... I tried to upload it here as well... I renamed the hostname of course, but its original name was just that.
     
  19. mark tomlinson

    mark tomlinson ༼ つ ◕_ ◕ ༽つ
    Staff Member

    Joined:
    Feb 21, 2013
    Messages:
    23,912
    Likes Received:
    7,338
  20. LordPeq

    LordPeq Member

    Joined:
    Nov 21, 2021
    Messages:
    64
    Likes Received:
    9
    What is this? I love a good experiment but would love to know what I am getting into haha
     

Share This Page