I keep getting errors when I try to Sync my Collector map back onto our Server

917
3
Jump to solution
06-05-2017 03:20 PM
EricHeinrichs
Occasional Contributor

Hello,

I am running ArcGIS for Server 10.5 and Portal for ArcGIS 10.5, as well as Collector 10.4.2 on my iPad. 

I have all of my features configured for archiving and with Global IDs.

I was using the Sync feature last summer, on 10.3, but after updating to 10.5 I get errors, and it won't let me Sync my changes back on to the Server. 

Here is the error that I keep getting, which I don't understand. I am not using any versioning, so it shouldn't be dealing with replicas at all. 

I'm not sure if anything has changed, since it was working without any errors on 10.3

0 Kudos
1 Solution

Accepted Solutions
ScottFierro2
Regular Contributor

Are you taking your maps to offline mode?

If so, then the first thing you should do is check your server to ensure the 10.5 patch for Sync Update has been applied to the server.

Download the patch finder utility here (tells what your system has installed): https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fdownloads2.esri.com%2FSupport%2Fdownl...

Download the patch here: http://support.esri.com/Products/Enterprise/arcgis-server/ArcGIS-GIS-Server/10-5#downloads?id=7503

While I can't say this is the messaging we have seen we have found that occasionally the local iPad can keep a previous replica GUID cached and it causes a sync issue because matching replica GUIDs can't be found between the device and server. In these cases we've found doing a hard shut down of the Collector App on the device, re-logging in and syncing has resolved the issue 99% of the time.

In some rare cases we've also discovered that updates to the local device causes issues. If working in offline mode and the device has maps downloaded to it ensure there are zero iOS or Collector App updates performed on the device. We've begun training for this now once we figured out it was an issue. Essentially, if the device has a map for offline use on it and the user chooses to perform an iOS update OR chooses to update the Collector App then there's a chance these updates causes issues with the replica on the device (SQLite database on the iPad). These issues would render the local device incapable of performing the sync because the replica no longer matches what the server has. In these cases you have to look into recovery options to get the data off the iPad or if you are lucky some edits might have made it to the server and just not pushed back to your enterprise DB in which case you can try to extract the data from the runtime databases http://desktop.arcgis.com/en/arcmap/latest/tools/conversion-toolbox/copy-runtime-geodatabase-to-file...

View solution in original post

3 Replies
ScottFierro2
Regular Contributor

Are you taking your maps to offline mode?

If so, then the first thing you should do is check your server to ensure the 10.5 patch for Sync Update has been applied to the server.

Download the patch finder utility here (tells what your system has installed): https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fdownloads2.esri.com%2FSupport%2Fdownl...

Download the patch here: http://support.esri.com/Products/Enterprise/arcgis-server/ArcGIS-GIS-Server/10-5#downloads?id=7503

While I can't say this is the messaging we have seen we have found that occasionally the local iPad can keep a previous replica GUID cached and it causes a sync issue because matching replica GUIDs can't be found between the device and server. In these cases we've found doing a hard shut down of the Collector App on the device, re-logging in and syncing has resolved the issue 99% of the time.

In some rare cases we've also discovered that updates to the local device causes issues. If working in offline mode and the device has maps downloaded to it ensure there are zero iOS or Collector App updates performed on the device. We've begun training for this now once we figured out it was an issue. Essentially, if the device has a map for offline use on it and the user chooses to perform an iOS update OR chooses to update the Collector App then there's a chance these updates causes issues with the replica on the device (SQLite database on the iPad). These issues would render the local device incapable of performing the sync because the replica no longer matches what the server has. In these cases you have to look into recovery options to get the data off the iPad or if you are lucky some edits might have made it to the server and just not pushed back to your enterprise DB in which case you can try to extract the data from the runtime databases http://desktop.arcgis.com/en/arcmap/latest/tools/conversion-toolbox/copy-runtime-geodatabase-to-file...

EricHeinrichs
Occasional Contributor

I installed the Sync Upload patch, redownloaded the map, and everything is working as it should.

Thanks for the help!

0 Kudos
danbecker
Regular Contributor

Since we are just starting to use our Enterprise implamentation of 10.5 this week, I got to the office this morning to a barage of emails from all field staff saying they're getting a sync error!!

After some troubleshooting, I realized that all feature services were published to Portal by user: portal_admin, thus owned by portal_admin.Each field staff user has their own named user account in Portal, "publisher" role, and each downloaded the map to take if offline. The users could not sync, but the portal_admin while testing was not having any issues. 

My workaround was to create a new Role in Portal that included "editing with full control" permission. This solved the problem.

Now that I know this is a reported issue, I will install the patch.

Thanks for pointing this out!!

0 Kudos