VMware Cloud Community
ShawnGosling
Contributor
Contributor
Jump to solution

Can't edit VM settings in ESXi 6.5 web client

It throws this javascript error in my browser.

I tried firefox, chrome, and IE; both Win 7 and Server 2012R2. No luck!

Haven't tried using VM Workstation to edit VM settings (if that is even possible, now that client vcenter exe is no longer.)

I can add new VM's however...

6.5 feels every beta at this point, web interface is totally unuseable IMO. I think I need to go back to 6.0 or 5.5 (those work!)

Cause: TypeError: $scope.hardwareStackView.hardDiskBlock is undefined

Version: 1.8.0

Build: 4516221

ESXi: 6.5.0

Browser: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:49.0) Gecko/20100101 Firefox/49.0

Exception stack:

@https://192.168.1.120/ui/scripts/main.js:315:946

f/<@https://192.168.1.120/ui/scripts/main.js:265:9465

Me/this.$get</k.prototype.$eval@https://192.168.1.120/ui/scripts/main.js:265:16488

Me/this.$get</k.prototype.$digest@https://192.168.1.120/ui/scripts/main.js:265:15039

Me/this.$get</k.prototype.$evalAsync/<@https://192.168.1.120/ui/scripts/main.js:265:16575

e@https://192.168.1.120/ui/scripts/main.js:264:5644

lf/m.defer/c<@https://192.168.1.120/ui/scripts/main.js:264:7652

1 Solution

Accepted Solutions
Radyair
Contributor
Contributor
Jump to solution

I was having exactly this problem today, stumbled across this post, and have a surprising resolution.

So, testing deployment of a new host server, and benchmarking disk array storage pool performance.

No vSphere is deployed yet so we can use that to manage VMs, and they are just test VMs anyway.

Created a CentOS 7.04 Desktop client - 3Gb ram, 4 cores, 1Gb dedicated video RAM, KDE Plasma desktop.

Also, made sure the Accelerate 3D graphics is checked in Advanced video settings of VM configuration.

After creating the VM, when I tried to edit the settings through Web client, I would get an error, about memory just like to OP,

or regarding the network card sometimes..

And worse, I'm still nowhere with my CentOS system, cannot define the resolution of the display inside the VM.

So I installed (oops removed, then reinstalled) the VMRC Remote Console.

Now I can edit the memory settings for the VM with no error popping up.

And, in frustration over resolution, I maximized the console window.

Lo and behold, my resolution is now 1680x1050,

When I restored the window, then stretched it to some odd shape,

Centos reports that my display resolution is now the windows size, along the lines of 1112x559.

So, install VMRC, VMWare Remote Console. It works when you can't use vSphere.

View solution in original post

9 Replies
ShawnGosling
Contributor
Contributor
Jump to solution

I was able to edit the VM settings using Workstation 12.5 (problem solved.) However it is still an out-of-box problem for RTM ESXi 6.5 web client.

Reply
0 Kudos
TheVElement
VMware Employee
VMware Employee
Jump to solution

Is this issue occuring in the Host Client, or the vCenter HTML5 Client?

If it's the Host Client, while technically unsupported by VMware, you could update it via the Fling to version 1.13.0 to see if that resolves your issue:

ESXi Embedded Host Client

enk37
Contributor
Contributor
Jump to solution

I have exactly the same problem with 6.5

Reply
0 Kudos
santiagoseoane1
Contributor
Contributor
Jump to solution

It's seams to be a bug or something related to html5 gui. I have tested that using both (flash and html5) with a same vm and I was able to edit the settings well using the flash GUI and not with the HTML5 one.

~SMS

Reply
0 Kudos
jnewtonSCM
Enthusiast
Enthusiast
Jump to solution

We're experiencing the same issue. This seems like an important bug that should be fixed, if the HTML5 client is to be a viable way to edit VMs.

Reply
0 Kudos
TS_1
Contributor
Contributor
Jump to solution

Has this been resolved? Im unable to config a cd to connect at poweron even when I use the other client

Reply
0 Kudos
TS_1
Contributor
Contributor
Jump to solution

Work around is to close the browser and reconnect.

Reply
0 Kudos
Radyair
Contributor
Contributor
Jump to solution

I was having exactly this problem today, stumbled across this post, and have a surprising resolution.

So, testing deployment of a new host server, and benchmarking disk array storage pool performance.

No vSphere is deployed yet so we can use that to manage VMs, and they are just test VMs anyway.

Created a CentOS 7.04 Desktop client - 3Gb ram, 4 cores, 1Gb dedicated video RAM, KDE Plasma desktop.

Also, made sure the Accelerate 3D graphics is checked in Advanced video settings of VM configuration.

After creating the VM, when I tried to edit the settings through Web client, I would get an error, about memory just like to OP,

or regarding the network card sometimes..

And worse, I'm still nowhere with my CentOS system, cannot define the resolution of the display inside the VM.

So I installed (oops removed, then reinstalled) the VMRC Remote Console.

Now I can edit the memory settings for the VM with no error popping up.

And, in frustration over resolution, I maximized the console window.

Lo and behold, my resolution is now 1680x1050,

When I restored the window, then stretched it to some odd shape,

Centos reports that my display resolution is now the windows size, along the lines of 1112x559.

So, install VMRC, VMWare Remote Console. It works when you can't use vSphere.

hegdec
VMware Employee
VMware Employee
Jump to solution

I tried quick workaround for the same problem, which worked like a charm. Smiley Happy I just removed the VM from the inventory and registered it back, after which I could edit VM configurations.

Not sure, what exactly is the issue. But, have faced this some times.

Reply
0 Kudos