Feedback: Apple Configurator: Cache does not clear if there is an error
Created On
Last Updated On
byTimothy Perfitt
You are here:
FB17936353 — macOS
Basic Information
Please provide a descriptive title for your feedback:
Apple Configurator: Cache does not clear if there is an error
Which area are you seeing an issue with?
Installation/Setup/Migration/Recovery
What type of issue are you reporting?
Incorrect/Unexpected Behavior
Details
What does the installation/setup/migration/recovery issue you are seeing involve?
Something else not on this list
What build of macOS were you upgrading from?
Configurator version Version 2.18 (10A23) but seems to be all versions
What time was it when this last occurred? (Example: 12:00 pm EST 02/14/2023)
always
Description
Please describe the issue and what steps we can take to reproduce it:
When restoring using Apple Configurator in the UI or via the command line, if there is a error during restore, the cache is not cleared and disk space will eventually fill up and cause instability in the system.
To replicate:
1. Put a target mac into DFU mode
2. Connect a USB-C cable between the admin mac running configurator and the target mac in DFU mode in DFU ports.
3. Restore IPSW and notice that disk space goes down about 15 GB as the ipsw is unpacked
4. Once the restore starts, unplug the USB-C cable to cause the restore to fail (though sometimes the restore can fail on its own but hard to replicate)
The disk space stays used.
Expected behavior: on next restore (or on quit), the cache would be deleted
What actually happened: disk space is not cleared up and even after a reboot, some space is still used.
We manually remove :
1. anything in /tmp that starts with restore_bundle_
2. ~/Library/Containers/com.apple.configurator.xpc.DeviceService/Data/tmp/TemporaryItems
3. folder named com.apple.configurator.xpc.DeviceService somewhere in /var/folders