first of all thanks for your work on what looks to be a great project. Unfortunately I could not get it to run properly yet on a local Debian data server following these instructions and utilizing the supplied source on Github:
After some tweaking and digging through forum posts I came to the point where everything looks correct, all tests in section "Test the installation" on
In the following I created a group with two admin users plus some test content trying to sync the entries in between two different client systems. The group appeared automatically on successful user login and I can seemingly sync the entries. No errors are being returned, neither on the uploading nor on the receiving end. Nevertheless the uploaded content on the first client is not being received on the second. If I force a local database reset on the second client restoring all content from the server though the entries finally show up. Uploading futher entries on the second system and resetting the database in the same way on system one will also work and entries will add up. It appears as if all new content is submitted correctly but either system will not recognize any changes in the remote collective database and will therefore not receive anything in result.
Initial sync with one item
192.168.10.1 - test3 [03/Jul/2017:17:41:12 +0200] "POST /sync/updated HTTP/1.1" 200 642
192.168.10.1 - test3 [03/Jul/2017:17:41:12 +0200] "POST /sync/upload?gzip=1 HTTP/1.1" 200 430
192.168.10.1 - test3 [03/Jul/2017:17:41:13 +0200] "GET /groups/1/laststoragesync HTTP/1.1" 404 437
192.168.10.1 - test3 [03/Jul/2017:17:41:13 +0200] "GET /users/4/laststoragesync HTTP/1.1" 404 437
192.168.10.1 - test3 [03/Jul/2017:17:41:14 +0200] "POST /sync/updated HTTP/1.1" 200 504
192.168.10.1 - test3 [03/Jul/2017:17:41:14 +0200] "GET /users/4/laststoragesync HTTP/1.1" 404 299
192.168.10.1 - test3 [03/Jul/2017:17:41:14 +0200] "GET /groups/1/laststoragesync HTTP/1.1" 404 299
Sync attempt on second system
192.168.10.121 - test2 [03/Jul/2017:17:41:36 +0200] "POST /sync/updated HTTP/1.1" 200 642
192.168.10.121 - test2 [03/Jul/2017:17:41:36 +0200] "GET /groups/1/laststoragesync HTTP/1.1" 404 437
192.168.10.121 - test2 [03/Jul/2017:17:41:36 +0200] "GET /users/3/laststoragesync HTTP/1.1" 404 437
Sync restoring all data from server (client will ask for restart)
This happens automatically after client restart:
192.168.10.121 - - [03/Jul/2017:17:45:20 +0200] "POST /sync/login HTTP/1.1" 200 5095
192.168.10.121 - - [03/Jul/2017:17:45:20 +0200] "POST /sync/updated HTTP/1.1" 200 1153
192.168.10.121 - - [03/Jul/2017:17:45:20 +0200] "GET /?auth=1 HTTP/1.1" 401 466
This happens after confirmation to reset the local database (pops up after restart and the above traffic):
192.168.10.121 - test2 [03/Jul/2017:17:45:20 +0200] "GET /?auth=1 HTTP/1.1" 200 304
192.168.10.121 - test2 [03/Jul/2017:17:45:20 +0200] "GET /users/3/laststoragesync HTTP/1.1" 404 299
192.168.10.121 - test2 [03/Jul/2017:17:45:20 +0200] "GET /groups/1/laststoragesync HTTP/1.1" 404 437
192.168.10.121 - test2 [03/Jul/2017:17:45:25 +0200] "POST /sync/updated HTTP/1.1" 200 503
I have tried the firefox plugin as well as the standalone client. The results are the same. By the way: the same behaviour will occur doing without groups trying to sync a single users database on multiple systems.
Any hints or help are really appreciated. Thanks in advance,