Problem with ODK Survey, ODK Sync with ODK Aggregate server

Currently I'm able to submit finalized form to ODK Aggregate from ODK Survey, but I'm not able to sync data back to ODK Survey with ODK Sync
Issues:

  1. ODK Sync unable to sync data, after account authentication show NETWORK_ERROR
  2. If ODK Sync is working, all survey data will sync from Aggregate to Survey? Or specific records can sync to client?
  3. ODK Sync only can use Google OpenID? can use ODK account or other account?

Please -- only one e-mail ; the list is moderated, so your e-mails may be
delayed until we approve them.

In reverse order...

(3) it uses the Google (gmail) account you configured on your device. I do
not know whether it can work with accounts that require two-factor
authentication.

Within ODK Aggregate, you must grant this account "Synchronize Tables"
privileges to be able to pull down a configured application to the device
(and sync data), and you must grant this account "Administer Tables"
privileges in order to "Reset App Server" and push a configured application
up to the server.

Remember to "Save Changes" on this screen. The settings do not take effect
until you "Save Changes"

(2) all records are sync'd. The software does not filter what data gets
sent to what device (this is planned, but not implemented).

(1) NETWORK ERROR is the error that is reported when anything fails during
synchronization.

  • First, note that the ODK Tables functionality consumes the free quota
    very very quickly. You will likely need to enable billing to fully exercise
    this feature.

  • Check that you can open a browser on your device and navigate to the URL
    of your server. Make sure you have entered https:// or http:// as
    appropriate on the configuration screen. This ensures that it is not a
    network login or airport-mode problem.

  • If you are running Sync via ODK Survey, you need to change the ODK
    Aggregate application name (which corresponds to the directory under
    /sdcard/opendatakit/) to "survey" ; it defaults to "tables". This is an
    option on the Site Admin / Preferences page. Otherwise, if you are
    launching Sync from ODK Tables or directly, it will use the "tables"
    application name / directory.

  • After saving changes, and authenticating the account, click "Sync Now".
    Then pull down on the notifications bar at the very top of the screen. You
    should see 2 entries for ODK Sync; one of them will display a blue progress
    bar.

If the progress bar advances more than 2/3 of the way, then the
communications with the server are working, but the data and file
attachments are not being successfully synchronized. If there are many data
records, and the last 1/3 of the syncing takes a lot of time, the
authentication may have failed part-way through. If this is the case, then
syncing a second time will likely be successful.

Note data containing non-Latin characters will fail to sync. This is a
known issue.

If you are still having problems, please capture a log for the period from
before your sync attempt until after it returns with NETWORK ERROR, and
send that file to me (directly -- mitchellsundt@gmail.com ). See
http://code.google.com/p/opendatakit/wiki/CollectTroubleshooting for
information on capturing a log.

··· On Fri, Oct 24, 2014 at 2:30 AM, wrote:

Currently I'm able to submit finalized form to ODK Aggregate from ODK
Survey, but I'm not able to sync data back to ODK Survey with ODK Sync
Issues:

  1. ODK Sync unable to sync data, after account authentication show
    NETWORK_ERROR
  2. If ODK Sync is working, all survey data will sync from Aggregate to
    Survey? Or specific records can sync to client?
  3. ODK Sync only can use Google OpenID? can use ODK account or other
    account?

--

Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en


You received this message because you are subscribed to the Google Groups
"ODK Community" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to opendatakit+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
Mitch Sundt
Software Engineer
University of Washington
mitchellsundt@gmail.com

If you're feeling a bit adventurous, you can also give this a try. It's an
app that lets you input your server URL, select and authenticate a user,
and then gives your more detailed error reporting. It's intended to be
useful for debugging purposes until the native error reporting is more
fleshed out. It should be able to tell you if it can't find the host, if
you're have authentication problems, something's gone wrong with quota, etc.

It's been useful for me, but I haven't tried it with a lot of devices, so
there may be some issues.

You can see this site for detailed usage information:

It has a link to the apk file to install on your phone, which is here:

http://samsudar.com/projects/apks/syncVerifier-1.0.0.apk

··· On Fri Oct 24 2014 at 10:03:11 AM Mitch Sundt wrote:

Please -- only one e-mail ; the list is moderated, so your e-mails may be
delayed until we approve them.

In reverse order...

(3) it uses the Google (gmail) account you configured on your device. I do
not know whether it can work with accounts that require two-factor
authentication.

Within ODK Aggregate, you must grant this account "Synchronize Tables"
privileges to be able to pull down a configured application to the device
(and sync data), and you must grant this account "Administer Tables"
privileges in order to "Reset App Server" and push a configured application
up to the server.

Remember to "Save Changes" on this screen. The settings do not take effect
until you "Save Changes"

(2) all records are sync'd. The software does not filter what data gets
sent to what device (this is planned, but not implemented).

(1) NETWORK ERROR is the error that is reported when anything fails during
synchronization.

  • First, note that the ODK Tables functionality consumes the free quota
    very very quickly. You will likely need to enable billing to fully exercise
    this feature.

  • Check that you can open a browser on your device and navigate to the URL
    of your server. Make sure you have entered https:// or http:// as
    appropriate on the configuration screen. This ensures that it is not a
    network login or airport-mode problem.

  • If you are running Sync via ODK Survey, you need to change the ODK
    Aggregate application name (which corresponds to the directory under
    /sdcard/opendatakit/) to "survey" ; it defaults to "tables". This is an
    option on the Site Admin / Preferences page. Otherwise, if you are
    launching Sync from ODK Tables or directly, it will use the "tables"
    application name / directory.

  • After saving changes, and authenticating the account, click "Sync Now".
    Then pull down on the notifications bar at the very top of the screen. You
    should see 2 entries for ODK Sync; one of them will display a blue progress
    bar.

If the progress bar advances more than 2/3 of the way, then the
communications with the server are working, but the data and file
attachments are not being successfully synchronized. If there are many data
records, and the last 1/3 of the syncing takes a lot of time, the
authentication may have failed part-way through. If this is the case, then
syncing a second time will likely be successful.

Note data containing non-Latin characters will fail to sync. This is a
known issue.

If you are still having problems, please capture a log for the period from
before your sync attempt until after it returns with NETWORK ERROR, and
send that file to me (directly -- mitchellsundt@gmail.com ). See
http://code.google.com/p/opendatakit/wiki/CollectTroubleshooting for
information on capturing a log.

On Fri, Oct 24, 2014 at 2:30 AM, ppleung@gmail.com wrote:

Currently I'm able to submit finalized form to ODK Aggregate from ODK
Survey, but I'm not able to sync data back to ODK Survey with ODK Sync
Issues:

  1. ODK Sync unable to sync data, after account authentication show
    NETWORK_ERROR
  2. If ODK Sync is working, all survey data will sync from Aggregate to
    Survey? Or specific records can sync to client?
  3. ODK Sync only can use Google OpenID? can use ODK account or other
    account?

--

Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en


You received this message because you are subscribed to the Google Groups
"ODK Community" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to opendatakit+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
Mitch Sundt
Software Engineer
University of Washington
mitchellsundt@gmail.com

--

Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en


You received this message because you are subscribed to the Google Groups
"ODK Community" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to opendatakit+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.