ipfs / ipfs/kubo

Slightly confusing/crowded error message when running daemon without init

Open
#5,903 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
17.1k
Forks
3.2k
Avg merge
3d 18h
Merged PRs (30d)
11

Description

On a brand new machine I ran `ipfs daemon` and got:

```
why@why-MS-7B46 ~/g/s/g/i/go-ipfs> ipfs daemon
Initializing daemon...
go-ipfs version: 0.4.19-dev-a142aecf9
Repo version: 7
System version: amd64/linux
Golang version: go1.11.2
Successfully raised file descriptor limit to 2048.
Error: no IPFS repo found in /home/why/.ipfs.
please run: 'ipfs init'
Received interrupt signal, shutting down...
(Hit ctrl-c again to force-shutdown the daemon.)
```

Thats a lot of extra information, and the bit telling me what I need to know is a bit hidden. I would expect showing much less to be less confusing, liike:
```
Initializing daemon...
Error: no IPFS repo found in /home/why/.ipfs.
please run: 'ipfs init'
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.