NekoX
NekoX copied to clipboard
Messages disappear/not showing
Describe the bug Messages are not showing, dissapearing, missing notifications, or chats
To Reproduce Steps to reproduce the behavior:
- Go to the main screen
- See one dialogue has new messages
- Click on the dialogue
- See no new messages
Logcat Link expired, comment the issue and i will upload again š„
Expected behavior No disappearing messages
Smartphone (please complete the following information):
- Device: Pixel 3a xl
- OS: Android 12, Graphene OS
- Version Nekogram X v8.7.4 arm64-v8a mini fdroidRelease
Additional context It happened already second time A month ago wiping application data helped But the problem came back
same here but with notifications I've found my issue is caused by database file 'cache4.db' corrupted
successfully recovered my database and get everything works again with almost no data loss here are the steps left for those who encountered this situation:
- force stop NekoX app
- copy
/data/user/0/nekox.messenger/files/cache4.db
to computer (needs root) - download sqlite-tools from https://www.sqlite.org/download.html
- recover database file using command
sqlite3 cache4.db ".recover" | sqlite3 cache4.rec.db
- some data cannot be recovered using command above
make a diff using command
sqldiff cache4.rec.db cache4.db > diff.sql
- and apply diff to recovered database using command
sqlite3 cache4.rec.db < diff.sql
- connect recovered database using command
sqlite3 cache4.rec.db
and runPRAGMA user_version = 100;
- copy
cache4.rec.db
back to phone and replace/data/user/0/nekox.messenger/files/cache4.db
with it - open NekoX, good luck :)
Omg, it's hard and needs root š I just do data reset in case of this db corruption -- Sent from my pā”p for Android.
Omg, it's hard and needs root š I just do data reset in case of this db corruption -- Sent from my pā”p for Android.
fix it is easy but fix it with minimal data loss is much more hard š i have some secret chats and cannot afford losing them