#Can't save print history, button does nothing

37 messages Β· Page 1 of 1 (latest)

crisp marten
#

I want to save my print history, but when I click the button it does nothing. Is there an other way to save the csv file?

vast dust
#

So you are clicking on that export history button but it doesn't start a download?

#

If so, open the developer tools (e.g. F12 in Chrome) and navigate to the console. Then hit it again and see if an error appears

winged apex
#

this export function is not a backup function. if you want to import it into another installion you need to create a backup

crisp marten
winged apex
#

create a backup of youre moonraker database. unfortunatly moonrake doesn't offer a way to restore the history. thats why we need to go the extra step:

crisp marten
winged apex
#

if you keep the same plattform you just need a copy of your printer_data folder. if you move from 32bit OS to 64bit or any other changes you need to create the backup with moonraker first.

crisp marten
#

well my old one I'm not sure if it is 32bit or not. The new one is for sure. How can I check?

vast dust
#

Open ssh and run getconf LONG_BIT. This will either output 32 or 64 depending on the version you used

winged apex
#

if i got you right you have a second sd card? one fresh install and the old one?

#

then you can just copy the old moonraker database and give it a try.

vast dust
#

That command I sent ofc only works if it's up and running ^^

crisp marten
winged apex
#

just another thing... printer_data contains everything including your configs. to replace an moonraker.conf with an old one, most of the time breaks it. so just move the database and move over the settings you need.

crisp marten
#

sorry, @winged apex where is the database stored exactly?

crisp marten
#

@vast dust do you know maybe?

vast dust
#

Tbh I'm not sure, but most likely yes. This seems like a pretty old installation ^^

#

So the data.mdb should be the database

#

But you might want to copy both

crisp marten
crisp marten
vast dust
#

BEcause it's moved to ~/printer_data/database

crisp marten
#

ookay, i ran a search with winscp and found it πŸ™‚

vast dust
#
mryel@raspberrypi:~ $ ls printer_data/database/
data.mdb  lock.mdb
crisp marten
#

transferred succesfully, I think I'm ready to go with my new instance, thank you for your help @vast dust @winged apex

vast dust
#

You sure that was the new one? That looked like the old one that was linked there

crisp marten
#

@vast dust I have another topic, I would like to setup my camera as camera_streamer in crowsnest, but it just goes grey... I changed the URL stream according to the docs and changed service to WebRTC

#

as mjpeg it works

vast dust
#

I will get to the stuff as soon as I get time for it