#cannot connect to moonraker after power loss.

32 messages · Page 1 of 1 (latest)

dawn furnace
#

Power to my printer accidentally got unplugged, after turning it back on i get cannot connect to moonraker on screen. Able to SSH into the pi

#

Tried Reinstalling moonraker.

plain pine
#

what do you see if you try to connect your web browser to the printer on port 7125? (http://mainsailos.local:7125), replace "mainsailos.local" with whatever is appropriate for your printer

dawn furnace
plain pine
#

is there more?

#

I feel like there should be more 😛

#

but that's definitely your problem right there

dawn furnace
#

Nope thats all it gave me

plain pine
#

okay, try journalctl -u moonraker -r

dawn furnace
#

how do i paste a code box again?

#

is it quotations

plain pine
#

back ticks

spiral gorgeBOT
#

When posting configs or logs, please surround with code fences (```) so that Discord formats them correctly. Example:
```ini
[mcu]
serial: /dev/serial/by-id/usb-klipper-12345-if00
```

[mcu]
serial: /dev/serial/by-id/usb-klipper-12345-if00
dawn furnace
plain pine
#

build/lib/mdb.c:5940: Assertion 'IS_LEAF(mp)' failed in mdb_cursor_next()

#

never seen that before, but I'm going to go out on a limb and say the moonraker database (mostly history and stuff) is corrupted

dawn furnace
#

whats the next step for something like this?

plain pine
#

by far the simplest is going to be to just delete the database, and let it generate a new one

dawn furnace
#

how

plain pine
#

rm ~/printer_data/database/*.mdb should do the trick

dawn furnace
#

i pasted it and it really didnt do anything

#

just sitting there

plain pine
#

it gave you another cursor, right?

dawn furnace
#

yup

plain pine
#

another prompt, I mean

#

okay then

#

now restart moonraker

#

sudo systemctl restart moonraker

dawn furnace
#

alrighty did that

#

printer restarted

#

problem solved