Can't Load the database
See original GitHub issueI am getting this error -
Uncaught Exception:
NestedError: Can't save the database
at DatabaseError.Error (native)
at DatabaseError.NestedError (/Users/akka/dev/zulipwork/zulip/dist/Zulip-darwin-x64/Zulip.app/Contents/Resources/app.asar/node_modules/node-json-db/lib/Errors.js:7:25)
at new DatabaseError (/Users/akka/dev/zulipwork/zulip/dist/Zulip-darwin-x64/Zulip.app/Contents/Resources/app.asar/node_modules/node-json-db/lib/Errors.js:29:33)
at JsonDB.save (/Users/akka/dev/zulipwork/zulip/dist/Zulip-darwin-x64/Zulip.app/Contents/Resources/app.asar/node_modules/node-json-db/JsonDB.js:243:25)
at new JsonDB (/Users/akka/dev/zulipwork/zulip/dist/Zulip-darwin-x64/Zulip.app/Contents/Resources/app.asar/node_modules/node-json-db/JsonDB.js:33:18)
at Object.<anonymous> (/Users/akka/dev/zulipwork/zulip/dist/Zulip-darwin-x64/Zulip.app/Contents/Resources/app.asar/app/main/main.js:16:12)
at Module._compile (module.js:541:32)
at Object.Module._extensions..js (module.js:550:10)
at Module.load (module.js:458:32)
at tryModuleLoad (module.js:417:12)
I am using it here. It works perfectly when app is not packed.
Issue Analytics
- State:
- Created 7 years ago
- Comments:10 (4 by maintainers)
Top Results From Across the Web
Error: Could not load database file mysql - php - Stack Overflow
php files in root and admin folder . But When i open the website It shows a blank page with this error ....
Read more >DatabaseError: Can't Load Database · Issue #103 - GitHub
node-json-db expects at least an empty object { } if the file still exists. If it's an empty file the error is thrown....
Read more >Unable to open an Access database on a server - Office
When you try to open a database that is located on a server, you may receive the following error message: Couldn't use <filename>;...
Read more >Error: Could not load data from data source. If you can correct ...
Error: Could not load data from data source. If you can correct the problem, press the refresh button to reload data. Error Message....
Read more >could not load database : r/signal - Reddit
Might need to uninstall/reinstall, but that will wipe data. Probably doesn't make a difference if the database won't load. Maybe reach out to ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@Belphemur Thanks a lot it worked 🎉 .
I have only one instance of the db but I do reload the db file sometimes. Here is db file - https://github.com/zulip/zulip-electron/blob/master/app/renderer/js/utils/domain-util.js Let me know if you find anything suspicious which might cause this issue. I have no clues here 😭 (FYI only the
domain.json
file gets corrupted not others likesetting.json, window-state.json
)