Open ghost opened 3 years ago
while installing it is asking the novncd port. if you do not modify it, its default is 6080. i think there must be a glitch . as you see nginx conf gives error. you can manually edit the /etc/nginx/conf.d/webvirtcloud.conf file line 34 to fix port number. then it should be worked
Thanks. Did what you said, was able to restart nginx. I reran the install script, still cannot access via https://ipaddress:6080 (tried http:// too).
File "<frozen importlib._bootstrap>", line 994, in _gcd_import
File "<frozen importlib._bootstrap>", line 971, in _find_and_load
File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 678, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/srv/webvirtcloud/webvirtcloud/settings.py", line 189, in <module>
WS_PUBLIC_PORT = n
NameError: name 'n' is not defined
* Configuring Nginx.
* Copying Nginx configuration
* Configuring Supervisor.
* Copying supervisor configuration
not running
* Setting Supervisor to start on boot and restart.
* Setting Nginx to start on boot and starting Nginx.
***Open http:// to login to webvirtcloud.***
* Cleaning up...
* Finished!
[root@server ~]# service supervisor restart
Redirecting to /bin/systemctl restart supervisor.service
Failed to restart supervisor.service: Unit supervisor.service not found.
"/srv/webvirtcloud/webvirtcloud/settings.py" edit this before running installation. set WS_PUBLIC_PORT = 6080
Thanks. Updated file. Reran install. Still no web GUI.
http://ipaddress:6080 (tried with https too)
[root@server ~]# service supervisor restart
Redirecting to /bin/systemctl restart supervisor.service
Failed to restart supervisor.service: Unit supervisor.service not found.
I probably found the reason why this could happen during installation.
There are some questions during install:
Welcome to Webvirtcloud Installer for CentOS, Fedora, Debian and Ubuntu!
The installer has detected Debian version 10 codename buster.
Q1. Do you want to configure fqdn for Nginx? (y/n) n
Q2. Do you want to change NOVNC service port number?(Default: 6080)
Setting novnc service port 6080
Q3. Do you want to change NOVNC public port number for reverse proxy(e.g: 80 or 443)?(Default: 6080)
Setting novnc public port 6080
Q4. Do you want to change NOVNC host listen ip?(Default: 0.0.0.0)
Setting novnc host ip 0.0.0.0
I added the numbers 1-4 in the above snippet for clarity.
To avoid the error please be careful only to answer y/n in Q1 but not in Q2,Q3 and Q4!
If you answer 'n' in any of them, it would lead to an error as described above. Because the installer takes 'n' and tries to use it as a port number.
The correct answer to Q2-Q4 is just hitting enter or write a port number and then hit enter.
The installer could be improved by an additional warning message or explanation, because it is tempting to put the 'n' everywhere.
Or even check for an integer input.
yes it is a semantic problem "do you" question is wrong, answer is thought to be yes or no. may be we should change question style. what should you suggest?
change like;
Do you want to change NOVNC service port number?(Default: 6080)
to
NOVNC service port number?(Default: 6080
Fresh Centos 8 (KVM VPS). Used below method to install:
Results:
Any suggestions? The install said it was complete, but the web GUI is not coming up. Page not found.