Octoprint Plugin Loosing Astroprint Key

Hello, I have a pi3b running OctoPrint: 1.3.10 and the AstroPrint: 1.2.2 plug in. Each time I start the pi and the octo print server boots up, it does not have the key in the astroprint plug in. If I paste it in, all works ok, until the next time I start it and the key field is blank again. Is there anyway to make the plugins save the key permanently?



Yes, that’s the way it’s supposed to work but in some installation this happens. There’s a popular open issues for this: https://github.com/AstroPrint/OctoPrint-AstroPrint/issues/19

Nonetheless only a few of the users experience this. We still don’t know why some installations do this and other don’t. Some people have reported that giving more write permissions to the astroprint.db file fixes this.