-
-
Notifications
You must be signed in to change notification settings - Fork 23
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
[Bug] "initializing TUI and loading database, please wait ..." wait forever #42
Comments
You're not supposed to modify the deps on your own. Your local IPFS version has basically nothing to do with Superhighway84. Just clone, build and start. Wait a little initially as it takes some time to sync the db. |
The current code in https://github.com/mrusme/superhighway84 won't work:
|
Sorry, I overlooked the following line and was under the assumption that you were trying to use both, the official IPFS daemon as well as Superhighway84 simultaneously:
This lines tells that you have the IPFS repo initialized with a newer IPFS version than Superhighway84 is using internally. Indeed, in this case Superhighway84 is indeed sort of depending on your local IPFS version - but not in the sense of dependencies or the binary. It simply requires you to provide an IPFS repo that was initialized using the same IPFS version. The reason why Superhighway84 can't use the latest IPFS version can be looked up in the README.md under As for your specific case, I would suggest you to simply download version 11 of the IPFS binary from go-ipfs, do not install it but rather just run it from the downloads folder with the instructions given in the Superhighway84 README.md for creating a dedicated IPFS repository:
Then make sure to always export the IPFS_PATH accordingly before starting Superhighway84. In case you're looking to run both, the official IPFS as well as Superhighway84 simultaneously, please consider the remarks given in the README.md. Hope this helps! |
I've created a todo to implement a way for initializing the repo through Superhighway84 in the future. |
|
Define forever. :-) It could take a while for IPFS to sync, indeed. It really depends on the amount of peers. You might give it a few tries at first to see whether that's really not just a latency issue. When you started it the first time, did you see any content? If not I assume the IPFS repo wasn't synced yet. If you did and now it doesn't come back up, then it's tricky indeed. 🤔 |
On a side-note, your profile says Shanghai, China. Trying not to be insensitive, but have you tried whether IPFS generally works from your location? Just to make sure it's not blocked. For example, I had a situation while in Spain where IPFS was indeed blocked by the provider. |
:-) cool, happy to hear! FYI: Subsequent updates of the IPFS repo should be much quicker from now on. So it's not like you'll have to wait 5 minutes every time you start it. It's really just the initial sync that takes forever, heh. |
FYI: go-orbit-db was upgraded to 1.17.1, which now uses go-ipfs 0.12.2. I have just pushed an update, 0.2.0, which includes the updated libraries. Now Superhighway84 is able to run on IPFS 0.12 repositories! |
Great, thank you. |
The text was updated successfully, but these errors were encountered: