jkrek17 / Ergo

ergo node setup files
2 stars 1 forks source link

Recommend default .ergo for the data directory location #1

Open ccgarant opened 3 weeks ago

ccgarant commented 3 weeks ago

I ran into an issue, and seems to be the common practice, the make the database default directory .ergo in the .env setup, full path /home/.ergo. Would recommend having the user change it in the .env file if they desire (maybe indicate with a comment).

Ref: https://github.com/ccgarant/ergo-full-node-raspi/blob/bc58edbf225c17969c1530f9b3321cbb3e25ed7d/02-python-script-automated/ergo_node_setup.py#L405

ccgarant commented 3 weeks ago

I noticed upon inspecting live logs, there was no error, but the node wasn't working. I had to manually make the /home/.ergo directory. Once I did, down, up -d --build, node started working. If we use .ergo, might need sudo? Not sure why it didn't make it. Or maybe a path mix up?