grahampugh / erase-install

A script that automates downloading macOS installers, and optionally erasing or upgrading macOS in a single process. Watch the video!
https://grahamrpugh.com/2023/05/14/macaduk-presentation-eraseinstall.html
Apache License 2.0
834 stars 131 forks source link

[BUG] Temp storage hdiutility create failed #472

Closed tomnelhams closed 3 months ago

tomnelhams commented 9 months ago

Describe the bug An M1 MBA upgrading to macOS Sonoma, has 78GB free storage, goes through the entire install phase of the program and then at the very end, produces an error - Invalid Exit Status Code: '1', Message: hdiutil: create failed - No space left on device

To Reproduce

Expected behavior The machine runs the install process and then restarts and updates to macOS Sonoma 14.1.2

Code/log output Please supply the full command used, and if applicable, add full output from Terminal or from /var/log/erase-install.log. Don't post a partial log - I need the whole thing. Either upload the log as a file, or paste the output in a code block like this:

[STEP 1 of 5]
Executing Policy erase-install - macOS 14 - Update to most recent Version - TEST
[STEP 2 of 5]
Mounting HQ Files
Verifying package integrity...
Installing erase-install-31.0.pkg...
Successfully installed erase-install-31.0.pkg.
[STEP 3 of 5]
[STEP 4 of 5]
Running command /Library/Management/erase-install/erase-install.sh --os 14 --update --no-fs --reinstall --check-power --power-wait-limit=180 --confirm --no-timeout --min-drive-space=25 --rebootdelay=180...
Result of command:
2023-12-04 10:36:57 | v31.0 | [log_rotate] Finished rotating logs in /Library/Management/erase-install/log

2023-12-04 10:36:57 | v31.0 | [erase-install] v31.0 script execution started: Mon Dec  4 10:36:57 GMT 2023

