Closed puffpants closed 1 year ago
I have reinstalled using the manual method and all went well, but i am seeing the same issue. i have enabled Debug and see this:
adding this:
to the setings.py seems to have fixed, but from reading this should not have been needed, nor does it seem to be the "right" way. ill leave this open to see why it had to be done manually, or for it to be added to the instructions.
to follow up again, I am able to get into the web interface, but when trying to add a server, the local host, i get this error:
I will note that the last step of the install is not able to finish:
USER@debian-host:/etc/default$ wget -O - https://bit.ly/36baWUu | sudo sh
--2023-09-04 20:02:52-- https://bit.ly/36baWUu
Resolving bit.ly (bit.ly)... 67.199.248.11, 67.199.248.10
Connecting to bit.ly (bit.ly)|67.199.248.11|:443... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://raw.githubusercontent.com/retspen/webvirtcloud/master/dev/libvirt-bootstrap.sh [following]
--2023-09-04 20:02:52-- https://raw.githubusercontent.com/retspen/webvirtcloud/master/dev/libvirt-bootstrap.sh
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 185.199.108.133, 185.199.109.133, 185.199.111.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|185.199.108.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 32168 (31K) [text/plain]
Saving to: ‘STDOUT’
- 100%[====================================================================================================================================>] 31.41K --.-KB/s in 0.004s
2023-09-04 20:02:52 (6.95 MB/s) - written to stdout [32168/32168]
* INFO: Found function install_debian
sh: 48: [: Illegal number:
* INFO: Running install_debian()
Hit:1 http://deb.debian.org/debian bookworm InRelease
Hit:2 http://security.debian.org/debian-security bookworm-security InRelease
Hit:3 http://deb.debian.org/debian bookworm-updates InRelease
Hit:4 https://dl.google.com/linux/chrome/deb stable InRelease
Reading package lists... Done
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'qemu-system-x86' instead of 'qemu-kvm'
Package qemu is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'qemu' has no installation candidate
* ERROR: Failed to run install_debian()!!!
there is some changes in debian 12 package names. i will fix it. thanks. also django CSRF verification changes exist. we must add CSRF_TRUSTED_ORIGINS to settings.py
@puffpants i think all problems are solved. you can try with latest.. cheers
@catborise I have reinstalled via manual method.
i can see that CSRF_TRUSTED_ORIGINS = ['http://localhost',] has been added to the settings.py file, but this only allows for access from the local system. This is better, but a step should probably be added to either edit the hostname, or have it pull it in automatically somehow.
I was now able to run the "setup libvirt and KVM on server" without issue.
wget -O - https://bit.ly/36baWUu | sudo sh
With that said I am able to log in, but wen I try to add the host server, still get errors:
TCP:
SSH:
TLS:
Local:
If there are post install / setup steps i have missed, can you please link them?
Thanks!
I found the info to make the SSH keys lower down. all is working now. Thanks!
After using the Quick Install with Installer on Debian 12, everything seems to install correctly and I am presented with the web interface, however I get a Forbidden (403) CSRF verification failed. Request aborted. when using the default credentials, admin:admin. what logs or additional information would be needed to troubleshoot.