VMware Horizon Community
Super6VCA
Expert
Expert

Ruby Error during Install/upgrade to 2.13.1

Trying to upgrade to 2.13 from 2.11 and now getting an error during install.

App Vol Manager - InstallShield Wizard

Error Generating self-signed certificate

See log\generate_cert.log for details

In that log this is the error i get...

C:/Program Files (x86)/CloudVolumes/Manager/ruby/lib/ruby/site_ruby/2.2.0/rbreadline.rb:1097:in `<module:RbReadline>': HOME environment variable (or HOMEDRIVE and HOMEPATH) must be set and point to a directory (RuntimeError)

Any Ideas?   Thanks!

Thank you, Perry
8 Replies
ChakriA
VMware Employee
VMware Employee

Hi Super6VCA,

Could you please let me know if you have a environment variable "HOME" set.

What is the value it is set to?

0 Kudos
Super6VCA
Expert
Expert

i tried to set it manually and that did not work either.  Tried to set HOME, HOMEPATH, and HOME DRIVE.

HOME set to C:\users\%username%

Thank you, Perry
0 Kudos
ChakriA
VMware Employee
VMware Employee

Is there any application which has dependency on "HOME" environment variable?

If not could you please try to remove that env variable and then try to install/upgrade

0 Kudos
jgemcs
Enthusiast
Enthusiast

Hi,

same Error here during fresh Installation Version 2.13.3

Fresh Installation, Windows Server 2016:

#### Create log folders

#### Generating nginx server ssl certificate

C:/Program Files (x86)/CloudVolumes/Manager/ruby/lib/ruby/site_ruby/2.2.0/rbreadline.rb:1097:in `<module:RbReadline>': HOME environment variable (or HOMEDRIVE and HOMEPATH) must be set and point to a directory (RuntimeError)

from C:/Program Files (x86)/CloudVolumes/Manager/ruby/lib/ruby/site_ruby/2.2.0/rbreadline.rb:17:in `<top (required)>'

from C:/Program Files (x86)/CloudVolumes/Manager/ruby/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:55:in `require'

from C:/Program Files (x86)/CloudVolumes/Manager/ruby/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:55:in `require'

from C:/Program Files (x86)/CloudVolumes/Manager/ruby/lib/ruby/site_ruby/2.2.0/readline.rb:10:in `<module:Readline>'

pastedImage_0.png

0 Kudos
sjesse
Leadership
Leadership

Are you running the manager installer with administrative rights?

0 Kudos
sjesse
Leadership
Leadership

Also, when I went from 2.10 to 2.13 I could never jump versions. I had to go to 2.11, to 2.12 to 2.12.2 to 2.13. they made some big changes in 2.12 which might be that HOME directory. I've never seen an upgrade path spelled out, but there might need to be one.

0 Kudos
EMort
Contributor
Contributor

This is a result of how Ruby looks at the HOME settings. If your HOME directory points to a network share, you'll need to change it to a local location or use the local Admin account to get the installer to work correctly.

kaliyan
Contributor
Contributor

are you able to fix this issue?

0 Kudos