ha-plant-tracker icon indicating copy to clipboard operation
ha-plant-tracker copied to clipboard

Cant Write/Load to/from DB

Open Daniel123soos opened this issue 2 years ago • 3 comments

Hello, i hope you can help me with my Problem i got everything installed and running. Until i restarted my HASS.io Instance because it couldnt load from the db (reset all timers)at this point i figured out its not saving either i installed everything according to the Guide. Is there maybe something i missed? Some Permission?

Greetings Daniel :D

Daniel123soos avatar May 25 '22 13:05 Daniel123soos

Hello Daniel, Sorry about my late reply. Did you figure this out? I hope I can help. How are you running Home assistant? On the Home Assistant Operating System. And on what hardware (this shouldn't really matter)?

mountwebs avatar May 30 '22 16:05 mountwebs

Hello sorry for my late Answer(im not using Github regulary i installed it on my Smartphone now so i can answer you more quickly :D), im running Home Assistant Operating System with all the latest Updates. I don´t know how to debug the issue myself so i will try to provide you with every Information you need. I think the main Issue is that nothing is saved in the plants.db file it is just empty with {} as the Content. So every Time Home Assistant restarts it writes the current Date to the Plants and doesnt load the actual Date i last watered.

These are my Configurations/Logs: AppDaemonlog.txt apps.txt

Thank you already for trying to help me i think your Project is Awesome and im looking forward to using it.

Daniel123soos avatar Jun 21 '22 12:06 Daniel123soos

I also tried tinkering a little bit with Permissions and changed the Owner of the DB file to daemon i will let you know tomorrow if this fixed it

Daniel123soos avatar Jun 21 '22 12:06 Daniel123soos