Comments (9)
Great to hear! Please don't hesitate to open new issues if you come across any.
from orbitdb.
I am confused about this as well. I am using the kvstore and data persists while the app is running; however, when I restart the app, the data is gone. I am using the IpfsBrowserDaemon with the signalling server from the browser example.
from orbitdb.
Following is what I'm seeing, whenever i start in a new incognito window the count starts from beginning i.e. its not syncing.
from orbitdb.
Hi everyone and thanks for reporting the bugs! We just released a new version of orbit-db, including updated examples. Would you care to take another try and see if this bug still happens?
As a clarification, as @zabirauf shows in his screenshots, you'll have to open the second peer in an incognito tab, otherwise the peers won't connect as they use the same ipfs repo (ie. they have the same IPFS peer id).
from orbitdb.
@haadcode When i run the example, i get the following error
TypeError: db.load is not a function
at IpfsBrowserDaemon.ipfs.on (index.js:100)
at IpfsBrowserDaemon.EventEmitter.emit (events.js:78)
at _initDaemon.then.then (ipfs-browser-daemon.js:20)
from orbitdb.
@zabirauf I believe this is due to not updating node_modules after pulling the latest. Make sure you do rm -rf node_modules && npm install
after you've pulled from master in order to get the latest modules. Let me know if this helped.
from orbitdb.
@haadcode Thanks, that solved the issue. I do see the KVStore to be in sync but the log and counter still seem to be unsynced.
from orbitdb.
@zabirauf thank for confirming this fixed your issue.
I see that in your video, the "Peers" at the top says 0 for both. This means that the two peers are not connected and as such, can't sync the databases (any of them). We still have some bugs related to the connectivity, so it might be that the peers don't connect every time. To go around this, I usually restart both peers until I see "Peers: 1" in both :) Let me know if this helps!
from orbitdb.
@haadcode Thanks a lot, it works. Everything syncs now 👍 . Closing the issue now.
from orbitdb.
Related Issues (20)
- getAccessController is not exported HOT 1
- Custom AccessController is not immutable HOT 19
- orbit-db-nextgen or this? HOT 1
- can we link data? HOT 1
- Error: No native build was found for platform=darwin arch=arm64 runtime=node abi=108 uv=1 armv=8 libc=glibc node=18.12.0 HOT 2
- is not allowed to write to the log (even after deleting the orbitdb dir) HOT 13
- Orbitdb does not work on Nest.js. HOT 5
- db.address wont open and opening a new db gives me the same address HOT 2
- In React, Uncaught Error: Cannot find module 'interface-datastore/key' HOT 2
- Database stalls on traverseAndVerify() HOT 2
- a priori knowledge of database address HOT 12
- TimeoutError: request timed out when syncing between databases HOT 5
- Local network only IPFS HOT 14
- How to sync with several databases HOT 5
- Remove malicious node HOT 3
- Restarted orbitdb is not informed in update listener about all new added documents HOT 10
- why node 20? HOT 3
- Recover from [AggregateError: All promises were rejected] Error: Want for xyz aborted HOT 4
- Uncaught Error: Could not append entry: although write access is granted HOT 7
- Error: fetching raw block for CID HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from orbitdb.