2023-12-04 10:36:57 | v31.0 | [erase-install] Arguments provided: --os 14 --update --no-fs --reinstall --check-power --power-wait-limit=180 --confirm --no-timeout --min-drive-space=25 --rebootdelay=180
2023-12-04 10:36:58 | v31.0 | [erase-install] System version: 13.6.1 (Build: 22G313)
2023-12-04 10:36:58 | v31.0 | [check_for_swiftdialog_app] swiftDialog v2.3.2.4726 is installed (/Library/Application Support/Dialog/Dialog.app)
2023-12-04 10:36:59 | v31.0 | [check_for_swiftdialog_app] Creating dialog log (/var/tmp/dialog.fkU)...
2023-12-04 10:36:59 | v31.0 | [erase-install] Caffeinating this script (pid=83406)
2023-12-04 10:36:59 | v31.0 | [check_free_space] OK - 78 GB free/purgeable disk space detected
2023-12-04 10:36:59 | v31.0 | [erase-install] Looking for existing installer app or pkg
2023-12-04 10:36:59 | v31.0 | [find_existing_installer] No valid installer found.
2023-12-04 10:36:59 | v31.0 | [erase-install] Existing installer OS version does not match requested OS (14).
2023-12-04 10:36:59 | v31.0 | [overwrite_existing_installer] Overwrite option selected. Deleting existing version.
overwrite_existing_installer:6: no matches found: /Volumes/*macOS*
2023-12-04 10:36:59 | v31.0 | [erase-install] Running on architecture arm64
2023-12-04 10:36:59 | v31.0 | [get_user_details] ask for user credentials (attempt 1/5)
2023-12-04 10:36:59 | v31.0 | [get_default_dialog_args] Invoking utility dialog
yes xxx is a member of everyone
2023-12-04 10:37:05 | v31.0 | [get_user_details] xxx is a Volume Owner
2023-12-04 10:37:05 | v31.0 | [check_password] Success: the password entered is the correct login password for xxx.
2023-12-04 10:37:05 | v31.0 | [check_power_status] OK - AC power detected
2023-12-04 10:37:05 | v31.0 | [get_default_dialog_args] Invoking utility dialog
2023-12-04 10:37:05 | v31.0 | [check_for_mist] mist is installed (/usr/local/bin/mist)
2023-12-04 10:37:05 | v31.0 | [get_mist_list] Non-default catalog selected (darwin version 22)
┌──────────────────┐
│ INPUT VALIDATION │
└──────────────────┘
  ├─ Search only for latest (first) result will be 'false'...
  ├─ Include betas in search results will be 'false'...
  ├─ Only include compatible installers will be 'true'...
  ├─ Export path will be '/Library/Management/erase-install/mist-list.json'...
  ├─ Export path file extension is valid...
  ├─ Output type will be 'ascii'...
┌────────┐
│ SEARCH │
└────────┘
  ├─ Searching for macOS Installer versions...
  ├─ Exported list as JSON: '/Library/Management/erase-install/mist-list.json'
  └─ Found 15 macOS Installer(s) available for download

[0;0m┌────────────┬────────────────┬─────────┬────────┬──────────┬────────────┬────────────┐
│ IDENTIFIER │ NAME           │ VERSION │ BUILD  │ SIZE     │ DATE       │ COMPATIBLE │
├────────────┼────────────────┼─────────┼────────┼──────────┼────────────┼────────────┤
[0;0m[0;0m│ [0;0m052-09398 [0;0m │ [0;0mmacOS Sonoma  [0;0m │ [0;0m14.1.2 [0;0m │ [0;0m23B92 [0;0m │ [0;0m12.92 GB[0;0m │ [0;0m2023-11-30[0;0m │ [0;0mTrue      [0;0m │
[0;0m[0;0m│ [0;0m042-89627 [0;0m │ [0;0mmacOS Sonoma  [0;0m │ [0;0m14.1.1 [0;0m │ [0;0m23B81 [0;0m │ [0;0m12.92 GB[0;0m │ [0;0m2023-11-16[0;0m │ [0;0mTrue      [0;0m │
[0;0m[0;0m│ [0;0m042-86434 [0;0m │ [0;0mmacOS Sonoma  [0;0m │ [0;0m14.1   [0;0m │ [0;0m23B74 [0;0m │ [0;0m12.92 GB[0;0m │ [0;0m2023-10-25[0;0m │ [0;0mTrue      [0;0m │
[0;0m[0;0m│ [0;0m042-58988 [0;0m │ [0;0mmacOS Sonoma  [0;0m │ [0;0m14.0   [0;0m │ [0;0m23A344[0;0m │ [0;0m12.87 GB[0;0m │ [0;0m2023-09-26[0;0m │ [0;0mTrue      [0;0m │
[0;0m[0;0m│ [0;0m042-82952 [0;0m │ [0;0mmacOS Ventura [0;0m │ [0;0m13.6.1 [0;0m │ [0;0m22G313[0;0m │ [0;0m11.95 GB[0;0m │ [0;0m2023-11-16[0;0m │ [0;0mTrue      [0;0m │
[0;0m[0;0m│ [0;0m042-55926 [0;0m │ [0;0mmacOS Ventura [0;0m │ [0;0m13.6   [0;0m │ [0;0m22G120[0;0m │ [0;0m11.95 GB[0;0m │ [0;0m2023-09-21[0;0m │ [0;0mTrue      [0;0m │
[0;0m[0;0m│ [0;0m042-43677 [0;0m │ [0;0mmacOS Ventura [0;0m │ [0;0m13.5.2 [0;0m │ [0;0m22G91 [0;0m │ [0;0m11.95 GB[0;0m │ [0;0m2023-09-07[0;0m │ [0;0mTrue      [0;0m │
[0;0m[0;0m│ [0;0m042-25643 [0;0m │ [0;0mmacOS Ventura [0;0m │ [0;0m13.5.1 [0;0m │ [0;0m22G90 [0;0m │ [0;0m11.95 GB[0;0m │ [0;0m2023-08-17[0;0m │ [0;0mTrue      [0;0m │
[0;0m[0;0m│ [0;0m032-69593 [0;0m │ [0;0mmacOS Ventura [0;0m │ [0;0m13.5   [0;0m │ [0;0m22G74 [0;0m │ [0;0m11.95 GB[0;0m │ [0;0m2023-07-24[0;0m │ [0;0mTrue      [0;0m │
[0;0m[0;0m│ [0;0m042-01917 [0;0m │ [0;0mmacOS Ventura [0;0m │ [0;0m13.4.1 [0;0m │ [0;0m22F82 [0;0m │ [0;0m11.80 GB[0;0m │ [0;0m2023-06-28[0;0m │ [0;0mTrue      [0;0m │
[0;0m[0;0m│ [0;0m042-82938 [0;0m │ [0;0mmacOS Monterey[0;0m │ [0;0m12.7.1 [0;0m │ [0;0m21G920[0;0m │ [0;0m12.41 GB[0;0m │ [0;0m2023-11-16[0;0m │ [0;0mTrue      [0;0m │
[0;0m[0;0m│ [0;0m042-55586 [0;0m │ [0;0mmacOS Monterey[0;0m │ [0;0m12.7   [0;0m │ [0;0m21G816[0;0m │ [0;0m12.40 GB[0;0m │ [0;0m2023-09-21[0;0m │ [0;0mTrue      [0;0m │
[0;0m[0;0m│ [0;0m042-45268 [0;0m │ [0;0mmacOS Monterey[0;0m │ [0;0m12.6.9 [0;0m │ [0;0m21G726[0;0m │ [0;0m12.41 GB[0;0m │ [0;0m2023-09-11[0;0m │ [0;0mTrue      [0;0m │
[0;0m[0;0m│ [0;0m042-15015 [0;0m │ [0;0mmacOS Monterey[0;0m │ [0;0m12.6.8 [0;0m │ [0;0m21G725[0;0m │ [0;0m12.42 GB[0;0m │ [0;0m2023-07-24[0;0m │ [0;0mTrue      [0;0m │
[0;0m[0;0m│ [0;0m032-97690 [0;0m │ [0;0mmacOS Monterey[0;0m │ [0;0m12.6.7 [0;0m │ [0;0m21G651[0;0m │ [0;0m12.41 GB[0;0m │ [0;0m2023-06-28[0;0m │ [0;0mTrue      [0;0m │
[0;0m[0;0m└────────────┴────────────────┴─────────┴────────┴──────────┴────────────┴────────────┘
[0;0m
2023-12-04 10:37:07 | v31.0 | [run_mist] Restricting to selected OS '14'
2023-12-04 10:37:07 | v31.0 | [run_mist] Setting mist to only list compatible installers
2023-12-04 10:37:07 | v31.0 | [get_mist_list] Non-default catalog selected (darwin version 22)

2023-12-04 10:37:07 | v31.0 | [run_mist] This command is now being run:

2023-12-04 10:37:07 | v31.0 | mist download installer Sonoma application --application-name Install %NAME%.app --output-directory /Applications --compatible --no-ansi --catalog-url https://swscan.apple.com/content/catalogs/others/index-13-12-10.16-10.15-10.14-10.13-10.12-10.11-10.10-10.9-mountainlion-lion-snowleopard-leopard.merged-1.sucatalog
┌──────────────────┐
│ INPUT VALIDATION │
└──────────────────┘
  ├─ User is 'root'...
  ├─ Download search string will be 'Sonoma'...
  ├─ Include betas in search results will be 'false'...
  ├─ Only include compatible installers will be 'true'...
  ├─ Cache downloads will be 'false'...
  ├─ Output directory will be '/Applications'...
  ├─ Temporary directory will be '/private/tmp/com.ninxsoft.mist'...
  ├─ Force flag has not been set, existing files will not be overwritten...
  ├─ Application name will be 'Install %NAME%.app'...
┌────────┐
│ SEARCH │
└────────┘
  ├─ Searching for macOS download 'Sonoma'...
  ├─ Found [052-09398] macOS Sonoma 14.1.2 (23B92) [2023-11-30]
┌───────┐
│ SETUP │
└───────┘
  ├─ Deleting old temporary directory '/private/tmp/com.ninxsoft.mist/052-09398'...
  ├─ Creating new temporary directory '/private/tmp/com.ninxsoft.mist/052-09398'...
┌──────────┐
│ DOWNLOAD │
└──────────┘
  ├─ [ 1 / 7 ] 052-09398.English.dist.......... [  0000  B /  0000  B (00.00%) ]
  ├─ [ 1 / 7 ] 052-09398.English.dist.......... [ 07.40 KB / 07.40 KB (100.0%) ]
  ├─ [ 1 / 7 ] 052-09398.English.dist.......... [ 07.40 KB / 07.40 KB (100.0%) ]
  │            Verifying...
  │            Verifying... [0;32m✓✓✓[0;0m
  ├─ [ 2 / 7 ] BuildManifest.plist............. [  0000  B / 07.43 MB (00.00%) ]
  ├─ [ 2 / 7 ] BuildManifest.plist............. [ 94.90 KB / 07.43 MB (01.28%) ]
  ├─ [ 2 / 7 ] BuildManifest.plist............ [ 208.00 KB / 07.43 MB (02.80%) ]
  ├─ [ 2 / 7 ] BuildManifest.plist............ [ 435.50 KB / 07.43 MB (05.86%) ]
  ├─ [ 2 / 7 ] BuildManifest.plist............ [ 541.25 KB / 07.43 MB (07.28%) ]
  ├─ [ 2 / 7 ] BuildManifest.plist............ [ 617.96 KB / 07.43 MB (08.32%) ]
  ├─ [ 2 / 7 ] BuildManifest.plist............ [ 702.39 KB / 07.43 MB (09.45%) ]
  ├─ [ 2 / 7 ] BuildManifest.plist............. [ 01.14 MB / 07.43 MB (15.37%) ]
  ├─ [ 2 / 7 ] BuildManifest.plist............. [ 01.40 MB / 07.43 MB (18.83%) ]
  ├─ [ 2 / 7 ] BuildManifest.plist............. [ 01.80 MB / 07.43 MB (24.20%) ]
  ├─ [ 2 / 7 ] BuildManifest.plist............. [ 01.87 MB / 07.43 MB (25.22%) ]
  ├─ [ 2 / 7 ] BuildManifest.plist............. [ 01.96 MB / 07.43 MB (26.33%) ]
  ├─ [ 2 / 7 ] BuildManifest.plist............. [ 02.04 MB / 07.43 MB (27.43%) ]
  ├─ [ 2 / 7 ] BuildManifest.plist............. [ 02.11 MB / 07.43 MB (28.44%) ]
  ├─ [ 2 / 7 ] BuildManifest.plist............. [ 02.20 MB / 07.43 MB (29.54%) ]
  ├─ [ 2 / 7 ] BuildManifest.plist............. [ 02.27 MB / 07.43 MB (30.51%) ]
  ├─ [ 2 / 7 ] BuildManifest.plist............. [ 02.35 MB / 07.43 MB (31.62%) ]
  ├─ [ 2 / 7 ] BuildManifest.plist............. [ 02.43 MB / 07.43 MB (32.72%) ]
  ├─ [ 2 / 7 ] BuildManifest.plist............. [ 02.51 MB / 07.43 MB (33.82%) ]
  ├─ [ 2 / 7 ] BuildManifest.plist............. [ 02.60 MB / 07.43 MB (34.92%) ]
  ├─ [ 2 / 7 ] BuildManifest.plist............. [ 02.67 MB / 07.43 MB (35.93%) ]
  ├─ [ 2 / 7 ] BuildManifest.plist............. [ 02.76 MB / 07.43 MB (37.13%) ]
  ├─ [ 2 / 7 ] BuildManifest.plist............. [ 02.84 MB / 07.43 MB (38.23%) ]
  ├─ [ 2 / 7 ] BuildManifest.plist............. [ 02.92 MB / 07.43 MB (39.33%) ]
  ├─ [ 2 / 7 ] BuildManifest.plist............. [ 03.00 MB / 07.43 MB (40.44%) ]
  ├─ [ 2 / 7 ] BuildManifest.plist............. [ 03.09 MB / 07.43 MB (41.54%) ]
  ├─ [ 2 / 7 ] BuildManifest.plist............. [ 03.16 MB / 07.43 MB (42.55%) ]
  ├─ [ 2 / 7 ] BuildManifest.plist............. [ 03.24 MB / 07.43 MB (43.65%) ]
  ├─ [ 2 / 7 ] BuildManifest.plist............. [ 03.32 MB / 07.43 MB (44.62%) ]
  ├─ [ 2 / 7 ] BuildManifest.plist............. [ 03.41 MB / 07.43 MB (45.95%) ]
  ├─ [ 2 / 7 ] BuildManifest.plist............. [ 03.50 MB / 07.43 MB (47.05%) ]
  ├─ [ 2 / 7 ] BuildManifest.plist............. [ 03.59 MB / 07.43 MB (48.37%) ]
  ├─ [ 2 / 7 ] BuildManifest.plist............. [ 03.67 MB / 07.43 MB (49.38%) ]
  ├─ [ 2 / 7 ] BuildManifest.plist............. [ 03.75 MB / 07.43 MB (50.48%) ]
  ├─ [ 2 / 7 ] BuildManifest.plist............. [ 03.86 MB / 07.43 MB (51.90%) ]
  ├─ [ 2 / 7 ] BuildManifest.plist............. [ 03.96 MB / 07.43 MB (53.22%) ]
  ├─ [ 2 / 7 ] BuildManifest.plist............. [ 04.05 MB / 07.43 MB (54.54%) ]
  ├─ [ 2 / 7 ] BuildManifest.plist............. [ 04.18 MB / 07.43 MB (56.31%) ]
  ├─ [ 2 / 7 ] BuildManifest.plist............. [ 04.28 MB / 07.43 MB (57.54%) ]
  ├─ [ 2 / 7 ] BuildManifest.plist............. [ 04.35 MB / 07.43 MB (58.51%) ]
  ├─ [ 2 / 7 ] BuildManifest.plist............. [ 04.43 MB / 07.43 MB (59.62%) ]
  ├─ [ 2 / 7 ] BuildManifest.plist............. [ 04.53 MB / 07.43 MB (60.94%) ]
  ├─ [ 2 / 7 ] BuildManifest.plist............. [ 04.63 MB / 07.43 MB (62.26%) ]
  ├─ [ 2 / 7 ] BuildManifest.plist............. [ 04.72 MB / 07.43 MB (63.49%) ]
  ├─ [ 2 / 7 ] BuildManifest.plist............. [ 04.83 MB / 07.43 MB (65.03%) ]
  ├─ [ 2 / 7 ] BuildManifest.plist............. [ 04.92 MB / 07.43 MB (66.23%) ]
  ├─ [ 2 / 7 ] BuildManifest.plist............. [ 05.00 MB / 07.43 MB (67.33%) ]
  ├─ [ 2 / 7 ] BuildManifest.plist............. [ 05.09 MB / 07.43 MB (68.43%) ]
  ├─ [ 2 / 7 ] BuildManifest.plist............. [ 05.17 MB / 07.43 MB (69.54%) ]
  ├─ [ 2 / 7 ] BuildManifest.plist............. [ 05.24 MB / 07.43 MB (70.54%) ]
  ├─ [ 2 / 7 ] BuildManifest.plist............. [ 05.34 MB / 07.43 MB (71.87%) ]
  ├─ [ 2 / 7 ] BuildManifest.plist............. [ 05.43 MB / 07.43 MB (73.06%) ]
  ├─ [ 2 / 7 ] BuildManifest.plist............. [ 05.54 MB / 07.43 MB (74.61%) ]
  ├─ [ 2 / 7 ] BuildManifest.plist............. [ 05.63 MB / 07.43 MB (75.71%) ]
  ├─ [ 2 / 7 ] BuildManifest.plist............. [ 05.71 MB / 07.43 MB (76.81%) ]
  ├─ [ 2 / 7 ] BuildManifest.plist............. [ 05.80 MB / 07.43 MB (78.04%) ]
  ├─ [ 2 / 7 ] BuildManifest.plist............. [ 06.02 MB / 07.43 MB (81.00%) ]
  ├─ [ 2 / 7 ] BuildManifest.plist............. [ 06.12 MB / 07.43 MB (82.32%) ]
  ├─ [ 2 / 7 ] BuildManifest.plist............. [ 06.22 MB / 07.43 MB (83.65%) ]
  ├─ [ 2 / 7 ] BuildManifest.plist............. [ 06.31 MB / 07.43 MB (84.87%) ]
  ├─ [ 2 / 7 ] BuildManifest.plist............. [ 06.41 MB / 07.43 MB (86.20%) ]
  ├─ [ 2 / 7 ] BuildManifest.plist............. [ 06.49 MB / 07.43 MB (87.39%) ]
  ├─ [ 2 / 7 ] BuildManifest.plist............. [ 06.59 MB / 07.43 MB (88.72%) ]
  ├─ [ 2 / 7 ] BuildManifest.plist............. [ 06.86 MB / 07.43 MB (92.37%) ]
  ├─ [ 2 / 7 ] BuildManifest.plist............. [ 06.97 MB / 07.43 MB (93.79%) ]
  ├─ [ 2 / 7 ] BuildManifest.plist............. [ 07.05 MB / 07.43 MB (94.89%) ]
  ├─ [ 2 / 7 ] BuildManifest.plist............. [ 07.13 MB / 07.43 MB (95.99%) ]
  ├─ [ 2 / 7 ] BuildManifest.plist............. [ 07.23 MB / 07.43 MB (97.31%) ]
  ├─ [ 2 / 7 ] BuildManifest.plist............. [ 07.36 MB / 07.43 MB (98.98%) ]
  ├─ [ 2 / 7 ] BuildManifest.plist............. [ 07.43 MB / 07.43 MB (100.0%) ]
  ├─ [ 2 / 7 ] BuildManifest.plist............. [ 07.43 MB / 07.43 MB (100.0%) ]
  │            Verifying...
  │            Verifying... [0;32m✓✓✓[0;0m
  ├─ [ 3 / 7 ] Info.plist...................... [  0000  B / 05.13 KB (00.00%) ]
  ├─ [ 3 / 7 ] Info.plist...................... [ 05.13 KB / 05.13 KB (100.0%) ]
  ├─ [ 3 / 7 ] Info.plist...................... [ 05.13 KB / 05.13 KB (100.0%) ]
  │            Verifying...
  │            Verifying... [0;32m✓✓✓[0;0m
  ├─ [ 4 / 7 ] InstallAssistant.pkg............ [  0000  B / 12.91 GB (00.00%) ]
  ├─ [ 4 / 7 ] InstallAssistant.pkg........... [ 129.19 MB / 12.91 GB (01.00%) ]
  ├─ The network connection was lost.
  ├─ Retrying attempt [ 1 / 10 ] in 30 seconds...
  ├─ [ 4 / 7 ] InstallAssistant.pkg........... [ 201.33 MB / 12.91 GB (01.56%) ]
  ├─ [ 4 / 7 ] InstallAssistant.pkg........... [ 258.18 MB / 12.91 GB (02.00%) ]
  ├─ [ 4 / 7 ] InstallAssistant.pkg........... [ 387.24 MB / 12.91 GB (03.00%) ]
  ├─ [ 4 / 7 ] InstallAssistant.pkg........... [ 516.31 MB / 12.91 GB (04.00%) ]
  ├─ [ 4 / 7 ] InstallAssistant.pkg........... [ 645.33 MB / 12.91 GB (05.00%) ]
  ├─ [ 4 / 7 ] InstallAssistant.pkg........... [ 774.42 MB / 12.91 GB (06.00%) ]
  ├─ [ 4 / 7 ] InstallAssistant.pkg........... [ 903.48 MB / 12.91 GB (07.00%) ]
  ├─ [ 4 / 7 ] InstallAssistant.pkg............ [ 01.03 GB / 12.91 GB (08.00%) ]
  ├─ [ 4 / 7 ] InstallAssistant.pkg............ [ 01.16 GB / 12.91 GB (09.00%) ]
  ├─ [ 4 / 7 ] InstallAssistant.pkg............ [ 01.29 GB / 12.91 GB (10.00%) ]
  ├─ The network connection was lost.
  ├─ Retrying attempt [ 2 / 10 ] in 30 seconds...
  ├─ [ 4 / 7 ] InstallAssistant.pkg............ [ 01.34 GB / 12.91 GB (10.40%) ]
  ├─ [ 4 / 7 ] InstallAssistant.pkg............ [ 01.42 GB / 12.91 GB (11.00%) ]
  ├─ The network connection was lost.
  ├─ Retrying attempt [ 3 / 10 ] in 30 seconds...
  ├─ [ 4 / 7 ] InstallAssistant.pkg............ [ 01.48 GB / 12.91 GB (11.44%) ]
  ├─ [ 4 / 7 ] InstallAssistant.pkg............ [ 01.55 GB / 12.91 GB (12.00%) ]
  ├─ [ 4 / 7 ] InstallAssistant.pkg............ [ 01.68 GB / 12.91 GB (13.00%) ]
  ├─ [ 4 / 7 ] InstallAssistant.pkg............ [ 01.81 GB / 12.91 GB (14.00%) ]
  ├─ The network connection was lost.
  ├─ Retrying attempt [ 4 / 10 ] in 30 seconds...
  ├─ [ 4 / 7 ] InstallAssistant.pkg............ [ 01.83 GB / 12.91 GB (14.17%) ]
  ├─ [ 4 / 7 ] InstallAssistant.pkg............ [ 01.94 GB / 12.91 GB (15.00%) ]
  ├─ The network connection was lost.
  ├─ Retrying attempt [ 5 / 10 ] in 30 seconds...
  ├─ [ 4 / 7 ] InstallAssistant.pkg............ [ 01.96 GB / 12.91 GB (15.21%) ]
  ├─ [ 4 / 7 ] InstallAssistant.pkg............ [ 02.07 GB / 12.91 GB (16.00%) ]
  ├─ [ 4 / 7 ] InstallAssistant.pkg............ [ 02.19 GB / 12.91 GB (17.00%) ]
  ├─ [ 4 / 7 ] InstallAssistant.pkg............ [ 02.32 GB / 12.91 GB (18.00%) ]
  ├─ The network connection was lost.
  ├─ Retrying attempt [ 6 / 10 ] in 30 seconds...
  ├─ [ 4 / 7 ] InstallAssistant.pkg............ [ 02.42 GB / 12.91 GB (18.72%) ]
  ├─ [ 4 / 7 ] InstallAssistant.pkg............ [ 02.45 GB / 12.91 GB (19.00%) ]
  ├─ [ 4 / 7 ] InstallAssistant.pkg............ [ 02.58 GB / 12.91 GB (20.00%) ]
  ├─ The network connection was lost.
  ├─ Retrying attempt [ 7 / 10 ] in 30 seconds...
  ├─ [ 4 / 7 ] InstallAssistant.pkg............ [ 02.68 GB / 12.91 GB (20.80%) ]
  ├─ [ 4 / 7 ] InstallAssistant.pkg............ [ 02.71 GB / 12.91 GB (21.00%) ]
  ├─ [ 4 / 7 ] InstallAssistant.pkg............ [ 02.84 GB / 12.91 GB (22.00%) ]
  ├─ [ 4 / 7 ] InstallAssistant.pkg............ [ 02.97 GB / 12.91 GB (23.00%) ]
  ├─ [ 4 / 7 ] InstallAssistant.pkg............ [ 03.10 GB / 12.91 GB (24.00%) ]
  ├─ [ 4 / 7 ] InstallAssistant.pkg............ [ 03.23 GB / 12.91 GB (25.00%) ]
  ├─ [ 4 / 7 ] InstallAssistant.pkg............ [ 03.36 GB / 12.91 GB (26.00%) ]
  ├─ [ 4 / 7 ] InstallAssistant.pkg............ [ 03.48 GB / 12.91 GB (27.00%) ]
  ├─ [ 4 / 7 ] InstallAssistant.pkg............ [ 03.61 GB / 12.91 GB (28.00%) ]
  ├─ [ 4 / 7 ] InstallAssistant.pkg............ [ 03.74 GB / 12.91 GB (29.00%) ]
  ├─ [ 4 / 7 ] InstallAssistant.pkg............ [ 03.87 GB / 12.91 GB (30.00%) ]
  ├─ [ 4 / 7 ] InstallAssistant.pkg............ [ 04.00 GB / 12.91 GB (31.00%) ]
  ├─ [ 4 / 7 ] InstallAssistant.pkg............ [ 04.13 GB / 12.91 GB (32.00%) ]
  ├─ [ 4 / 7 ] InstallAssistant.pkg............ [ 04.26 GB / 12.91 GB (33.00%) ]
  ├─ [ 4 / 7 ] InstallAssistant.pkg............ [ 04.39 GB / 12.91 GB (34.00%) ]
  ├─ [ 4 / 7 ] InstallAssistant.pkg............ [ 04.52 GB / 12.91 GB (35.00%) ]
  ├─ [ 4 / 7 ] InstallAssistant.pkg............ [ 04.65 GB / 12.91 GB (36.00%) ]
  ├─ [ 4 / 7 ] InstallAssistant.pkg............ [ 04.78 GB / 12.91 GB (37.00%) ]
  ├─ [ 4 / 7 ] InstallAssistant.pkg............ [ 04.90 GB / 12.91 GB (38.00%) ]
  ├─ [ 4 / 7 ] InstallAssistant.pkg............ [ 05.03 GB / 12.91 GB (39.00%) ]
  ├─ [ 4 / 7 ] InstallAssistant.pkg............ [ 05.16 GB / 12.91 GB (40.00%) ]
  ├─ [ 4 / 7 ] InstallAssistant.pkg............ [ 05.29 GB / 12.91 GB (41.00%) ]
  ├─ [ 4 / 7 ] InstallAssistant.pkg............ [ 05.42 GB / 12.91 GB (42.00%) ]
  ├─ [ 4 / 7 ] InstallAssistant.pkg............ [ 05.55 GB / 12.91 GB (43.00%) ]
  ├─ [ 4 / 7 ] InstallAssistant.pkg............ [ 05.68 GB / 12.91 GB (44.00%) ]
  ├─ [ 4 / 7 ] InstallAssistant.pkg............ [ 05.81 GB / 12.91 GB (45.00%) ]
  ├─ [ 4 / 7 ] InstallAssistant.pkg............ [ 05.94 GB / 12.91 GB (46.00%) ]
  ├─ [ 4 / 7 ] InstallAssistant.pkg............ [ 06.07 GB / 12.91 GB (47.00%) ]
  ├─ [ 4 / 7 ] InstallAssistant.pkg............ [ 06.20 GB / 12.91 GB (48.00%) ]
  ├─ [ 4 / 7 ] InstallAssistant.pkg............ [ 06.32 GB / 12.91 GB (49.00%) ]
  ├─ [ 4 / 7 ] InstallAssistant.pkg............ [ 06.45 GB / 12.91 GB (50.00%) ]
  ├─ [ 4 / 7 ] InstallAssistant.pkg............ [ 06.58 GB / 12.91 GB (51.00%) ]
  ├─ [ 4 / 7 ] InstallAssistant.pkg............ [ 06.71 GB / 12.91 GB (52.00%) ]
  ├─ [ 4 / 7 ] InstallAssistant.pkg............ [ 06.84 GB / 12.91 GB (53.00%) ]
  ├─ [ 4 / 7 ] InstallAssistant.pkg............ [ 06.97 GB / 12.91 GB (54.00%) ]
  ├─ [ 4 / 7 ] InstallAssistant.pkg............ [ 07.10 GB / 12.91 GB (55.00%) ]
  ├─ [ 4 / 7 ] InstallAssistant.pkg............ [ 07.23 GB / 12.91 GB (56.00%) ]
  ├─ [ 4 / 7 ] InstallAssistant.pkg............ [ 07.36 GB / 12.91 GB (57.00%) ]
  ├─ [ 4 / 7 ] InstallAssistant.pkg............ [ 07.49 GB / 12.91 GB (58.00%) ]
  ├─ [ 4 / 7 ] InstallAssistant.pkg............ [ 07.61 GB / 12.91 GB (59.00%) ]
  ├─ [ 4 / 7 ] InstallAssistant.pkg............ [ 07.74 GB / 12.91 GB (60.00%) ]
  ├─ [ 4 / 7 ] InstallAssistant.pkg............ [ 07.87 GB / 12.91 GB (61.00%) ]
  ├─ [ 4 / 7 ] InstallAssistant.pkg............ [ 08.00 GB / 12.91 GB (62.00%) ]
  ├─ [ 4 / 7 ] InstallAssistant.pkg............ [ 08.13 GB / 12.91 GB (63.00%) ]
  ├─ [ 4 / 7 ] InstallAssistant.pkg............ [ 08.26 GB / 12.91 GB (64.00%) ]
  ├─ [ 4 / 7 ] InstallAssistant.pkg............ [ 08.39 GB / 12.91 GB (65.00%) ]
  ├─ [ 4 / 7 ] InstallAssistant.pkg............ [ 08.52 GB / 12.91 GB (66.00%) ]
  ├─ [ 4 / 7 ] InstallAssistant.pkg............ [ 08.65 GB / 12.91 GB (67.00%) ]
  ├─ [ 4 / 7 ] InstallAssistant.pkg............ [ 08.78 GB / 12.91 GB (68.00%) ]
  ├─ [ 4 / 7 ] InstallAssistant.pkg............ [ 08.91 GB / 12.91 GB (69.00%) ]
  ├─ [ 4 / 7 ] InstallAssistant.pkg............ [ 09.03 GB / 12.91 GB (70.00%) ]
  ├─ [ 4 / 7 ] InstallAssistant.pkg............ [ 09.16 GB / 12.91 GB (71.00%) ]
  ├─ [ 4 / 7 ] InstallAssistant.pkg............ [ 09.29 GB / 12.91 GB (72.00%) ]
  ├─ [ 4 / 7 ] InstallAssistant.pkg............ [ 09.42 GB / 12.91 GB (73.00%) ]
  ├─ [ 4 / 7 ] InstallAssistant.pkg............ [ 09.55 GB / 12.91 GB (74.00%) ]
  ├─ [ 4 / 7 ] InstallAssistant.pkg............ [ 09.68 GB / 12.91 GB (75.00%) ]
  ├─ [ 4 / 7 ] InstallAssistant.pkg............ [ 09.81 GB / 12.91 GB (76.00%) ]
  ├─ [ 4 / 7 ] InstallAssistant.pkg............ [ 09.94 GB / 12.91 GB (77.00%) ]
  ├─ [ 4 / 7 ] InstallAssistant.pkg............ [ 10.07 GB / 12.91 GB (78.00%) ]
  ├─ [ 4 / 7 ] InstallAssistant.pkg............ [ 10.20 GB / 12.91 GB (79.00%) ]
  ├─ [ 4 / 7 ] InstallAssistant.pkg............ [ 10.33 GB / 12.91 GB (80.00%) ]
  ├─ [ 4 / 7 ] InstallAssistant.pkg............ [ 10.45 GB / 12.91 GB (81.00%) ]
  ├─ [ 4 / 7 ] InstallAssistant.pkg............ [ 10.58 GB / 12.91 GB (82.00%) ]
  ├─ [ 4 / 7 ] InstallAssistant.pkg............ [ 10.71 GB / 12.91 GB (83.00%) ]
  ├─ [ 4 / 7 ] InstallAssistant.pkg............ [ 10.84 GB / 12.91 GB (84.00%) ]
  ├─ [ 4 / 7 ] InstallAssistant.pkg............ [ 10.97 GB / 12.91 GB (85.00%) ]
  ├─ [ 4 / 7 ] InstallAssistant.pkg............ [ 11.10 GB / 12.91 GB (86.00%) ]
  ├─ [ 4 / 7 ] InstallAssistant.pkg............ [ 11.23 GB / 12.91 GB (87.00%) ]
  ├─ [ 4 / 7 ] InstallAssistant.pkg............ [ 11.36 GB / 12.91 GB (88.00%) ]
  ├─ [ 4 / 7 ] InstallAssistant.pkg............ [ 11.49 GB / 12.91 GB (89.00%) ]
  ├─ [ 4 / 7 ] InstallAssistant.pkg............ [ 11.62 GB / 12.91 GB (90.00%) ]
  ├─ [ 4 / 7 ] InstallAssistant.pkg............ [ 11.74 GB / 12.91 GB (91.00%) ]
  ├─ [ 4 / 7 ] InstallAssistant.pkg............ [ 11.87 GB / 12.91 GB (92.00%) ]
  ├─ [ 4 / 7 ] InstallAssistant.pkg............ [ 12.00 GB / 12.91 GB (93.00%) ]
  ├─ [ 4 / 7 ] InstallAssistant.pkg............ [ 12.13 GB / 12.91 GB (94.00%) ]
  ├─ [ 4 / 7 ] InstallAssistant.pkg............ [ 12.26 GB / 12.91 GB (95.00%) ]
  ├─ [ 4 / 7 ] InstallAssistant.pkg............ [ 12.39 GB / 12.91 GB (96.00%) ]
  ├─ [ 4 / 7 ] InstallAssistant.pkg............ [ 12.52 GB / 12.91 GB (97.00%) ]
  ├─ [ 4 / 7 ] InstallAssistant.pkg............ [ 12.65 GB / 12.91 GB (98.00%) ]
  ├─ [ 4 / 7 ] InstallAssistant.pkg............ [ 12.78 GB / 12.91 GB (99.00%) ]
  ├─ [ 4 / 7 ] InstallAssistant.pkg............ [ 12.91 GB / 12.91 GB (100.0%) ]
  ├─ [ 4 / 7 ] InstallAssistant.pkg............ [ 10.22 GB / 10.22 GB (100.0%) ]
  │            Verifying...
  │            Verifying... [0;32m✓✓✓[0;0m
  ├─ [ 5 / 7 ] InstallInfo.plist............... [  0000  B /  0181  B (00.00%) ]
  ├─ [ 5 / 7 ] InstallInfo.plist............... [  0181  B /  0181  B (100.0%) ]
  ├─ [ 5 / 7 ] InstallInfo.plist............... [  0181  B /  0181  B (100.0%) ]
  │            Verifying...
  │            Verifying... [0;32m✓✓✓[0;0m
  ├─ [ 6 / 7 ] MajorOSInfo.pkg................. [  0000  B / 01.41 MB (00.00%) ]
  ├─ [ 6 / 7 ] MajorOSInfo.pkg................. [ 80.67 KB / 01.41 MB (05.72%) ]
  ├─ [ 6 / 7 ] MajorOSInfo.pkg................ [ 146.20 KB / 01.41 MB (10.37%) ]
  ├─ [ 6 / 7 ] MajorOSInfo.pkg................ [ 211.74 KB / 01.41 MB (15.02%) ]
  ├─ [ 6 / 7 ] MajorOSInfo.pkg................ [ 277.27 KB / 01.41 MB (19.67%) ]
  ├─ [ 6 / 7 ] MajorOSInfo.pkg................ [ 342.81 KB / 01.41 MB (24.32%) ]
  ├─ [ 6 / 7 ] MajorOSInfo.pkg................ [ 418.37 KB / 01.41 MB (29.68%) ]
  ├─ [ 6 / 7 ] MajorOSInfo.pkg................ [ 483.90 KB / 01.41 MB (34.33%) ]
  ├─ [ 6 / 7 ] MajorOSInfo.pkg................ [ 549.44 KB / 01.41 MB (38.98%) ]
  ├─ [ 6 / 7 ] MajorOSInfo.pkg................ [ 614.98 KB / 01.41 MB (43.63%) ]
  ├─ [ 6 / 7 ] MajorOSInfo.pkg................ [ 690.56 KB / 01.41 MB (48.99%) ]
  ├─ [ 6 / 7 ] MajorOSInfo.pkg................ [ 756.10 KB / 01.41 MB (53.64%) ]
  ├─ [ 6 / 7 ] MajorOSInfo.pkg................ [ 821.63 KB / 01.41 MB (58.29%) ]
  ├─ [ 6 / 7 ] MajorOSInfo.pkg................ [ 887.17 KB / 01.41 MB (62.94%) ]
  ├─ [ 6 / 7 ] MajorOSInfo.pkg................ [ 952.70 KB / 01.41 MB (67.59%) ]
  ├─ [ 6 / 7 ] MajorOSInfo.pkg................. [ 01.02 MB / 01.41 MB (72.24%) ]
  ├─ [ 6 / 7 ] MajorOSInfo.pkg................. [ 01.08 MB / 01.41 MB (76.89%) ]
  ├─ [ 6 / 7 ] MajorOSInfo.pkg................. [ 01.15 MB / 01.41 MB (81.54%) ]
  ├─ [ 6 / 7 ] MajorOSInfo.pkg................. [ 01.21 MB / 01.41 MB (86.18%) ]
  ├─ [ 6 / 7 ] MajorOSInfo.pkg................. [ 01.29 MB / 01.41 MB (91.63%) ]
  ├─ [ 6 / 7 ] MajorOSInfo.pkg................. [ 01.36 MB / 01.41 MB (96.28%) ]
  ├─ [ 6 / 7 ] MajorOSInfo.pkg................. [ 01.41 MB / 01.41 MB (100.0%) ]
  ├─ [ 6 / 7 ] MajorOSInfo.pkg................. [ 01.41 MB / 01.41 MB (100.0%) ]
  │            Verifying...
  │            Verifying... [0;32m✓✓✓[0;0m
  ├─ [ 7 / 7 ] UpdateBrain.zip................. [  0000  B / 03.70 MB (00.00%) ]
  ├─ [ 7 / 7 ] UpdateBrain.zip................. [ 80.67 KB / 03.70 MB (02.18%) ]
  ├─ [ 7 / 7 ] UpdateBrain.zip................ [ 146.21 KB / 03.70 MB (03.95%) ]
  ├─ [ 7 / 7 ] UpdateBrain.zip................ [ 228.13 KB / 03.70 MB (06.17%) ]
  ├─ [ 7 / 7 ] UpdateBrain.zip................ [ 293.67 KB / 03.70 MB (07.94%) ]
  ├─ [ 7 / 7 ] UpdateBrain.zip................ [ 359.20 KB / 03.70 MB (09.71%) ]
  ├─ [ 7 / 7 ] UpdateBrain.zip................ [ 434.75 KB / 03.70 MB (11.76%) ]
  ├─ [ 7 / 7 ] UpdateBrain.zip................ [ 500.29 KB / 03.70 MB (13.53%) ]
  ├─ [ 7 / 7 ] UpdateBrain.zip................ [ 565.82 KB / 03.70 MB (15.30%) ]
  ├─ [ 7 / 7 ] UpdateBrain.zip................ [ 631.36 KB / 03.70 MB (17.07%) ]
  ├─ [ 7 / 7 ] UpdateBrain.zip................ [ 706.94 KB / 03.70 MB (19.12%) ]
  ├─ [ 7 / 7 ] UpdateBrain.zip................ [ 772.48 KB / 03.70 MB (20.89%) ]
  ├─ [ 7 / 7 ] UpdateBrain.zip................ [ 838.02 KB / 03.70 MB (22.66%) ]
  ├─ [ 7 / 7 ] UpdateBrain.zip................ [ 903.55 KB / 03.70 MB (24.43%) ]
  ├─ [ 7 / 7 ] UpdateBrain.zip................ [ 969.09 KB / 03.70 MB (26.21%) ]
  ├─ [ 7 / 7 ] UpdateBrain.zip................. [ 01.03 MB / 03.70 MB (27.98%) ]
  ├─ [ 7 / 7 ] UpdateBrain.zip................. [ 01.10 MB / 03.70 MB (29.75%) ]
  ├─ [ 7 / 7 ] UpdateBrain.zip................. [ 01.17 MB / 03.70 MB (31.52%) ]
  ├─ [ 7 / 7 ] UpdateBrain.zip................. [ 01.23 MB / 03.70 MB (33.30%) ]
  ├─ [ 7 / 7 ] UpdateBrain.zip................. [ 01.30 MB / 03.70 MB (35.07%) ]
  ├─ [ 7 / 7 ] UpdateBrain.zip................. [ 01.38 MB / 03.70 MB (37.28%) ]
  ├─ [ 7 / 7 ] UpdateBrain.zip................. [ 01.44 MB / 03.70 MB (39.06%) ]
  ├─ [ 7 / 7 ] UpdateBrain.zip................. [ 01.51 MB / 03.70 MB (40.83%) ]
  ├─ [ 7 / 7 ] UpdateBrain.zip................. [ 01.58 MB / 03.70 MB (42.60%) ]
  ├─ [ 7 / 7 ] UpdateBrain.zip................. [ 01.64 MB / 03.70 MB (44.37%) ]
  ├─ [ 7 / 7 ] UpdateBrain.zip................. [ 01.71 MB / 03.70 MB (46.14%) ]
  ├─ [ 7 / 7 ] UpdateBrain.zip................. [ 01.77 MB / 03.70 MB (47.92%) ]
  ├─ [ 7 / 7 ] UpdateBrain.zip................. [ 01.84 MB / 03.70 MB (49.86%) ]
  ├─ [ 7 / 7 ] UpdateBrain.zip................. [ 01.91 MB / 03.70 MB (51.63%) ]
  ├─ [ 7 / 7 ] UpdateBrain.zip................. [ 01.97 MB / 03.70 MB (53.40%) ]
  ├─ [ 7 / 7 ] UpdateBrain.zip................. [ 02.04 MB / 03.70 MB (55.17%) ]
  ├─ [ 7 / 7 ] UpdateBrain.zip................. [ 02.12 MB / 03.70 MB (57.22%) ]
  ├─ [ 7 / 7 ] UpdateBrain.zip................. [ 02.18 MB / 03.70 MB (58.99%) ]
  ├─ [ 7 / 7 ] UpdateBrain.zip................. [ 02.25 MB / 03.70 MB (60.76%) ]
  ├─ [ 7 / 7 ] UpdateBrain.zip................. [ 02.31 MB / 03.70 MB (62.53%) ]
  ├─ [ 7 / 7 ] UpdateBrain.zip................. [ 02.38 MB / 03.70 MB (64.30%) ]
  ├─ [ 7 / 7 ] UpdateBrain.zip................. [ 02.44 MB / 03.70 MB (66.08%) ]
  ├─ [ 7 / 7 ] UpdateBrain.zip................. [ 02.51 MB / 03.70 MB (67.85%) ]
  ├─ [ 7 / 7 ] UpdateBrain.zip................. [ 02.57 MB / 03.70 MB (69.62%) ]
  ├─ [ 7 / 7 ] UpdateBrain.zip................. [ 02.64 MB / 03.70 MB (71.39%) ]
  ├─ [ 7 / 7 ] UpdateBrain.zip................. [ 02.72 MB / 03.70 MB (73.47%) ]
  ├─ [ 7 / 7 ] UpdateBrain.zip................. [ 02.78 MB / 03.70 MB (75.24%) ]
  ├─ [ 7 / 7 ] UpdateBrain.zip................. [ 02.85 MB / 03.70 MB (77.02%) ]
  ├─ [ 7 / 7 ] UpdateBrain.zip................. [ 02.91 MB / 03.70 MB (78.79%) ]
  ├─ [ 7 / 7 ] UpdateBrain.zip................. [ 02.98 MB / 03.70 MB (80.56%) ]
  ├─ [ 7 / 7 ] UpdateBrain.zip................. [ 03.04 MB / 03.70 MB (82.33%) ]
  ├─ [ 7 / 7 ] UpdateBrain.zip................. [ 03.11 MB / 03.70 MB (84.10%) ]
  ├─ [ 7 / 7 ] UpdateBrain.zip................. [ 03.18 MB / 03.70 MB (85.88%) ]
  ├─ [ 7 / 7 ] UpdateBrain.zip................. [ 03.24 MB / 03.70 MB (87.65%) ]
  ├─ [ 7 / 7 ] UpdateBrain.zip................. [ 03.31 MB / 03.70 MB (89.42%) ]
  ├─ [ 7 / 7 ] UpdateBrain.zip................. [ 03.40 MB / 03.70 MB (92.08%) ]
  ├─ [ 7 / 7 ] UpdateBrain.zip................. [ 03.47 MB / 03.70 MB (93.85%) ]
  ├─ [ 7 / 7 ] UpdateBrain.zip................. [ 03.54 MB / 03.70 MB (95.62%) ]
  ├─ [ 7 / 7 ] UpdateBrain.zip................. [ 03.61 MB / 03.70 MB (97.73%) ]
  ├─ [ 7 / 7 ] UpdateBrain.zip................. [ 03.68 MB / 03.70 MB (99.51%) ]
  ├─ [ 7 / 7 ] UpdateBrain.zip................. [ 03.70 MB / 03.70 MB (100.0%) ]
  ├─ [ 7 / 7 ] UpdateBrain.zip................. [ 03.70 MB / 03.70 MB (100.0%) ]
  │            Verifying...
  │            Verifying... [0;32m✓✓✓[0;0m
┌─────────┐
│ INSTALL │
└─────────┘
  ├─ Creating image '/private/tmp/com.ninxsoft.mist/052-09398/052-09398.dmg'...
  └─ Invalid Exit Status Code: '1', Message: hdiutil: create failed - No space left on device

2023-12-04 11:16:23 | v31.0 | [run_mist] No installer found. I guess nothing got downloaded.

2023-12-04 11:16:23 | v31.0 | [erase-install] attempting to terminate the 'caffeinate' process - Termination message indicates success

2023-12-04 11:16:23 | v31.0 | [finish] sending quit message to dialog (/var/tmp/dialog.fkU)
2023-12-04 11:16:23 | v31.0 | [finish] Script exit code: 1
[STEP 5 of 5]
Unmounting file server...

Screenshots N/A

Environment (please complete the following information):

Additional context We are currently testing the upgrade to Sonoma, we have had 2/3 machines successfully update using this exact policy, but this machine gets the whole way through the process and then produces this error/exit code? I have flushed and run this policy twice, each time producing this error. After restarting the machine, it re-asks for permissions as if something has changed, but it hasn't updated to 14.

grahampugh commented 9 months ago

You have set min-drive-space to 25GB but that's almost certainly too small. My guess is that is why it's getting through the drive space but then doesn't have enough space to mount the installer.

tomnelhams commented 9 months ago

Thanks very much for your response! I will give changing that variable a try, although I don't fully understand what difference that should make in the grand scheme of the script?

My understanding is that this is a check, this is confirmed in the script output.

2023-12-04 10:36:59 | v31.0 | [check_free_space] OK - 78 GB free/purgeable disk space detected

The macOS installer is 12GB, I would assume it would need to write more data over that over the update, but 65GB of extra write seems to be a bit of a stretch? The erase-install pkg again is only 9MB and the extra installs that the script pushes will certainly not add up to an extra 65GB...

This error code seems to relate to a temp image:

'/private/tmp/com.ninxsoft.mist/052-09398/052-09398.dmg'

The hdiutil is used to manipulate disk images, this is what is erroring in the script, not the total storage space on the Mac.

My question is, what is this temp file size supposed to be? Where is the limit on this temp image dictated and why is this exceeding said limit in such a way that the script fails, despite the Mac having plenty of available space?

grahampugh commented 9 months ago

The error message is from mist-cli. For whatever reason, it has run out of space. You can ask for details in the mist-cli GitHub page, but I believe that the installer is downloaded in parts, and mist creates a temporary writable DMG to assemble them together, which is then discarded once the assembled app is moved to the application folders. But each step needs space (startosinstall also needs space to prepare the snapshot), so there's no point trying to get away with setting a lower space limit than the recommendation.

grahampugh commented 9 months ago

The error message is from mist-cli. For whatever reason, it has run out of space. You can ask for details in the mist-cli GitHub page, but I believe that the installer is downloaded in parts, and mist creates a temporary writable DMG to assemble them together, which is then discarded once the assembled app is moved to the application folders. But each step needs space (startosinstall also needs space to prepare the snapshot), so there's no point trying to get away with setting a lower space limit than the recommendation.

grahampugh commented 3 months ago

Closing through lack of response.