{"action":"created","issue":{"url":"https://api.github.com/repos/pouchdb/pouchdb/issues/7415","repository_url":"https://api.github.com/repos/pouchdb/pouchdb","labels_url":"https://api.github.com/repos/pouchdb/pouchdb/issues/7415/labels{/name}","comments_url":"https://api.github.com/repos/pouchdb/pouchdb/issues/7415/comments","events_url":"https://api.github.com/repos/pouchdb/pouchdb/issues/7415/events","html_url":"https://github.com/pouchdb/pouchdb/issues/7415","id":346306748,"node_id":"MDU6SXNzdWUzNDYzMDY3NDg=","number":7415,"title":"Recovering data from Pouchdb","user":{"login":"gillestasse","id":1451295,"node_id":"MDQ6VXNlcjE0NTEyOTU=","avatar_url":"https://avatars1.githubusercontent.com/u/1451295?v=4","gravatar_id":"","url":"https://api.github.com/users/gillestasse","html_url":"https://github.com/gillestasse","followers_url":"https://api.github.com/users/gillestasse/followers","following_url":"https://api.github.com/users/gillestasse/following{/other_user}","gists_url":"https://api.github.com/users/gillestasse/gists{/gist_id}","starred_url":"https://api.github.com/users/gillestasse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gillestasse/subscriptions","organizations_url":"https://api.github.com/users/gillestasse/orgs","repos_url":"https://api.github.com/users/gillestasse/repos","events_url":"https://api.github.com/users/gillestasse/events{/privacy}","received_events_url":"https://api.github.com/users/gillestasse/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-31T18:28:46Z","updated_at":"2018-08-09T13:55:07Z","closed_at":"2018-08-09T13:55:07Z","author_association":"NONE","body":"### Issue\r\n\r\nI have created an application using Ionic and Pouchdb. So far it has worked very well with hundred of thousands of records synchronized. The application is used by farmers to register birth of animals. Now, one user, on an older device had a crash while offline. The application can not be started and I cannot get my hand on the device. The user managed to send me the application folder, so I have the .ldb files for the application.\r\n\r\nWhat I am trying to achieve is to recover his data from those binary files.\r\n\r\nI have tried with node / level in order to read the files and it does not work.\r\n\r\n`\r\nOpenError: Invalid argument: idb_cmp1 does not match existing comparator : leveldb.BytewiseComparator\r\n`\r\n\r\nI have also tried with clients (FastNoSql) with no success (database corrupted)\r\n\r\nI am a little bit out of ideas. Garren Smith suggested me in irc to file a issue to get help (tried on StackOverflow with sucess)\r\n\r\n### Info\r\n- Environment: hybrid app\r\n- Platform: Chrome/Android\r\n- Adapter: IndexedDB\r\n- Server: CouchDB\r\n- PouchDB : 6.4.3\r\n\r\nI hope i am precise enough. "},"comment":{"url":"https://api.github.com/repos/pouchdb/pouchdb/issues/comments/411765947","html_url":"https://github.com/pouchdb/pouchdb/issues/7415#issuecomment-411765947","issue_url":"https://api.github.com/repos/pouchdb/pouchdb/issues/7415","id":411765947,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMTc2NTk0Nw==","user":{"login":"daleharvey","id":37787,"node_id":"MDQ6VXNlcjM3Nzg3","avatar_url":"https://avatars1.githubusercontent.com/u/37787?v=4","gravatar_id":"","url":"https://api.github.com/users/daleharvey","html_url":"https://github.com/daleharvey","followers_url":"https://api.github.com/users/daleharvey/followers","following_url":"https://api.github.com/users/daleharvey/following{/other_user}","gists_url":"https://api.github.com/users/daleharvey/gists{/gist_id}","starred_url":"https://api.github.com/users/daleharvey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daleharvey/subscriptions","organizations_url":"https://api.github.com/users/daleharvey/orgs","repos_url":"https://api.github.com/users/daleharvey/repos","events_url":"https://api.github.com/users/daleharvey/events{/privacy}","received_events_url":"https://api.github.com/users/daleharvey/received_events","type":"User","site_admin":false},"created_at":"2018-08-09T13:55:07Z","updated_at":"2018-08-09T13:55:07Z","author_association":"MEMBER","body":"This is lower level than I have been, ping @ralphtheninja in case you have any ideas, otherwise taking a guess that ionic uses chromium under the hood? so if privacy isnt an issue I would file a bug on chromium with the files attached as I am sure they would want to prevent any files from being corrupted and may be able to help you recover them, closing since not a pouch issue, but feel free to carry on discussing in here"}}
{"actor":{"display_login":"daleharvey"}}