500 Internal Server Error

Out of the blue, I've started experience "500 Internal Server Error" when accessing the WebUI. Everything worked perfectly fine when I was last printing about a week or so ago (and always has been) but since last night I've been having trouble accessing my RPI. I've tried doing the typical hard reset on the RPI (powered separately by wall outlet), my printer, my network, PC, etc to no avail. I've also tried using my phone and different browsers but I still get the error. When this happens I can't SSH into the Pi either. However, it does work when I do a power cycle, and I can start a print, etc but it seems like it times out after a bit (haven't looked into the specific amount of time before the error occurs). I'm a complete noob when it comes to this so I'm not sure if it's something I can fix without reimaging the RPI. Last night I upgraded to the new crowsnest without an issue, and pulled backups in case I have to reimage the SD card. @miklschmidt @blacksmithforlife
No description
14 Replies
miklschmidt
miklschmidt2y ago
Probably broken filesystem or even sd card. Make sure to power down your pi from the webinterface before pulling power.
R34Pr
R34PrOP2y ago
thanks very much for the reply sir!
miklschmidt
miklschmidt2y ago
In your case my guess is the sd card may have started going into read only mode. Which happens when the sectors die
R34Pr
R34PrOP2y ago
thanks! any recommendations on min spec for SD
miklschmidt
miklschmidt2y ago
My go to is Sandisk Extreme Pro Haven't killed one yet
ptegler
ptegler2y ago
I'm gambling the WFI module simply died. Try a wired Ethernet just as a quick test. btdt...my Beehives loose their wifi (RPi 3s) ckts every other year or so. I then have to disable RPi hardware wifi and add a usb wifi adapter or just replace the Pi completely
R34Pr
R34PrOP2y ago
thank you very much for this as well! i will test this out shortly! @miklschmidt as far as reimaging the sd card does this sound right? pull config backups (crowsnest, mainsail, moonraker, printercfg,) format new sd card Download latest RatOS from Github Write RatOS Image Run thru http://ratos.local/configure?step=1 update all system components drop backup files back into their respective places?
blacksmithforlife
what have you editied in the mainsail and moonraker configs?
R34Pr
R34PrOP2y ago
i dont think a single thing
blacksmithforlife
then no need to restore them, you will probably just cause issues
R34Pr
R34PrOP2y ago
shouldve preferenced that i wouldve pulled the items as backups but only drop the printer.cfg (+ crowsnest)
miklschmidt
miklschmidt2y ago
Yes except instead of overwriting printer.cfg i would fill in the new one with the old values, that way you get any potential changes made to the template.
R34Pr
R34PrOP2y ago
beautiful, thank you sir i keep forgetting to upgrade the configurator before i flash the board because the SKR 3 EZ H723 doesnt show up until afterwards but im back up and running. thanks gentleman @miklschmidt @blacksmithforlife @ptegler (btw if i run into any connecting issues ill be sure to have an ethernet handy to rule out the wifi module) wait, does crowsnest still need to be updated again? @miklschmidt
miklschmidt
miklschmidt2y ago
It's RatOS that needs to be updated, that's where those configs live. The configurator reads from the configuration repo. yes unless you use 2.0.2 which is in prerelease. Totally forgot about that, need to get that out.
Want results from more Discord servers?
Add your server