mirror of
https://github.com/retspen/webvirtcloud.git
synced 2026-04-25 23:45:56 +03:00
[GH-ISSUE #15] Can't make it work #11
Labels
No labels
bug
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/webvirtcloud#11
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @romu70 on GitHub (Jun 5, 2015).
Original GitHub issue: https://github.com/retspen/webvirtcloud/issues/15
Hi,
I've installed WebVirtCloud to make some testing. Setup ran fine as much as I can say. If I browse http://localhost, I see the nginx welcome page. But I've tried ports 8000 (like webvirtmgr) and 6080 (taken from the settings.py), none work.
Is webvirtcloud autonomous? Or Do I have to install it with webvirtmgr?
@retspen commented on GitHub (Jun 5, 2015):
Show your nginx settings for webvirtcloud virtual host
@romu70 commented on GitHub (Jun 5, 2015):
Which file ? FYI, in the /etc/nginx/sites-enabled/default, there is no virtual host at all, just the default nginx configuration on port 80.
@retspen commented on GitHub (Jun 5, 2015):
https://github.com/retspen/webvirtcloud#install-webvirtcloud-panel
@romu70 commented on GitHub (Jun 5, 2015):
Yes, this is what I ran yesterday when I installed it. I'll erase my current setup and re-run from scratch. Let you know.
@retspen commented on GitHub (Jun 5, 2015):
In file webvirtmgr.conf for nginx you have parameter "server_name
webvirtcloud.example.com;” you need change it
On Fri, Jun 5, 2015 at 10:35 AM, romu70 notifications@github.com wrote:
@romu70 commented on GitHub (Jun 5, 2015):
So, I re-ran the setup. The /etc/nginx/conf.d/webvirtcloud.conf file is:
And still doesn't work.
@retspen commented on GitHub (Jun 5, 2015):
Change parameter "server_name webvirtcloud.example.com;" - this is virtual host name
@romu70 commented on GitHub (Jun 5, 2015):
Changed to my machine name and restarted both nginx and supervisord. Browsing http://#server_name value# leads to the nginx default page. http://#server_name value#:8000 leads to "Unable to connect".
@retspen commented on GitHub (Jun 7, 2015):
http://your_server_name/ - without 8000
@romu70 commented on GitHub (Jun 8, 2015):
Just the "Welcome to nginx" page.
@retspen commented on GitHub (Jun 8, 2015):
What show?
@romu70 commented on GitHub (Jun 8, 2015):
127.0.1.1 because I'm connected localy to this server.
@retspen commented on GitHub (Jun 8, 2015):
Ok, change
server_name xxxx;toserver_name localhost;and restart nginx service. If you would have problem you need check default config for nginx where define sever_name localhost.@romu70 commented on GitHub (Jun 8, 2015):
Does not change anything, still see the nginx default page.
@retspen commented on GitHub (Jun 8, 2015):
Do you connect to http://localhost ? Remove default nginx settings.
@romu70 commented on GitHub (Jun 8, 2015):
Yes of course. I'll test with webvirtmgr to see if it's better.
@retspen commented on GitHub (Jun 8, 2015):
Can you setup nginx like in webvirtmgr, settings for nginx the same
@romu70 commented on GitHub (Jun 8, 2015):
Ok, removed all files within /var/www, and ran again the installation process, and it works! Don't know where the problem was. Just an issue, it seems to not process the CSS, there is no style on the page.
@retspen commented on GitHub (Jun 8, 2015):
Check
/static/path in config must beroot /var/www/webvirtcloud;@romu70 commented on GitHub (Jun 8, 2015):
Path seems right in the HTML, but the Firefox inspector says: "No CSS Prpperties found".
I've also tried to change "webvirtcloud.example.com" to my machine name in the /etc/nginx/conf.d/webvirtcloud.conf file, but then, I get the "Unable to connect" page again. Only localhost gives me something, but without CSS.
@retspen commented on GitHub (Jun 8, 2015):
Show your nginx error log
@thatnerdjosh commented on GitHub (Jun 27, 2015):
This has been fixed in the latest merges :)
@aa1121 commented on GitHub (Jul 24, 2019):
I'm having a similar issue. I can only connect through localhost using port forwarding and css doesnt load. connecting to the remote ip address gives me nothing. How can i fix this?, how can i either get the css to load or connect directly through the ip address?
@catborise commented on GitHub (Jul 26, 2019):
hi @aa1121 could you please create a vm on the host. then install webvirtcloud on it. this isolates many unknown environment effects
@aa1121 commented on GitHub (Jul 26, 2019):
i already have vms on the host, reinstalled webvirtcloud but i'm getting the same issue
@catborise commented on GitHub (Jul 26, 2019):
@aa1121 install webvirtcloud on a vm not to host
@aa1121 commented on GitHub (Jul 29, 2019):
did that, same thing, no css...
@catborise commented on GitHub (Jul 29, 2019):
whic os do you use for webvirtcloud installation?
@aa1121 commented on GitHub (Jul 29, 2019):
in host: debian, in vm ubuntu
@catborise commented on GitHub (Aug 1, 2019):
i try every installation method like vagrant, docker and normal. all of them works as expected. what causes you problem, i do not know. may be you can try these methods: https://github.com/retspen/webvirtcloud/wiki
@aa1121 commented on GitHub (Aug 1, 2019):
I can now access the web interface by connecting to the remote ip address, but if i try to connect through localhost using port forwarding, it still gives me issue where css doesnt load... I found a workaround for that though, i run this command on the remote machine "python /srv/webvirtcloud/manage.py runserver 0:8001 --settings=webvirtcloud.settings-dev" and connect to localhost:8001 on the local machine, with port forwarding enabled. This way, css loads
@aa1121 commented on GitHub (Aug 1, 2019):
well never mind, this doesnt work for me anymore, i'll try to get it working again and then i'll update with instructions
@aa1121 commented on GitHub (Aug 1, 2019):
ok, these are the instructions that worked for me in order to get it working through localhost using port forwarding, with css loading
cd /srv/webvirtcloud
source venv/bin/activate
python /srv/webvirtcloud/manage.py runserver 0:8002 --settings=webvirtcloud.settings-dev
you might need root access or not, depending on permissions