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

Error: ENOENT: no such file or directory, rename gossip.json~ -> gossip.json #745

Open
hjacobs opened this issue Dec 11, 2020 · 2 comments

Comments

@hjacobs
Copy link

hjacobs commented Dec 11, 2020

I’m trying to set up a local pub server with Docker by following the blog post Setting up SSB-Pub Server. It all works and I could generate and redeem an invite, but the ssb-server process periodically is down (restarting) and I see the following error in the logs:

ssb-server 15.3.0 /root/.ssb logging.level:notice
... 
{ [Error: ENOENT: no such file or directory, rename '/root/.ssb/gossip.json~' -> '/root/.ssb/gossip.json']
  errno: -2,
  code: 'ENOENT',
  syscall: 'rename',
  path: '/root/.ssb/gossip.json~',
  dest: '/root/.ssb/gossip.json' }

Can someone help me with this gossip.json~ error and what it means? gossip.json exists btw, but not gossip.json~.
It looks like the same error as #597 (but #597 has no resolution?).

So while I haven’t found the reason for this ENOENT error, ssb-server generally works fine. Maybe it’s some race condition? If this is expected behavior for atomic file operations, it should at least not log an ERROR I guess?

@staltz
Copy link
Member

staltz commented Dec 11, 2020

@stale
Copy link

stale bot commented Jun 2, 2021

Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?

@stale stale bot added the stale label Jun 2, 2021
@staltz staltz removed the stale label Jun 2, 2021
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

2 participants