jamf / JamfMigrator

A tool to migrate data granularly between Jamf Pro servers
MIT License
136 stars 10 forks source link

Import Failures #60

Closed M-MDev closed 3 years ago

M-MDev commented 3 years ago

When importing packages, groups and policies together from source x of x policies fail and logs just stop.

Example:

2 Packages 2 Groups 3 Policies

Imports both packages and groups fine but just stops after 2 of the 3 policies are imported.

BIG-RAT commented 3 years ago

Stops as in crashes or hangs/becomes non-responsive? What does the log show?

M-MDev commented 3 years ago

The app does not crash or hang however the log stops on the second policy and that is the last line.

On Fri, Feb 26, 2021, 9:36 PM Leslie Helou notifications@github.com wrote:

Stops as in crashes or hangs/becomes non-responsive? What does the log show?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/jamf/JamfMigrator/issues/60#issuecomment-787003645, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJOEB7VCMIUL23522K4PTMLTBBZFRANCNFSM4YI6G4AQ .

BIG-RAT commented 3 years ago

always stops on the same policy? can you import one policy at a time? Might through the app in debug mode (instructions in the help) and review/share the log.

M-MDev commented 3 years ago

Is there a hard coded timeout? Looks to be occurring around 200 seconds.

20210305_145003 [- debug -] [CreateEndpoints] POST or PUT Operation: PUT 20210305_145003 [- debug -] [CreateEndpoints] endpoint: policies-3 Total: 3 Succeeded: 0 No Failures: true SuccessArray 0 20210305_145003 [- debug -] [CreateEndpoints] Last item in policies complete. 20210305_145004 [- debug -] [Migration Complete] runtime: 195.010402832 seconds 20210305_145004 [- debug -] [Migration Complete] runtime: 195.311697998 seconds

BIG-RAT commented 3 years ago

?None defined. Using the default timeouts of waiting 60 seconds for new data and up to 7 days to complete a transfer.


From: M-MDev notifications@github.com Sent: Friday, March 5, 2021 4:55 PM To: jamf/JamfMigrator Cc: Leslie N. Helou; Comment Subject: Re: [jamf/JamfMigrator] Import Failures (#60)

Is there a hard coded timeout? Looks to be occurring around 200 seconds.

20210305_145003 [- debug -] [CreateEndpoints] POST or PUT Operation: PUT 20210305_145003 [- debug -] [CreateEndpoints] endpoint: policies-3 Total: 3 Succeeded: 0 No Failures: true SuccessArray 0 20210305_145003 [- debug -] [CreateEndpoints] Last item in policies complete. 20210305_145004 [- debug -] [Migration Complete] runtime: 195.010402832 seconds 20210305_145004 [- debug -] [Migration Complete] runtime: 195.311697998 seconds

- You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/jamf/JamfMigrator/issues/60#issuecomment-791735964, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AFJYQF7UXP7S3I2VXJWWX3LTCFHOVANCNFSM4YI6G4AQ.

[ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/jamf/JamfMigrator/issues/60#issuecomment-791735964", "url": "https://github.com/jamf/JamfMigrator/issues/60#issuecomment-791735964", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "https://github.com" } } ]

BIG-RAT commented 3 years ago

Let me know if you're still seeing the issue with the lates update. If so can you share the xml files?