Page 1 of 1

cannot save settings (#17781)

Posted: 17. May 2018, 22:52
by bobptz

[ModEdit; related ticket: #17781: "Failed to save settings" for registered VM if HostNetwork or NATnetwork is not available in new host]
Hi

I have Ubuntu 16.04 host (64 bit) and a windows 7 guest (64 bit).

Recently I started having problem making changes to the settings of the guest VM. This is the error I get when I try to save the settings:

https://image.ibb.co/jSOHLd/vb_error.png

Image

Any idea how to fix this?

Re: cannot save settings

Posted: 18. May 2018, 00:08
by socratis
Please attach images locally. Even better, COPY the error message and post the text. Much smaller, copyable, searchable.

Re: cannot save settings

Posted: 18. May 2018, 14:58
by bobptz
ok, here is the error message attached.

It says:
Failed to save the settings

Empty or null host only interface name is not valid
etc etc...

Re: cannot save settings

Posted: 18. May 2018, 15:58
by andyp73
bobptz wrote:Recently I started having problem making changes to the settings of the guest VM.
What has changed on the host between when you last remember it working and now?

-Andy.

Re: cannot save settings

Posted: 18. May 2018, 16:24
by socratis
Go to the VM settings » Network. Check your network adapters, all 4 of them, even if they're disabled, to see that they don't point to something non-existent.

If they do, even if they're disabled (that's a bug soon to gain a ticket number), enable them, make the changes needed to make them valid and then disable them again.

If you can't figure it out, right-click on the VM, "Show in Explorer/Finder/something". ZIP that selected .vbox file and attach it to your response.

BTW, did you create that VM locally, or did you import it from another host?

Re: cannot save settings

Posted: 18. May 2018, 17:57
by bobptz
socratis wrote:Go to the VM settings » Network. Check your network adapters, all 4 of them, even if they're disabled, to see that they don't point to something non-existent.
WOW! That was it! The second tab, although disabled, was attached to something. I made it "Not attached" and the problem is gone.

Thank you so much.

Re: cannot save settings

Posted: 18. May 2018, 22:48
by socratis
bobptz wrote:although disabled, was attached to something
That's exactly what I referred to earlier as "that's a bug soon to gain a ticket number". I've discovered that issue when copying VMs between hosts. Although disabled, a previously configured HostOnly, or NATservice network, that doesn't exist on the new host, will trigger this bug. If the adapter is enabled, it will trigger a warning about the non-existent network. If it's disabled, it should definitely not react like that, but simply revert to "Not Attached".

I talked with the developers earlier this morning (since you actually reminded me to file that bug report), and I did point them to your post. They said that it's not a 5-minute fix, and I need to file a ticket, not to solve it over IRC... ;)

Re: cannot save settings

Posted: 18. May 2018, 23:10
by bobptz
Thank you very much Socratis.

Ευχαριστώ!

Re: cannot save settings (#17781)

Posted: 21. May 2018, 19:28
by socratis
socratis wrote:"that's a bug soon to gain a ticket number"
And the name of the ticket is ... #17781: "Failed to save settings" for registered VM if HostNetwork or NATnetwork is not available in new host