mirror of
https://github.com/retspen/webvirtmgr.git
synced 2026-04-25 23:55:57 +03:00
[GH-ISSUE #244] Something wrong in the install documentation? #192
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 @thibaudsowa on GitHub (Feb 22, 2014).
Original GitHub issue: https://github.com/retspen/webvirtmgr/issues/244
I followed the installation guide (from https://github.com/retspen/webvirtmgr/wiki/Install-WebVirtMgr) on a fully new Ubuntu 12.04 but when I ran the following command (in the fourth section) :
An error occured: the
webvirtmgr-novnc-ubuntufolder didn't exist.In fact when I list the content of the
/var/www/webvirtmgr/folder this is what I see :Does the error come from the third section (Setup Nginx)?
I'm not at all an Nginx expert...
Thanks for help!
@AlexH-HankIT commented on GitHub (Feb 23, 2014):
I run into the same error, delete everything in /var/www, download the files again and use the following command to move the files correctly:
sudo mv webvirtmgr /var/www/webvirtmgr
@thibaudsowa commented on GitHub (Feb 23, 2014):
Thanks!
So now I can follow next steps, but when I want to connect on the web interface I have an 500 Internal Server Error...
This is what output in my console:
And in the
/var/log/nginx/error.log:@retspen commented on GitHub (Feb 23, 2014):
$ ls -la /var/www/webvirtmgr@thibaudsowa commented on GitHub (Feb 23, 2014):
The output:
@retspen commented on GitHub (Feb 23, 2014):
Change in file settings.py: DEBUG=False to DEBUG=True
$ sudo service supervisor stop$ cd /var/www/webvirtmgr$ ./manage.py runserver 0:8000Open browser and input IP:8000 where run panel.
@thibaudsowa commented on GitHub (Feb 23, 2014):
Ok so there is a problem with the database...
@thibaudsowa commented on GitHub (Feb 23, 2014):
Hmmm... ok so with that:
....it works!
It is just a right problem.
So I think that the www-data user is not used to launch the website.
How can I fix this without the
chmod 777trick?@AlexH-HankIT commented on GitHub (Feb 23, 2014):
My database has 644, are you sure that the nginx user is the owner of the whole /var/www/webvirtmgr folder?
Use the following command again:
and change the permissions to 644.
@retspen commented on GitHub (Feb 23, 2014):
And need check parameter user=www-data in file /etc/supervisor.d/webvirtmgr.conf