Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Database file not written to disk #4

Open
cudeso opened this issue Jun 23, 2020 · 3 comments
Open

Database file not written to disk #4

cudeso opened this issue Jun 23, 2020 · 3 comments

Comments

@cudeso
Copy link

cudeso commented Jun 23, 2020

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
Copy link
Author

cudeso commented Jun 23, 2020

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

@syloktools
Copy link

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

@TasyDevilsky
Copy link

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 ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants