-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"The file couldn't be opened" when attempting to change VM settings #6639
Comments
Hello I had a slightly similar issue #6398 , which was fixed in the 4.5.4 release. |
I can consistently reproduce it:
I did see this issue, however I'm still having the problem. I didn't want to comment on a closed issue just in case it got missed by UTM maintainers. I should note that this is the first time I've installed UTM on this particular Mac, so there should be no leftover support files from previous versions.
I am indeed. |
I encountered the same issue. I’m using macOS Sequoia (24A5331b). Maybe UTM should be optimized and adapted for macOS Sequoia |
I hardly encountered any similar issues with UTM before updating Sequoia (upgrading from an older Beta version to a newer Beta version), but I started experiencing this problem after upgrading to a higher Sequoia Beta version Sorry, I may have said a lot of unnecessary things, but these issues might only occur on Sequoia Beta (UTC+8 9.5 12:56)It seems that by cleaning the ~/Library/Containers/com.utmapp.UTM.* folder, I was able to get the program running normally.
|
I have the same issue on macOS Sequoia RC (24A335). Installed UTM for the first time (with Homebrew), created a couple of macOS and Ubuntu VM's and everything was working flawlessly. Then all of a sudden I started getting the "The file couldn't be opened" when creating a new VM and even editing an existing. Not sure what triggered it.
Unfortunately this didn't work for me. I also tried uninstalling ( |
Same issue here. Cannot assign a boot ISO image for installing an OS. Installed Sequoia yesterday and running UTM 4.5.4 (100). When trying to open an ISO from the VM's overview rather than the settings, no error message appears, but the selection is immediately reset (emptied) after having confirmed the selection. |
Same issue here. |
Same issue macOS Sequoia 15.0 (24A335). |
Also getting the same issue, macOS 15.0 (24A335). Can't edit VM without getting "file couldn't be opened" message. Basically can't use my VM as I need to edit its settings to make it run |
Has anyone solved this? |
I have the same issue on macOS Sequoia 15.0 and UTM 4.4.5. I keep getting the error message but the changes seem to be saved. Changing the network settings on the VM gives an error message but the changes are still saved. The error message is not affecting the function and the bug seems to be only cosmetical. Neither updating to UTM 4.5.4 nor buying the app from the App Store helps. The update 4.5.4 doesn't remove the error message. |
Same issue with macOS Sequoia 15.0 and UTM 4.5.4. Uninstalling/reinstalling UTM = no change. Clearing the mentioned folder(s), ~/Library/Containers/com.utmapp.UTM = no change. Another problem, if it hasn't already been mentioned, immediately following the creation of a new VM, the VM does not show until closing and reopening UTM. |
Same issue here. |
Same issue here using sequoia |
Same issue here, from when I updated to Sequoia |
It appears that #6709 is another symptom. I wonder if the issue is a permissions one caused by Sequoia. I note errors in launchd.log which might be related: ./com.apple.xpc.launchd/launchd.log:2024-10-03 13:26:33.882914 (pid/66653 [UTM]) <Warning>: failed activation: name = com.utmapp.UTM.apple-extension-service, flags = 0x0, requestor = com.apple.appki[71850], error = 1: Operation not permitted
./com.apple.xpc.launchd/launchd.log:2024-10-03 13:38:46.837092 (pid/72135 [UTM]) <Warning>: failed activation: name = com.utmapp.UTM.apple-extension-service, flags = 0x0, requestor = com.apple.appki[72139], error = 1: Operation not permitted
./com.apple.xpc.launchd/launchd.log:2024-10-03 13:40:09.131939 (pid/72158 [UTM]) <Warning>: failed activation: name = com.utmapp.UTM.apple-extension-service, flags = 0x0, requestor = com.apple.appki[72163], error = 1: Operation not permitted
./com.apple.xpc.launchd/launchd.log:2024-10-03 13:54:19.242187 (pid/73688 [UTM]) <Warning>: failed activation: name = com.utmapp.UTM.apple-extension-service, flags = 0x0, requestor = com.apple.appki[73701], error = 1: Operation not permitted
./com.apple.xpc.launchd/launchd.log:2024-10-03 13:56:19.552343 (pid/73734 [UTM]) <Warning>: failed activation: name = com.utmapp.UTM.apple-extension-service, flags = 0x0, requestor = com.apple.appki[73740], error = 1: Operation not permitted
./com.apple.xpc.launchd/launchd.log:2024-10-03 13:57:38.779096 (pid/73756 [UTM]) <Warning>: failed activation: name = com.utmapp.UTM.apple-extension-service, flags = 0x0, requestor = com.apple.appki[73765], error = 1: Operation not permitted I note that I attempted to move machines around and the result was that the "moved" machine became unusable. I also created two machines with the same name, neither opened the preferences pane when I ticked the box during creation. I was unable to point at a .ISO file in my home directory and I was unable to set the shared directory to /Users/Shared which is what I'd been using before upgrading to Sequoia. I was unable to locate any UTM specific logging and I'm fairly sure that the issue occurs outside qemu, as-in, this is a UTM issue. Existing machines that have not been edited appear to work normally. I also note that for a period after upgrading to Sequoia I was able to use UTM normally. It wasn't until today that it all broke. I have only rebooted after the upgrade, six days ago. I am unable to determine if there is a "helper" process that is running asynchronously that might be causing this. Installed via homebrew:
|
Also #6707 |
Also #6699 |
Also #6692 |
I have just installed the MacOS Sequoia update to 15.0.1. This comes with a reboot. I don't know if the reboot or the upgrade fixed this issue, but so far I can edit the preferences of a VM. |
Can someone who is experiencing this issue generate a sysdiagnose as soon as they experience the error (so it can be the last event that is captured)? Note that this will contain identifiers from your machine including username, location, etc so only share it if you feel comfortable. You can email dev (at) getutm (dot) app with the dump. |
Same issue, fixed after upgrading the system to |
Can others in this thread confirm if 15.0.1 fixes it? |
15.0.1 fixed it for me. |
Same here, 15.0.1 fixed it |
I will advise a bit of caution here... There are multiple symptoms captured across different bugs that seem to be related to the tightened Sequoia security. I've experienced all of those:
What I did (and thought to be the solution) was:
But then, a week later, all problems are back. So an update to 15.0.1 might give you the illusion is fixed (since it entails a reboot) |
Weird. |
On my machine it worked fine on 15.0 for several days, until it didn't.
As I said in my comment, the fix might be the reboot, or it might be the
update to 15.0.1.
My machine, a MacBook Air, sleeps when not in use, so I'll be monitoring
this and attempt to get a log if it happens again.
…--
finger painting on glass is an inexact art - apologies for any errors in
this scra^Hibble
()/)/)() ..ASCII for Onno..
On Sat, 5 Oct 2024, 16:32 freebrowser1, ***@***.***> wrote:
Weird.
In my Macbook M1 Pro the Sequoia upgrade didn't affect UTM adversely. It
runs Win11(x64) and Ubuntu(arm and x64) VM's without issue.
—
Reply to this email directly, view it on GitHub
<#6639 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AF4P4JBKGGYJZO3CU6KWEXLZZ6PZ5AVCNFSM6AAAAABNLE5HQGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOJUHE4DAOBVHE>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Reminder: #6639 (comment) if people are still experiencing the issue |
I don't have any problems with UTM on Macos 15.0.1 so far |
Upgrade to 15.0.1 seems to have resolved the issue for me |
I'm sorry to report that the issue has now reoccurred after upgrading to macOS Sequoia 15.0.1. I have created a I am unable to determine which data in the 1,591 files that process generated contains personal and private information, so I'm uncomfortable with sending the entire archive. Which files would you like to look at @osy ? |
To start with |
That directory alone is 373 MB and contains 717 files. Care to narrow it down a tad? |
You can grep for UTM (case sensitive) and only export lines containing that |
Only three of the matching files are text files. This is the list of files that contain the string UTM. In total, compressed, they are 52M.
|
I guess they are compressed. Open the logarchive and it should open up Console. Type in UTM as the filter and see if you can export the resulting entries. |
To create this I did the following:
|
To be clear, you've gotten the error when trying to save VM settings? I don't see any references to config.plist in the logs. Maybe you can search for that in the logarchive? |
|
In answer to your question, yes, I was trying to save a VM preference. |
Also, since you're likely to ask, this is the output from
And this is what
|
Okay but that's unrelated to UTM. It should be an error accessing some file in your .utm bundle. |
What is the name of the file that the preferences save uses? |
Example: |
I've just created a VM from scratch, quit UTM, since you cannot click on the machine, relaunched, attempted to update the preferences (by turning off UEFI) and clicking "Save". I then created a new sysdiagnose, extracted the logs, opened it in Console, searched for a different config.plist, it's not there, just the one I already showed you. |
I'm on 15.0.1 and am seeing this error when trying to save changes to my Shared Folder (well, it seems to have forgotten my shared folder, and now I can't save it, so no sharing is possible... argh!) I'll send out a sysdiagnose later today. |
Today, without upgrading neither macOS or UTM, the problem is back |
Here you can find logs from sysdiagnose UTM.log |
I don't know if this is at all related, but other apps are also seeing problems accessing files outside of macOS sandbox in Sequoia and apparently fix is incoming in macOS 15.1 which is due next week: https://www.reddit.com/r/strongbox/comments/1fo7z20/comment/lp5mtnu/ EDIT: I can confirm that upgrading to macOS 15.1 RC fixed this error for me. |
I've issues too with Sequoia. |
Just installed macOS 15.1 and the issue is resolved with it. |
Please update to 15.1 if you haven't already. Apple claims to have fixed the issue. |
Describe the issue
I noticed a few issues which might all be related:
I have tried granting UTM full disk access in macOS to see if this resolves the issue, to no avail.
Configuration
Crash log
N/A (app isn't crashing)
Debug log
N/A (I can't enable it due to the aforementioned issue)
Upload VM
N/A (applies to all VMs)
The text was updated successfully, but these errors were encountered: