OctoPrint-PrintHistory icon indicating copy to clipboard operation
OctoPrint-PrintHistory copied to clipboard

Ability to delete all History Data

Open geodave810 opened this issue 8 years ago • 2 comments

I was wondering if it is possible to add a feature to delete all history data rather than deleting one item at a time. Now that it is the beginning of a new year, I would like to be able to delete all the history after exporting the data from last year. Maybe an option in the export dialog to delete the history after exporting would be a good place for this.

geodave810 avatar Jan 04 '18 16:01 geodave810

I was able to fix this easy enough by: Uninstalling the PrintHistory Deleting: /home/pi/.octoprint/data/printhistory/history.db Reinstalling the PrintHistory

While I was moving the location pointers of octoprint folders to a USBDRV, I made a symbolic link for the history.db & moved that to the USBDRV also. That seems to be working ok.

geodave810 avatar Jan 28 '18 16:01 geodave810

An actual option to purge the database without having to SSH into the machine would still be appreciated and shouldn't be that hard to implement.

FoxySophie avatar Dec 03 '18 08:12 FoxySophie