Kodylow / fedimint-http

MIT License
11 stars 14 forks source link

Cargo Run is not Working #14

Open juliswer opened 8 months ago

juliswer commented 8 months ago

I cloned the repo and tried to run it locally with Cargo Run, I had an error: Error: Failed to create RocksDB directory: Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" }.

Finally, it was related to a wrong value on the FM_DB_PATH on the .env.

I suggest to put a "Create DB Folder" at the beginning of the README.md, or maybe handle the wrong value on an environment value.

Kodylow commented 8 months ago

what value did your have FM_DB_PATH set to that threw the error?

juliswer commented 8 months ago

i used the default on the example.env: /absolute/path/to/fm_db_dir 😬 i forgot to update it. mybad

Kodylow commented 8 months ago

all good, will see about making a better error message there