ssbc / ssb-server

The gossip and replication server for Secure Scuttlebutt - a distributed social network
1.69k stars 164 forks source link

CLI gets stuck at `ssb-friends` #715

Closed nichoth closed 4 years ago

nichoth commented 4 years ago
.ssb-foo nick$ ssb_appname="ssb-foo" ssb-server start
ssb-server 15.2.0 /Users/nick/.ssb-foo logging.level:notice
my key ID: cldncCeFL3QN1XtRT3E/ZtBpW+FQJ5s+IqTiJFrbRGs=.ed25519
ssb-friends: stream legacy api used
************************************************** ()

This is when starting sbot as a cli command. It gets stuck at that point. Followed the instructions here thus far (general info about setting up a test network)

D3191 commented 4 years ago

This is normal, all you need to do is run ssb-server from a detachable session like screens or tmux.

I use screens personally, its really easy all you do is:

1.sudo apt install screen

  1. screen

  2. run your command to start ssb-server

  3. then press Ctrl a + d to detach the session.

and your done.

nichoth commented 4 years ago

hmm that's interesting. I haven't done this yet because I'm on mac & it looks like the instructions are for linux. i wonder what difference it makes using a program like those

nichoth commented 4 years ago

I see now, it looks like the text output from ssb-server start just stops at an awkward place. If you try an sbot command in a separate terminal it does work.