sightingdb icon indicating copy to clipboard operation
sightingdb copied to clipboard

Database file not written to disk

Open cudeso opened this issue 4 years ago • 3 comments

Hi,

When sightingsdb is started it doesn't seem to create / write the database file. I can write / read sightings and this works well, but no db is created. Used db_path and dbdir , but no success.

How can I write the database file to disk? Use: run Sightingsdb from Docker and expose the database via Docker volume.

kr,

koen

cudeso avatar Jun 23 '20 21:06 cudeso

set_db_path does not seem to be called from anywhere. https://github.com/stricaud/sightingdb/blob/master/src/db.rs#L36

cudeso avatar Jun 23 '20 21:06 cudeso

I have the same issue. Without it writing anywhere what is the purpose?

syloktools avatar Jul 10 '20 17:07 syloktools

Try to look to different branch store_to_disk ,it's not working for me, but at least it trying to write to disc, in code ...

TasyDevilsky avatar Feb 12 '21 11:02 TasyDevilsky