jamf / JamfMigrator

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

App crash everytime i try to export Mac Policies #69

Closed Benek107 closed 2 years ago

Benek107 commented 2 years ago

It starts to export but after few policies it crashed every time.

BIG-RAT commented 2 years ago

Debug log from the app would be more useful to me. Curious if you are using the default export location or selected another location. Does it actually export anything or just starts the processesing a few then crashes.

Benek107 commented 2 years ago

So i have run it with debug flag. I just deleted default folder from download location. And it recreated Jamf migration folder but after 1 policy it crashed. Where i can find debug logs?

BIG-RAT commented 2 years ago

Easiest way is command+L from the app or from the menu bar View - Log folder.

Benek107 commented 2 years ago

log is too big so i have uploaded it to google drive - https://drive.google.com/file/d/13FRsftnfczuV0rovXxPll4bsyjX8d-pE/view?usp=sharing

BIG-RAT commented 2 years ago

Looks like the Cloud Services Connector is not set up, which is ok. I'll have to get a server going without it to see what I've broken, look like something pulling icons from the server is causing the crash.

Benek107 commented 2 years ago

Is there anything i can do ?

BIG-RAT commented 2 years ago

Any errors/output in terminal after the app crashed from launching it in debug mode? Haven't been able to replicate the issue yet.

Benek107 commented 2 years ago

/Applications/jamf-migrator.app/Contents/MacOS/jamf-migrator -debug Illegal instruction: 4

This is what i get.

I for example run just Extension Attributes export and it completed without any problems. Same with smart group export. No issues.

Maybe we have something specific in our policies that tools dont like it ?

Benek107 commented 2 years ago

Everything except Policies is running ok

fleish commented 2 years ago

Not sure how many policies you have, but you could try migrating them one at a time and see if you find one or more in particular that cause a crash.

BIG-RAT commented 2 years ago

Still an issue with v6.2.0? Maybe another log (debug) is on order.

Benek107 commented 2 years ago

6.2 works fine for all items. You can close this case Thanks for support