M. Dilger on Nostr: It should be working. It gets the env variable and makes that a subdirectory of your ...
It should be working. It gets the env variable and makes that a subdirectory of your gossip dir. Then it starts a new database in the subdirectory.
There are a few cases it might print an error (watch for errors at startup) like "cache" (reserved) or anything with a "/" in it or otherwise is not a simple directory name.
Make sure the env variable is getting passed to the gossip process either by exporting it from your shell (e.g. export GOSSIP_DIR=blah) or typing it on the same command line as gossip (e.g. GOSSIP_DIR=blah ./target/release/gossip)
Published at
2024-10-06 00:52:06Event JSON
{
"id": "0000590b072cb6002e9651431312dde13c7500319f8a43f7e961cd15991220f3",
"pubkey": "ee11a5dff40c19a555f41fe42b48f00e618c91225622ae37b6c2bb67b76c4e49",
"created_at": 1728175926,
"kind": 1,
"tags": [
[
"p",
"2cbc2ba5724ca790d4ddf08d7cb218bd80d6676510d5a682bb25f9a6e9418a01"
],
[
"e",
"f605c9657816ae0851b02daf425e9bebdad2bd473befc1b461e6621b147abda1",
"wss://chorus.mikedilger.com:444/",
"root"
],
[
"e",
"4abe7f721d40a3e51a4511ed7932e18831761435aaa59b2de978e92de3468bb6",
"wss://nostr.bitcoiner.social/",
"reply"
],
[
"nonce",
"16140901064495860140",
"16"
]
],
"content": "It should be working. It gets the env variable and makes that a subdirectory of your gossip dir. Then it starts a new database in the subdirectory.\n\nThere are a few cases it might print an error (watch for errors at startup) like \"cache\" (reserved) or anything with a \"/\" in it or otherwise is not a simple directory name.\n\nMake sure the env variable is getting passed to the gossip process either by exporting it from your shell (e.g. export GOSSIP_DIR=blah) or typing it on the same command line as gossip (e.g. GOSSIP_DIR=blah ./target/release/gossip)",
"sig": "19f7a6bf4a68cba022b29286b834d936f2395b1609f181f6add32a23a4cbe7b40675a1cc291b32cb29243c52fafe3b52931913c535647f0cfe21b26eb97bb8ab"
}