ocsms
ocsms copied to clipboard
SMS won't be synced unless synchronisation cursor is reinitialized on phone manually all the time
Steps to reproduce
- Set up Nextcloud SMS app on Android and receive SMS
Expected behaviour
SMS should be synced automatically to Nextcloud app and manually as well by tapping "synchronize now".
Actual behaviour
SMS wont be synced, "synchronize now" says "nothing to synchronize", after resetting synchronisation cursor and pressing "synchronize now" again all unsynced SMS get synced.
Server configuration
NextCloud/ownCloud version: Nextcloud 12.0.4
PHP version: PHP 7.0
HTTPd server: Apache 2.4
Database engine & version: Mariadb 10
Client configuration
Android version: Android 7.1.1
Phone: BQ Aquaris X5 Plus
NextCloud SMS app version: 1.3.4
I have the same problem. Pls help.
I think it's related to my problem : https://github.com/nextcloud/ocsms/issues/204
Same problem, i have to reinit cursor every time on NextcloudSMS 1.3.4 with Nextcloud 13.0.0 RC2. Are you running nginx ssl proxy for your Nextcloud instance by any chance? It may have started ever since i switched to nginx, but i will have to verify that.
No NGINX involved at all, just an Apache 2.4 with PHP 7.0 running on Ubuntu 16.04. And yes, the problem still exists.
a diagnostic with another user shows that FPM configuration have a problem because buffering is not enabled. In my configuration (nginx -> varnish -> apache24 + mod_php72) it works as intended
I have a similar setup, except running NC 13 now. While debugging the api, I noticed that the database request to retrieve all sms ids always returned an empty list. It turned out, that although the sms_mailbox column was declared as integer, the result returned it as string and the subsequent sanity check of the mailbox names failed, because it expected an integer as array key. They are stored with the wrong sms_mailbox now, but at least they are synced.
What's the exact config that needs to be changed? I'm using the nextcloud docker image
Same issue here.. nc13.0.1 and latest nc sms android app on android 8
a diagnostic with another user shows that FPM configuration have a problem because buffering is not enabled.
NC13.0.2 on Apache (this is my only Apache server left) and issue occurs as described.
Same phone as @e-alfred btw ☺
I had the same problem. SMS not syncing unless manually triggered in dev-options.
I solved it by paying for the app and installing the gplay edition. I don't think there is a mayor difference, however I do think there is a difference in how synchronisation is triggered on Google Android if a app installed via Gplay or Fdroid.