red5coder / jamf-framework-redeploy Goto Github PK
View Code? Open in Web Editor NEWApp to redeploy the Jamf Framework to a device enrolled in Jamf Pro
License: MIT License
App to redeploy the Jamf Framework to a device enrolled in Jamf Pro
License: MIT License
Thanks for this little app, I had a small permission issue, that was needed, if I wanted a bare minimum account on Jamf
what also is needed:
Jamf Pro Server Setting - "Check-In" - Read (is needed)
This is what Jamf Support told me and I confirmed it working, maybe you want to update the Read me.
If you hit "save password" and check the box, reopen "Jamf-Framework-Redeploy" the password is gone.
Thanks for app great work use it daily!
Wondering if we could get CSV file support so before we remove non-communicative devices from jamf, we could export and run the SNs through this to see if any can be recovered prior to removal.
Hello red5coder,
I think because of JAMF Deprecated apiv1 and changed barrier tokens you need to look at the new way off Authentication If you can share the script, I can take a look at it.
Regards and thanks for your support Thijs
App is crasing some time and its not responding.
find the crashared report.
`Date/Time: 2023-01-12 14:34:14.208 +0530
End time: 2023-01-12 14:36:05.594 +0530
OS Version: macOS 13.1 (Build 22C65)
Architecture: x86_64h
Report Version: 40
Incident Identifier: 7560C2A3-4C07-454F-87E6-E3DE57A08534
Data Source: Stackshots
Shared Cache: EA7F9772-219E-3ECE-A4D9-20AEEE3BC80F slid base address 0x7ff81645a000, slide 0x1645a000 (System Primary)
Shared Cache: 73F7D64A-0E58-33BB-B79D-9CD6E9461CAE slid base address 0x7ff80b2fa000, slide 0xb2fa000 (DriverKit)
Command: Jamf Framework Redeploy
Path: /private/var/folders/*/Jamf Framework Redeploy.app/Contents/MacOS/Jamf Framework Redeploy
Identifier: co.uk.mallion.Jamf-Framework-Redeploy
Version: 1.0 (11)
Team ID: VR4GB7TBDP
Is First Party: No
Architecture: x86_64
Parent: launchd [1]
PID: 37390
Time Since Fork: 56224s
Note: Translocated
Event: hang
Duration: 111.39s
Duration Sampled: 1.10s (process was unresponsive for 110 seconds before sampling)
Steps: 11 (100ms sampling interval)
Hardware model: MacBookPro15,1
Active cpus: 12
HW page size: 4096
VM page size: 4096
Time Since Boot: 576474s
Time Awake Since Boot: 36608s
Time Since Wake: 31s
Fan speed: 2147 rpm
Total CPU Time: 2.216s (7.9G cycles, 12.0G instructions, 0.66c/i)
Advisory levels: Battery -> 2, User -> 2, ThermalPressure -> 0, Combined -> 2
Free disk space: 123.82 GB/465.63 GB, low space threshold 3072 MB
Vnodes Available: 78.80% (207370/263168)
Preferred User Language: en-GB
Country Code: GB
OS Cryptex File Extents: 327
--------------------------------------------------
Timeline format: stacks are sorted chronologically
Use -i and -heavy to re-report with count sorting
--------------------------------------------------
Heaviest stack for the main thread of the target process:
11 start + 2432 (dyld + 25360) [0x7ff8164f4310]
11 ??? (Jamf Framework Redeploy + 23006) [0x10a1cc9de]
11 ??? (SwiftUI + 10088335) [0x7ff91ec8df8f]
11 ??? (SwiftUI + 17689156) [0x7ff91f3cda44]
11 ??? (SwiftUI + 605061) [0x7ff91e382b85]
11 NSApplicationMain + 817 (AppKit + 13351) [0x7ff819a12427]
11 -[NSApplication run] + 586 (AppKit + 193527) [0x7ff819a3e3f7]
11 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1219 (AppKit + 249268) [0x7ff819a4bdb4]
11 _DPSNextEvent + 1738 (AppKit + 254576) [0x7ff819a4d270]
11 AEProcessAppleEvent + 54 (HIToolbox + 265791) [0x7ff820256e3f]
11 aeProcessAppleEvent + 419 (AE + 19485) [0x7ff81cdcdc1d]
11 ??? (AE + 46600) [0x7ff81cdd4608]
11 ??? (AE + 48541) [0x7ff81cdd4d9d]
11 _NSAppleEventManagerGenericHandler + 80 (Foundation + 215958) [0x7ff817730b96]
11 -[NSAppleEventManager dispatchRawAppleEvent:withRawReply:handlerRefCon:] + 308 (Foundation + 216356) [0x7ff817730d24]
11 -[NSApplication(NSAppleEventHandling) _handleCoreEvent:withReplyEvent:] + 665 (AppKit + 275272) [0x7ff819a52348]
11 -[NSApplication(NSAppleEventHandling) _handleAEReopen:] + 273 (AppKit + 1953296) [0x7ff819bebe10]
11 ??? (SwiftUI + 7336594) [0x7ff91e9ee292]
11 ??? (SwiftUI + 7336453) [0x7ff91e9ee205]
11 ??? (SwiftUI + 10417113) [0x7ff91ecde3d9]
11 ??? (SwiftUI + 10420110) [0x7ff91ecdef8e]
11 ??? (SwiftUI + 10433862) [0x7ff91ece2546]
11 ??? (SwiftUI + 17108030) [0x7ff91f33fc3e]
11 ??? (SwiftUI + 14024228) [0x7ff91f04ee24]
11 +[NSWindow windowWithContentViewController:] + 57 (AppKit + 2903759) [0x7ff819cd3ecf]
11 -[NSView layoutSubtreeIfNeeded] + 65 (AppKit + 589719) [0x7ff819a9ef97]
11 NSPerformVisuallyAtomicChange + 132 (AppKit + 562866) [0x7ff819a986b2]
11 -[NSView _layoutSubtreeIfNeededAndAllowTemporaryEngine:] + 72 (AppKit + 589800) [0x7ff819a9efe8]
11 NSPerformVisuallyAtomicChange + 132 (AppKit + 562866) [0x7ff819a986b2]
11 __56-[NSView _layoutSubtreeIfNeededAndAllowTemporaryEngine:]_block_invoke + 1170 (AppKit + 9865880) [0x7ff81a377a98]
11 -[NSView _layoutSubtreeWithOldSize:] + 75 (AppKit + 591037) [0x7ff819a9f4bd]
11 NSPerformVisuallyAtomicChange + 132 (AppKit + 562866) [0x7ff819a986b2]
11 __36-[NSView _layoutSubtreeWithOldSize:]_block_invoke + 341 (AppKit + 9862288) [0x7ff81a376c90]
11 _NSViewLayout + 65 (AppKit + 591109) [0x7ff819a9f505]
11 NSPerformVisuallyAtomicChange + 132 (AppKit + 562866) [0x7ff819a986b2]
11 ___NSViewLayout_block_invoke + 595 (AppKit + 9910020) [0x7ff81a382704]
11 ??? (SwiftUI + 17745734) [0x7ff91f3db746]
11 ??? (SwiftUI + 17744719) [0x7ff91f3db34f]
11 +[NSAnimationContext runAnimationGroup:] + 55 (AppKit + 360361) [0x7ff819a66fa9]
11 ??? (SwiftUI + 17698141) [0x7ff91f3cfd5d]
11 ??? (SwiftUI + 17792588) [0x7ff91f3e6e4c]
11 ??? (SwiftUI + 17744926) [0x7ff91f3db41e]
11 ??? (SwiftUI + 17371367) [0x7ff91f3800e7]
11 ??? (SwiftUI + 17384201) [0x7ff91f383309]
11 ??? (SwiftUI + 10977538) [0x7ff91ed67102]
11 ??? (SwiftUI + 6009020) [0x7ff91e8aa0bc]
11 ??? (SwiftUI + 10977538) [0x7ff91ed67102]
11 ??? (Jamf Framework Redeploy + 21892) [0x10a1cc584]
11 ??? (Jamf Framework Redeploy + 33133) [0x10a1cf16d]
11 SecItemCopyMatching + 338 (Security + 2478107) [0x7ff8191b301b]
11 SecItemCopyMatching_osx(__CFDictionary const*, void const**) + 336 (Security + 2463447) [0x7ff8191af6d7]
11 SecKeychainSearchCopyNext + 161 (Security + 157044) [0x7ff818f7c574]
11 Security::KeychainCore::KCCursorImpl::next(Security::KeychainCore::Item&) + 272 (Security + 157900) [0x7ff818f7c8cc]
11 Security::KeychainCore::KeychainImpl::performKeychainUpgradeIfNeeded() + 73 (Security + 2341701) [0x7ff819191b45]
11 _pthread_mutex_firstfit_lock_slow + 212 (libsystem_pthread.dylib + 6600) [0x7ff8168229c8]
11 __psynch_mutexwait + 10 (libsystem_kernel.dylib + 14502) [0x7ff8167ea8a6]
*11 psynch_mtxcontinue + 0 (com.apple.kec.pthread + 11289) [0xffffff80036c1c19]
Process: Jamf Framework Redeploy [37390] [unique pid 136843]
UUID: 7F301508-BB0D-3659-A6B8-16FEB804B168
Path: /private/var/folders/*/Jamf Framework Redeploy.app/Contents/MacOS/Jamf Framework Redeploy
Identifier: co.uk.mallion.Jamf-Framework-Redeploy
Version: 1.0 (11)
Team ID: VR4GB7TBDP
Is First Party: No
Shared Cache: EA7F9772-219E-3ECE-A4D9-20AEEE3BC80F slid base address 0x7ff81645a000, slide 0x1645a000 (System Primary)
Architecture: x86_64
Parent: launchd [1]
UID: 501
Footprint: 38.69 MB
Time Since Fork: 56224s
Num samples: 11 (1-11)
CPU Time: 0.005s (10.3M cycles, 3.0M instructions, 3.45c/i)
Note: Translocated
Note: Unresponsive for 110 seconds before sampling
Note: 1 idle work queue thread omitted
Thread 0x9179e DispatchQueue "com.apple.main-thread"(1) 11 samples (1-11) priority 47 (base 47)
<process frontmost, thread QoS user interactive (requested user interactive), process unclamped, process received importance donation from WindowServer [144], IO tier 0>
11 start + 2432 (dyld + 25360) [0x7ff8164f4310] 1-11
11 ??? (Jamf Framework Redeploy + 23006) [0x10a1cc9de] 1-11
11 ??? (SwiftUI + 10088335) [0x7ff91ec8df8f] 1-11
11 ??? (SwiftUI + 17689156) [0x7ff91f3cda44] 1-11
11 ??? (SwiftUI + 605061) [0x7ff91e382b85] 1-11
11 NSApplicationMain + 817 (AppKit + 13351) [0x7ff819a12427] 1-11
11 -[NSApplication run] + 586 (AppKit + 193527) [0x7ff819a3e3f7] 1-11
11 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1219 (AppKit + 249268) [0x7ff819a4bdb4] 1-11
11 _DPSNextEvent + 1738 (AppKit + 254576) [0x7ff819a4d270] 1-11
11 AEProcessAppleEvent + 54 (HIToolbox + 265791) [0x7ff820256e3f] 1-11
11 aeProcessAppleEvent + 419 (AE + 19485) [0x7ff81cdcdc1d] 1-11
11 ??? (AE + 46600) [0x7ff81cdd4608] 1-11
11 ??? (AE + 48541) [0x7ff81cdd4d9d] 1-11
11 _NSAppleEventManagerGenericHandler + 80 (Foundation + 215958) [0x7ff817730b96] 1-11
11 -[NSAppleEventManager dispatchRawAppleEvent:withRawReply:handlerRefCon:] + 308 (Foundation + 216356) [0x7ff817730d24] 1-11
11 -[NSApplication(NSAppleEventHandling) _handleCoreEvent:withReplyEvent:] + 665 (AppKit + 275272) [0x7ff819a52348] 1-11
11 -[NSApplication(NSAppleEventHandling) _handleAEReopen:] + 273 (AppKit + 1953296) [0x7ff819bebe10] 1-11
11 ??? (SwiftUI + 7336594) [0x7ff91e9ee292] 1-11
11 ??? (SwiftUI + 7336453) [0x7ff91e9ee205] 1-11
11 ??? (SwiftUI + 10417113) [0x7ff91ecde3d9] 1-11
11 ??? (SwiftUI + 10420110) [0x7ff91ecdef8e] 1-11
11 ??? (SwiftUI + 10433862) [0x7ff91ece2546] 1-11
11 ??? (SwiftUI + 17108030) [0x7ff91f33fc3e] 1-11
11 ??? (SwiftUI + 14024228) [0x7ff91f04ee24] 1-11
11 +[NSWindow windowWithContentViewController:] + 57 (AppKit + 2903759) [0x7ff819cd3ecf] 1-11
11 -[NSView layoutSubtreeIfNeeded] + 65 (AppKit + 589719) [0x7ff819a9ef97] 1-11
11 NSPerformVisuallyAtomicChange + 132 (AppKit + 562866) [0x7ff819a986b2] 1-11
11 -[NSView _layoutSubtreeIfNeededAndAllowTemporaryEngine:] + 72 (AppKit + 589800) [0x7ff819a9efe8] 1-11
11 NSPerformVisuallyAtomicChange + 132 (AppKit + 562866) [0x7ff819a986b2] 1-11
11 __56-[NSView _layoutSubtreeIfNeededAndAllowTemporaryEngine:]_block_invoke + 1170 (AppKit + 9865880) [0x7ff81a377a98] 1-11
11 -[NSView _layoutSubtreeWithOldSize:] + 75 (AppKit + 591037) [0x7ff819a9f4bd] 1-11
11 NSPerformVisuallyAtomicChange + 132 (AppKit + 562866) [0x7ff819a986b2] 1-11
11 __36-[NSView _layoutSubtreeWithOldSize:]_block_invoke + 341 (AppKit + 9862288) [0x7ff81a376c90] 1-11
11 _NSViewLayout + 65 (AppKit + 591109) [0x7ff819a9f505] 1-11
11 NSPerformVisuallyAtomicChange + 132 (AppKit + 562866) [0x7ff819a986b2] 1-11
11 ___NSViewLayout_block_invoke + 595 (AppKit + 9910020) [0x7ff81a382704] 1-11
11 ??? (SwiftUI + 17745734) [0x7ff91f3db746] 1-11
11 ??? (SwiftUI + 17744719) [0x7ff91f3db34f] 1-11
11 +[NSAnimationContext runAnimationGroup:] + 55 (AppKit + 360361) [0x7ff819a66fa9] 1-11
11 ??? (SwiftUI + 17698141) [0x7ff91f3cfd5d] 1-11
11 ??? (SwiftUI + 17792588) [0x7ff91f3e6e4c] 1-11
11 ??? (SwiftUI + 17744926) [0x7ff91f3db41e] 1-11
11 ??? (SwiftUI + 17371367) [0x7ff91f3800e7] 1-11
11 ??? (SwiftUI + 17384201) [0x7ff91f383309] 1-11
11 ??? (SwiftUI + 10977538) [0x7ff91ed67102] 1-11
11 ??? (SwiftUI + 6009020) [0x7ff91e8aa0bc] 1-11
11 ??? (SwiftUI + 10977538) [0x7ff91ed67102] 1-11
11 ??? (Jamf Framework Redeploy + 21892) [0x10a1cc584] 1-11
11 ??? (Jamf Framework Redeploy + 33133) [0x10a1cf16d] 1-11
11 SecItemCopyMatching + 338 (Security + 2478107) [0x7ff8191b301b] 1-11
11 SecItemCopyMatching_osx(__CFDictionary const*, void const**) + 336 (Security + 2463447) [0x7ff8191af6d7] 1-11
11 SecKeychainSearchCopyNext + 161 (Security + 157044) [0x7ff818f7c574] 1-11
11 Security::KeychainCore::KCCursorImpl::next(Security::KeychainCore::Item&) + 272 (Security + 157900) [0x7ff818f7c8cc] 1-11
11 Security::KeychainCore::KeychainImpl::performKeychainUpgradeIfNeeded() + 73 (Security + 2341701) [0x7ff819191b45] 1-11
11 _pthread_mutex_firstfit_lock_slow + 212 (libsystem_pthread.dylib + 6600) [0x7ff8168229c8] 1-11
11 __psynch_mutexwait + 10 (libsystem_kernel.dylib + 14502) [0x7ff8167ea8a6] 1-11
*11 psynch_mtxcontinue + 0 (com.apple.kec.pthread + 11289) [0xffffff80036c1c19] (blocked by turnstile waiting for Jamf Framework Redeploy [37390] [unique pid 136843] thread 0x9184e) 1-11
Thread 0x9184e 11 samples (1-11) priority 47 (base 47)
<process frontmost, thread QoS user interactive (requested background, promote user interactive), process unclamped, process received importance donation from WindowServer [144], IO tier 0 and passive>
11 <truncated backtrace> 1-11
11 __psynch_mutexwait + 10 (libsystem_kernel.dylib + 14502) [0x7ff8167ea8a6] 1-11
*11 psynch_mtxcontinue + 0 (com.apple.kec.pthread + 11289) [0xffffff80036c1c19] (blocked by turnstile waiting for Jamf Framework Redeploy [37390] [unique pid 136843] thread 0x9197f) 1-11
Thread 0x91852 11 samples (1-11) priority 4 (base 4)
<process frontmost, thread QoS background (requested background), process unclamped, thread darwinbg, process received importance donation from WindowServer [144], IO tier 2>
11 <truncated backtrace> 1-11
11 __psynch_mutexwait + 10 (libsystem_kernel.dylib + 14502) [0x7ff8167ea8a6] 1-11
*11 psynch_mtxcontinue + 0 (com.apple.kec.pthread + 11289) [0xffffff80036c1c19] (blocked by turnstile with priority 47 waiting for Jamf Framework Redeploy [37390] [unique pid 136843] thread 0x9197f) 1-11
Thread 0x91858 11 samples (1-11) priority 4 (base 4)
<process frontmost, thread QoS background (requested background), process unclamped, thread darwinbg, process received importance donation from WindowServer [144], IO tier 2>
11 <truncated backtrace> 1-11
11 __psynch_mutexwait + 10 (libsystem_kernel.dylib + 14502) [0x7ff8167ea8a6] 1-11
*11 psynch_mtxcontinue + 0 (com.apple.kec.pthread + 11289) [0xffffff80036c1c19] (blocked by turnstile with priority 47 waiting for Jamf Framework Redeploy [37390] [unique pid 136843] thread 0x9184e) 1-11
Thread 0x91868 Thread name "com.apple.NSEventThread" 11 samples (1-11) priority 47 (base 47) cpu time 0.005s (10.3M cycles, 3.0M instructions, 3.45c/i)
<process frontmost, thread QoS user interactive (requested user interactive), process unclamped, process received importance donation from WindowServer [144], IO tier 0>
11 thread_start + 15 (libsystem_pthread.dylib + 7291) [0x7ff816822c7b] 1-11
11 _pthread_start + 125 (libsystem_pthread.dylib + 25177) [0x7ff816827259] 1-11
11 _NSEventThread + 132 (AppKit + 1696409) [0x7ff819bad299] 1-11
11 CFRunLoopRunSpecific + 560 (CoreFoundation + 514944) [0x7ff816900b80] 1-11
11 __CFRunLoopRun + 1360 (CoreFoundation + 517962) [0x7ff81690174a] 1-11
11 __CFRunLoopServiceMachPort + 145 (CoreFoundation + 523486) [0x7ff816902cde] 1-11
11 mach_msg + 19 (libsystem_kernel.dylib + 6312) [0x7ff8167e88a8] 1-11
11 mach_msg_overwrite + 723 (libsystem_kernel.dylib + 34357) [0x7ff8167ef635] 1-11
11 mach_msg2_trap + 10 (libsystem_kernel.dylib + 5570) [0x7ff8167e85c2] 1-11
*11 ipc_mqueue_receive_continue + 0 (kernel + 972000) [0xffffff80003c94e0] 1-11
Thread 0x9197f 11 samples (1-11) priority 47 (base 47)
<process frontmost, thread QoS user interactive (requested background, promote user interactive), process unclamped, process received importance donation from WindowServer [144], IO tier 0 and passive>
11 <truncated backtrace> 1-11
11 __psynch_mutexwait + 10 (libsystem_kernel.dylib + 14502) [0x7ff8167ea8a6] 1-11
*11 psynch_mtxcontinue + 0 (com.apple.kec.pthread + 11289) [0xffffff80036c1c19] (blocked by turnstile waiting for Jamf Framework Redeploy [37390] [unique pid 1368'
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.