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

brig init fails to init ipfs #114

Open
tennox opened this issue Jan 20, 2022 · 1 comment
Open

brig init fails to init ipfs #114

tennox opened this issue Jan 20, 2022 · 1 comment

Comments

@tennox
Copy link

tennox commented Jan 20, 2022

What did you do?

  1. Install brig (via your script)
  2. brig init [email protected] -w "pass brig/foo"

What did you see?

-- Guessed folder for init: /home/manu/.brig
-- Guessed IPFS repository as /home/manu/.ipfs
-- There is no »ipfs« command available.
-- Trying to figure out what IPFS version to install...
-- Last stable IPFS version is: v0.11.0
-- Downloading... 28 MB
-- Unpacking to: /tmp/ipfs-tmp-download-418194681
-- Copy binary to: /home/manu/ipfs
-- Creating new IPFS repository.
20.01.2022/00:34:37 ⚡ cmd/parser.go:543: does the IPFS repository exist? full error: open /home/manu/.ipfs/config: no such file or directory

reproduction

in docker run --rm -it ubuntu run this:

curl -s https://raw.githubusercontent.com/sahib/brig/master/scripts/install.sh | bash
apt update
apt install curl
bash <(curl -s https://raw.githubusercontent.com/sahib/brig/master/scripts/install.sh)
cp ./brig /usr/local/bin
brig init text -w 'echo test'

Do you still see this issue with a development binary?

tried - but neither compile instructions work (no makefile, no mage.go)

Did you check if a similar bug report was already opened?

yes

System details:

go version: uname -s -v -m: ``Linux #67-Ubuntu SMP Tue Jan 5 18:31:36 UTC 2021 x86_64`` IPFS config:

brig client version: v0.4.1+68f8766 [build: 2019-03-31T00:10:39+01:00]

@tennox
Copy link
Author

tennox commented Jan 20, 2022

Workaround: sudo mv ./ipfs /usr/local/bin/ && ipfs init

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

1 participant