Advanced Computer Searches copy hung?
Using recent migrator, and now Replicator, to copy data from our production server to a new staging server. Searches have migrated 130 of 144 searches, but for some reason appears to have been hung at 130 for several tries over several days now. App has an unfinished green progress bar, showing 130 of 144 on both sides, and the spinner is going.
Log is showing a list of "skip update for advancedcomputersearches with name: (search name)" entries, and then it just sits and continues to renew the auth tokens but nothing more is updated.
Is there a way to get more verbose output and see if it's stuck, and if so what it's stuck on? I did manage to get a manual diff of what's been migrated, and it's seemingly random items.
Seeing some similar behavior after moving several iOS objects. Restarting a copy leaves the app in a similar state, where it doesn't seem to appear finished but it isn't actually doing anything. Is this expected behavior? I would expect the app to know when to give up, and to look like it's done.
Is the iOS issue similar to the advanced computer searches in that not all the objects are being fetched?
Seems that way. I followed up on this today (full disclosure: our prod JSS was running 11.9.1 until Saturday, when we upgraded it to 11.13.1 to match the destination server) and just tried to replicate iOS searches (there are 6 total in prod): 3 returned the "skip update" message; then one returned an error "Failed (400). Create error: Error in XML file. Possible mismatch between resource specified in the URL and XML file."; next it created one missing search; now it appears to be hung on the last one, renewing the token:
20250224_104009 [getById] Exporting raw XML for advancedmobiledevicesearches - Teamspace App Installed Report 20250224_104010 [CreateEndpoints] [advancedmobiledevicesearches] create succeeded: Teamspace App Installed Report 20250224_104138 [JamfPro.renewToken] renewing Source token 20250224_104138 [JamfPro.getToken] Token for source server is 3 minutes old. Expires in 224.25 seconds. 20250224_104138 [JamfPro.getToken] using API client/secret to generate token for source server 20250224_104138 [JamfPro.getToken] Attempting to retrieve token from https://REDACTED/api/oauth/token 20250224_104138 [JamfPro.getToken] new token created for source: https://REDACTED 20250224_104138 [JamfPro.renewToken] Source server token renews in 224.25 seconds 20250224_104535 [JamfPro.renewToken] renewing Source token 20250224_104535 [JamfPro.getToken] Token for source server is 3 minutes old. Expires in 224.25 seconds. 20250224_104535 [JamfPro.getToken] using API client/secret to generate token for source server 20250224_104535 [JamfPro.getToken] Attempting to retrieve token from https://REDACTED/api/oauth/token 20250224_104535 [JamfPro.getToken] new token created for source: https://REDACTED 20250224_104535 [JamfPro.renewToken] Source server token renews in 224.25 seconds 20250224_104931 [JamfPro.renewToken] renewing Source token 20250224_104931 [JamfPro.getToken] Token for source server is 3 minutes old. Expires in 224.25 seconds. 20250224_104931 [JamfPro.getToken] using API client/secret to generate token for source server 20250224_104931 [JamfPro.getToken] Attempting to retrieve token from https://REDACTED/api/oauth/token 20250224_104932 [JamfPro.getToken] new token created for source: https://REDACTED 20250224_104932 [JamfPro.renewToken] Source server token renews in 224.25 seconds 20250224_105328 [JamfPro.renewToken] renewing Source token 20250224_105328 [JamfPro.getToken] Token for source server is 3 minutes old. Expires in 224.25 seconds. 20250224_105328 [JamfPro.getToken] using API client/secret to generate token for source server 20250224_105328 [JamfPro.getToken] Attempting to retrieve token from https://REDACTED/api/oauth/token 20250224_105328 [JamfPro.getToken] new token created for source: https://REDACTED 20250224_105328 [JamfPro.renewToken] Source server token renews in 224.25 seconds
This last search isn't particularly complex or unusual, it's searching for App Name - has - Outlook and App Short Version - is - 4.2445.0
On Thu, Feb 20, 2025 at 8:59 PM Leslie Helou @.***> wrote:
Is the iOS issue similar to the advanced computer searches in that not all the objects are being fetched?
— Reply to this email directly, view it on GitHub https://github.com/jamf/Replicator/issues/117#issuecomment-2673163461, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABTNBVNU2EY7K27EIYLW7IT2Q2B7LAVCNFSM6AAAAABXRVG2H6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMNZTGE3DGNBWGE . You are receiving this because you authored the thread.Message ID: @.***> [image: BIG-RAT]BIG-RAT left a comment (jamf/Replicator#117) https://github.com/jamf/Replicator/issues/117#issuecomment-2673163461
Is the iOS issue similar to the advanced computer searches in that not all the objects are being fetched?
— Reply to this email directly, view it on GitHub https://github.com/jamf/Replicator/issues/117#issuecomment-2673163461, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABTNBVNU2EY7K27EIYLW7IT2Q2B7LAVCNFSM6AAAAABXRVG2H6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMNZTGE3DGNBWGE . You are receiving this because you authored the thread.Message ID: @.***>
-- "The diversity in the human family should be the cause of love and harmony, as it is in music where many different notes blend together in the making of the perfect chord." -- Abdu'l-Baha
FYI - stopping & restarting the app allowed the Outlook search to be created. Now it's sitting again, 5 of 6 with the spinner going:
20250224_105724 ----------- Starting Replicating -----------
20250224_105724 [ViewController.readNodes] Bookmark Access Failed for /Users/chkemp/Library/Containers/com.jamf.jamf-migrator/Data/Downloads/Jamf Migrator/ 20250224_105724 [Json.getRecord] get endpoint: advancedmobiledevicesearches from server: https://REDACTED 20250224_105724 [Json.getRecord] retrieved advancedmobiledevicesearches 20250224_105724 [Json.getRecord] get endpoint: advancedmobiledevicesearches from server: https://REDACTED_SERVER2 20250224_105725 [Json.getRecord] retrieved advancedmobiledevicesearches 20250224_105725 [createEndpointsQueue] skip update for advancedmobiledevicesearches with name: Teamspace App Installed Report 20250224_105725 [createEndpointsQueue] skip update for advancedmobiledevicesearches with name: Mobile Devices - DeleteNow 20250224_105725 [createEndpointsQueue] skip update for advancedmobiledevicesearches with name: Mobile Devices - Pending Deletion 20250224_105725 [createEndpointsQueue] skip update for advancedmobiledevicesearches with name: REPORTING FOR MOBILE DEVICES 20250224_105814 [getById] Exporting raw XML for advancedmobiledevicesearches - Outlook installs by version 20250224_105815 [CreateEndpoints] Replicating advancedmobiledevicesearches 20250224_105815 [CreateEndpoints] [advancedmobiledevicesearches] create succeeded: Outlook installs by version 20250224_110106 [JamfPro.renewToken] renewing Source token 20250224_110120 [JamfPro.renewToken] renewing Source token 20250224_110120 [JamfPro.getToken] Token for source server is 3 minutes old. Expires in 224.25 seconds. 20250224_110120 [JamfPro.getToken] using API client/secret to generate token for source server 20250224_110120 [JamfPro.getToken] Attempting to retrieve token from https://REDACTED/api/oauth/token 20250224_110120 [JamfPro.getToken] new token created for source: https://REDACTED 20250224_110120 [JamfPro.renewToken] Source server token renews in 224.25 seconds 20250224_110517 [JamfPro.renewToken] renewing Source token 20250224_110517 [JamfPro.getToken] Token for source server is 3 minutes old. Expires in 224.25 seconds. 20250224_110517 [JamfPro.getToken] using API client/secret to generate token for source server 20250224_110517 [JamfPro.getToken] Attempting to retrieve token from https://REDACTED/api/oauth/token 20250224_110517 [JamfPro.getToken] new token created for source: https://REDACTED 20250224_110517 [JamfPro.renewToken] Source server token renews in 224.25 seconds
On Mon, Feb 24, 2025 at 10:55 AM Christopher Kemp @.***> wrote:
Seems that way. I followed up on this today (full disclosure: our prod JSS was running 11.9.1 until Saturday, when we upgraded it to 11.13.1 to match the destination server) and just tried to replicate iOS searches (there are 6 total in prod): 3 returned the "skip update" message; then one returned an error "Failed (400). Create error: Error in XML file. Possible mismatch between resource specified in the URL and XML file."; next it created one missing search; now it appears to be hung on the last one, renewing the token:
20250224_104009 [getById] Exporting raw XML for advancedmobiledevicesearches - Teamspace App Installed Report 20250224_104010 [CreateEndpoints] [advancedmobiledevicesearches] create succeeded: Teamspace App Installed Report 20250224_104138 [JamfPro.renewToken] renewing Source token 20250224_104138 [JamfPro.getToken] Token for source server is 3 minutes old. Expires in 224.25 seconds. 20250224_104138 [JamfPro.getToken] using API client/secret to generate token for source server 20250224_104138 [JamfPro.getToken] Attempting to retrieve token from https://REDACTED/api/oauth/token 20250224_104138 [JamfPro.getToken] new token created for source: https://REDACTED 20250224_104138 [JamfPro.renewToken] Source server token renews in 224.25 seconds 20250224_104535 [JamfPro.renewToken] renewing Source token 20250224_104535 [JamfPro.getToken] Token for source server is 3 minutes old. Expires in 224.25 seconds. 20250224_104535 [JamfPro.getToken] using API client/secret to generate token for source server 20250224_104535 [JamfPro.getToken] Attempting to retrieve token from https://REDACTED/api/oauth/token 20250224_104535 [JamfPro.getToken] new token created for source: https://REDACTED 20250224_104535 [JamfPro.renewToken] Source server token renews in 224.25 seconds 20250224_104931 [JamfPro.renewToken] renewing Source token 20250224_104931 [JamfPro.getToken] Token for source server is 3 minutes old. Expires in 224.25 seconds. 20250224_104931 [JamfPro.getToken] using API client/secret to generate token for source server 20250224_104931 [JamfPro.getToken] Attempting to retrieve token from https://REDACTED/api/oauth/token 20250224_104932 [JamfPro.getToken] new token created for source: https://REDACTED 20250224_104932 [JamfPro.renewToken] Source server token renews in 224.25 seconds 20250224_105328 [JamfPro.renewToken] renewing Source token 20250224_105328 [JamfPro.getToken] Token for source server is 3 minutes old. Expires in 224.25 seconds. 20250224_105328 [JamfPro.getToken] using API client/secret to generate token for source server 20250224_105328 [JamfPro.getToken] Attempting to retrieve token from https://REDACTED/api/oauth/token 20250224_105328 [JamfPro.getToken] new token created for source: https://REDACTED 20250224_105328 [JamfPro.renewToken] Source server token renews in 224.25 seconds
This last search isn't particularly complex or unusual, it's searching for App Name - has - Outlook and App Short Version - is - 4.2445.0
On Thu, Feb 20, 2025 at 8:59 PM Leslie Helou @.***> wrote:
Is the iOS issue similar to the advanced computer searches in that not all the objects are being fetched?
— Reply to this email directly, view it on GitHub https://github.com/jamf/Replicator/issues/117#issuecomment-2673163461, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABTNBVNU2EY7K27EIYLW7IT2Q2B7LAVCNFSM6AAAAABXRVG2H6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMNZTGE3DGNBWGE . You are receiving this because you authored the thread.Message ID: @.***> [image: BIG-RAT]BIG-RAT left a comment (jamf/Replicator#117) https://github.com/jamf/Replicator/issues/117#issuecomment-2673163461
Is the iOS issue similar to the advanced computer searches in that not all the objects are being fetched?
— Reply to this email directly, view it on GitHub https://github.com/jamf/Replicator/issues/117#issuecomment-2673163461, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABTNBVNU2EY7K27EIYLW7IT2Q2B7LAVCNFSM6AAAAABXRVG2H6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMNZTGE3DGNBWGE . You are receiving this because you authored the thread.Message ID: @.***>
-- "The diversity in the human family should be the cause of love and harmony, as it is in music where many different notes blend together in the making of the perfect chord." -- Abdu'l-Baha
-- "The diversity in the human family should be the cause of love and harmony, as it is in music where many different notes blend together in the making of the perfect chord." -- Abdu'l-Baha
Thanks for the details - see if I can't manage to replicate the issue.
Enabled better handling of failed GETs. Time permitting let me know if v8.0.1 works as expected.