Server on RaspPi stops working/becomes corrupt after a few weeks.

I have been using Repetier-Server on a Raspberry pi for a few years now. Over the past year I have been having an issue with the install on Raspberry Pi 3B becoming corrupt. I have just been dealing with it, reinstalling and setting up Repetier-Server again from scratch when it happens. I Thought it might have been just an issue with my Raspberry Pi / SD Card. Earlier this year I got a couple new Raspberry Pi 3's and new 32GB sd cards. Have tried them in different configurations and they still seem to fail after a couple weeks.

What Happens:
-Server works fine for about 2-3 weeks.
-Server starts having issues staying operational. Get an error on raspberry pi screen saying "Oops I seem to have lost connection, trying to resolve issue now" (or something along those lines)
-Rebooting the pi fixes that issue.
-After rebooting the pi to fix the disconnet/crash/'Oops' issue several times, the raspberry pi will no longer boot into Repetier server, and will just sit at a terminal login screen.

Any suggestions?
Any way to quickly repair an install of repetier-server through terminal, or do I have to always just flash a new image?
Any way to find crash logs on my pi to provide better information?
Should I just give up on Raspberry Pi and get a computer running windows specifically for my printers?

Thank you!

Comments

  • Always shutdown pi before unpowering so you get no corrupt sd card. Also check power supply as described here:
    https://www.repetier-server.com/knowledgebase/undervoltage-and-throtteling-of-pi/
    it is often source or problems like wifi disconnect and other problems. It can also depend on sd cards. Had some where it degraded fast but most sd cards last years for me.
  • I shall get a new power supply ordered with a proper 3A. The ones I have are the Cana Kit 2.5A 5V's.

    Issue with shutting it down is when the error happens, there is no access to be able to properly shut it off. Unable to connect since it drops from Wifi, and the touch screen just shows the "Oops" message. So unplugging and plugging back in has been the only option. I will see how the power supply and masking those pins go.

    Thank you.
  • Did you query linux with the command to check if you have power issues? Best after a while - does not always happen directly. But hope new supply works better.
  • edited May 22
    I've had the same issue with the SD cards (various types) having issues after a few months, using 5.2V 3A supply and headless server (no display). Hard wired to ethernet. I've always used the "shut down" to power it off.

    There should be an easy way to restore all the settings than having to copy files back to the SD card. I.e. backup/restore complete settings. I.e. projects, settings and complete history should be able to be simply backed up and restored. In addition when I have duplicate printers connected, when I create a new printer, the options should be create from scratch, restore from backup, or duplicate from existing. Or maybe some of that is there but I'd missed it.

    Lastly, what about if I wanted to simply boot from the SD card then run from an attached PiDrive or attached USB drive (not a flash drive but SSD). Is that possible to do? I'm thinking anything has too be more reliable than these microSD cards.

    Mel
    ---
  • If you have the pro version you can use Repetier-Server Monitor to selectively backup the data stored in repetier-server.

    You can also use a simple link to point /var/lib/Repetier-Server to an other driver as long as it is mounted when server starts. That way all data goes to that external drive. Have tested this with an usb drive and it worked.
Sign In or Register to comment.