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

Keep getting error after update to 0.3.3 #1213

Closed
Gozala opened this issue May 9, 2015 · 12 comments
Closed

Keep getting error after update to 0.3.3 #1213

Gozala opened this issue May 9, 2015 · 12 comments
Labels
kind/bug A bug in existing code (including security flaws) topic/daemon + init topic/files Topic files topic/ipns Topic ipns

Comments

@Gozala
Copy link

Gozala commented May 9, 2015

Received interrupt signal, shutting down...
Publishing!
17:39:32.927 ERROR     ipnsfs: leveldb: closed system.go:83
@Gozala
Copy link
Author

Gozala commented May 9, 2015

Ok I noticed following in my config:

"Datastore": {
    "Type": "leveldb",
    "Path": "/Users/gozala/.go-ipfs/datastore"
  },

And there is no .go-ipfs directory on my machine instead there is .ipfs which is probably why I get that error. Not sure if that was a migration that screw up a config or what but I think this is a reason I wind up with broken ipfs.

@Gozala
Copy link
Author

Gozala commented May 9, 2015

Ok it looks like wrong path was not an issue, as fixing a config does not changed anything.

@whyrusleeping
Copy link
Member

Hrm, this appears to be a leftover from a time when our datastores were actually configuruable [insert whyrusleeping's grumblings about the fsrepo here].

We should revert to respecting this.

@whyrusleeping whyrusleeping added kind/bug A bug in existing code (including security flaws) topic/daemon + init labels May 9, 2015
@Gozala
Copy link
Author

Gozala commented May 9, 2015

@whyrusleeping in fact I have completely removed .ipfs & inited it from scratch but I still seem to get same error. In fact very few things work after update to [email protected] could be that this issue somehow related to #1214

@whyrusleeping
Copy link
Member

oh, the error log you are seeing isnt actually a problem, its just a reminder for us to fix the daemon shutdown code.

@jbenet
Copy link
Member

jbenet commented May 9, 2015

@Gozala thanks for bringing this up. as @whyrusleeping mentions, this is a confluence of a few things. I think the main problem you're seeing is the resolver problem #1212 addressed -- which definitely would break many things. (Sorry about the confusion-- the tests and I both missed the bug when we merged it in yesterday.)


17:39:32.927 ERROR     ipnsfs: leveldb: closed system.go:83

@whyrusleeping maybe we should silence this error, because it's not an error users are concerned with (i.e. it's debugging mostly), and it just confuses people atm.


Ok it looks like wrong path was not an issue, as fixing a config does not changed anything.

Yeah, this brings up another cleanup bug: we should remove those keys from the config as they're not used anymore the way they used to be. (we should definitely remove Datastore.Path and maybe Datastore.Type too, as leveldb/flatfs mix is not optional at the moment.

Or maybe keep Datastore.Type until we figure out how we'll distinguish storage once the s3 datastore (and possible full s3 repo) come around. (cc @tv42)


@whyrusleeping we should either make

Publishing!

more useful to the user, or remove it. if keeping, maybe something like:

auto-publishing mounted /ipns/<name> to /ipfs/<path>

Summary:

@jbenet
Copy link
Member

jbenet commented May 9, 2015

thanks for bringing this up @Gozala ! sorry for confusing error cases atm. this managed to hit lots of misleading red herrings. :/

@Gozala
Copy link
Author

Gozala commented May 11, 2015

@jbenet sure np, yeah no worries I think combination of this errors and webui not working just made it hard to guess what's going on ;)

@jbenet
Copy link
Member

jbenet commented May 11, 2015

@Gozala was the error you were seeing fixed?

Update: ah, just saw: #1214 (comment) no worries.

@Gozala
Copy link
Author

Gozala commented May 11, 2015

Jus tried version from master, still seem to not work for me (posted output of errors I the other thread)
#1214 (comment)

@daviddias
Copy link
Member

IPNS and files (old ipnsfs or mfs) had a lot of improvements in the last months, specially in the close to be released 0.4.0 (check dev0.4.0 branch). @Gozala would you mind testing it again and see if the error persists?

@daviddias daviddias added topic/ipns Topic ipns topic/files Topic files labels Jan 2, 2016
@whyrusleeping
Copy link
Member

I beleive this has since been resolved (or is no longer an issue). Feel free to open a new issue if there are still problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug A bug in existing code (including security flaws) topic/daemon + init topic/files Topic files topic/ipns Topic ipns
Projects
None yet
Development

No branches or pull requests

4 participants