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

Missing information when install fails #170

Open
DavidBurela opened this issue Dec 17, 2022 · 2 comments
Open

Missing information when install fails #170

DavidBurela opened this issue Dec 17, 2022 · 2 comments

Comments

@DavidBurela
Copy link

DavidBurela commented Dec 17, 2022

Version information:

$ ipfs-update --version
ipfs-update version v1.9.0

Description:

Searching for information brought me to this repo which says you need go later than 1.12.
So I used sudo apt install golang which installs go version go1.18.1 linux/amd64
But running ipfs-update still results in the same error.

Suggestion:

Instead of "could not find a good install location", feedback is needed on what is missing.
Is Go missing? is there a path missing? etc. What should be done to resolve this.

Command Output:

The error is the same with or without golang installed.

$ ipfs-update --version
ipfs-update version v1.9.0
$ go version
go version go1.18.1 linux/amd64
$ ipfs-update install latest --verbose
Error fetching: open /home/dave/.ipfs/api: no such file or directory
Fetching with HTTP: "https://ipfs.io/ipns/dist.ipfs.tech/go-ipfs/versions"
fetching go-ipfs version v0.17.0
Error fetching: open /home/dave/.ipfs/api: no such file or directory
Fetching with HTTP: "https://ipfs.io/ipns/dist.ipfs.tech/go-ipfs/v0.17.0/go-ipfs_v0.17.0_linux-amd64.tar.gz"
binary downloaded, verifying...
success! tests all passed.
checking user install locations
install failed, reverting changes...
ERROR: install failed: could not find good install location
@welcome
Copy link

welcome bot commented Dec 17, 2022

Thank you for submitting your first issue to this repository! A maintainer will be here shortly to triage and review.
In the meantime, please double-check that you have provided all the necessary information to make this process easy! Any information that can help save additional round trips is useful! We currently aim to give initial feedback within two business days. If this does not happen, feel free to leave a comment.
Please keep an eye on how this issue will be labeled, as labels give an overview of priorities, assignments and additional actions requested by the maintainers:

  • "Priority" labels will show how urgent this is for the team.
  • "Status" labels will show if this is ready to be worked on, blocked, or in progress.
  • "Need" labels will indicate if additional input or analysis is required.

Finally, remember to use https://discuss.ipfs.io if you just need general support.

@DavidBurela
Copy link
Author

I found the cause of the issue. This will cause it to install fine sudo ipfs-update --version

There error message needs to be clearer that it failed due to a lack of using sudo

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