-
-
Notifications
You must be signed in to change notification settings - Fork 32
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
Snikket doesn't store offline messages #235
Comments
This is quite a severe bug if you ask me. :( |
In Snikket Android, from the main screen:
If 'Always' was already selected and these steps do not resolve your issue, let me know. |
Always is already selected. :) |
I would highly appreciate some help with this. Not receiving any messages while being offline is a major inconvenience for us. My instance have about 30 users. |
Really sorry about the inconvenience. Snikket is supposed to "just work", and I understand it's frustrating when stuff doesn't work. Just for the record, I have been helping (in the chat) and we made some progress thanks to the information you were able to provide. I'm sorry to say that despite the couple of hours I have already spent just on looking into this issue, I'm still unable to say what is causing your problem. Nobody else has reported this issue, and I've not seen anything like it before, so I'm fairly confident that it's specific to your setup somehow. We just need to figure out what's special. I have lots of other open tasks, and there is only so much time I can spend debugging a one-person issue. However, I am doing my best :) What we've verified so far in debugging with you:
For the next steps, it would be good to get past that last problem. If we can find the missing log lines (or why they are missing) we should be able to get closer to solving the main mystery. Previously I instructed you to read the logs using docker compose. If you can, let's try a different method.
Fingers crossed that it will provide the information we need! |
Done. I sent the message "TEST" from the user johan to the user billy. |
For future reference, we had some further exchanges via chat/email. The captured logs included the missing log lines we were looking for. They indicate that our earlier conclusion about no corruption was false. The log contains errors such as:
This kind of corruption has been known to happen in some cases after a full disk or power failure event. The recommended solution in this case was to simply remove the files, which would clear the errors and allow Prosody to recreate the files when new messages come in. In the long term, we'll likely be moving to SQLite (per #196) which will hopefully be more resilient to whatever caused this. |
I'm not sure how to word the title for this. I'm self-hosting an instance with Snikket, and I have an issue with Snikket not storing offline messages. So, when I login to my client (Gajim for Linux and Snikket for Android), I don't see any messages that was sent to me while I was offline.
I have made sure that this is not an issue with Gajim. One of the them helped me debug the issue with their client just to make sure it's not a client side issue.
This is my
docker-compose.yml
config:And this is my
snikket.conf
config:I have no idea how to debug this issue.
The text was updated successfully, but these errors were encountered: