orbstack: Data corrupted after migrating to a new Mac

Describe the bug start containers error when open orbstack

To Reproduce open orbstack app and click start container in m2 max MacBook with os version macOS 13.4

Expected behavior A clear and concise description of what you expected to happen.

Screenshots image

Logs Attach log files by opening OrbStack’s Help menu and clicking “Show Logs”, or email them for privacy.

PLEASE ATTACH THE ENTIRE LOG FILE WITHOUT REMOVING ANY LINES. There is usually important context earlier in the log.

Info report

🌲 vmgr | time="06-09 16:46:15" level=info msg="configuring VM"
🌲 vmgr | time="06-09 16:46:15" level=info msg="forwarding SSH agent" sock=/private/tmp/com.apple.launchd.ZZwrgjgrcO/Listeners
🌲 vmgr | time="06-09 16:46:15" level=info msg="starting VM"
2023-06-09 16:46:15.929 OrbStack Helper (VM)[58463:395825] [VZF] start: begin ffi
2023-06-09 16:46:15.930 OrbStack Helper (VM)[58463:395828] [VZF] start: begin task
2023-06-09 16:46:15.930 OrbStack Helper (VM)[58463:395827] [VZF] start: begin dispatch call
🌲 vmgr | time="06-09 16:46:15" level=info msg="using proxy: socks" host=127.0.0.1 port=7890
2023-06-09 16:46:15.971 OrbStack Helper (VM)[58463:395827] [VZF] start: completed failure(Error Domain=VZErrorDomain Code=2 "A storage device configuration is invalid." UserInfo={NSLocalizedFailure=Invalid virtual machine configuration., NSLocalizedFailureReason=A storage device configuration is invalid., NSUnderlyingError=0x60000276d530 {Error Domain=VZErrorDomain Code=2 "The storage device attachment is invalid." UserInfo={NSLocalizedFailure=Invalid virtual machine configuration., NSLocalizedFailureReason=The storage device attachment is invalid.}}})
panic: Error Domain=VZErrorDomain Code=2 "A storage device configuration is invalid." UserInfo={NSLocalizedFailure=Invalid virtual machine configuration., NSLocalizedFailureReason=A storage device configuration is invalid., NSUnderlyingError=0x60000276d530 {Error Domain=VZErrorDomain Code=2 "The storage device attachment is invalid." UserInfo={NSLocalizedFailure=Invalid virtual machine configuration., NSLocalizedFailureReason=The storage device attachment is invalid.}}} [recovered]
panic: Error Domain=VZErrorDomain Code=2 "A storage device configuration is invalid." UserInfo={NSLocalizedFailure=Invalid virtual machine configuration., NSLocalizedFailureReason=A storage device configuration is invalid., NSUnderlyingError=0x60000276d530 {Error Domain=VZErrorDomain Code=2 "The storage device attachment is invalid." UserInfo={NSLocalizedFailure=Invalid virtual machine configuration., NSLocalizedFailureReason=The storage device attachment is invalid.}}}

goroutine 1 [running]:
main.runVmManager.func1()
github.com/orbstack/macvirt/macvmgr/main.go:355 +0x64
panic({0x1031eede0, 0x14000582500})
runtime/panic.go:890 +0x258
main.check(...)
github.com/orbstack/macvirt/macvmgr/main.go:98
main.runVmManager()
github.com/orbstack/macvirt/macvmgr/main.go:579 +0x1e48
main.main()
github.com/orbstack/macvirt/macvmgr/main.go:785 +0xe8

Additional context Add any other context about the problem here.

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Comments: 17 (8 by maintainers)

Most upvoted comments

It’s most likely something odd going on with permissions after migration. Architecture migration has been supported since v0.12.0.

Does this happen consistently or was it a one -time thing? Did you change the data folder or touch anything in ~/.orbstack?

everytime after I open app and click start containers 。I solve this problem by delete ~/.Orbstack