Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upInstaller silently failed to setup templates. #3122
Comments
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Sep 25, 2017
Member
Do you have them listed by qvm-ls? Almost empty /var/lib/qubes/vm-templates/fedora-25/ is ok, because now template data live in LVM.
|
Do you have them listed by |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
test1943
Sep 26, 2017
Hi, @marmarek,
here are some screenshots of my new install(without debian template):
test1943
commented
Sep 26, 2017
•
|
Hi, @marmarek, here are some screenshots of my new install(without debian template): |
andrewdavidwong
added
bug
C: installer
labels
Sep 26, 2017
andrewdavidwong
added this to the Release 4.0 milestone
Sep 26, 2017
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Sep 26, 2017
Member
Ok, so there is indeed something wrong with template setup, but not lack of the files.
There are two things:
- Why it happened.
- How to fix it.
The later one should be simple:
- Start
fedora-25template (either from the menu, or usingqvm-start). Wait for the startup to complete (VM window will disappear, but VM will remain running). - Call
qvm-run --pass-io --service fedora-25 qubes.PostInstall - Shutdown the template
This should fix menu etc.
As for diagnosis about why it happened, check sudo journalctl - about the date of initial configuration. Look for errors from initial-setup service.
|
Ok, so there is indeed something wrong with template setup, but not lack of the files.
The later one should be simple:
This should fix menu etc. As for diagnosis about why it happened, check |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
DonnchaC
Oct 10, 2017
I encountered a similar broken state after template setup. Sorry for the confusing explanation. I don't know the proper names for the different parts of the installer. In my case the problem was caused after going into the template options part of the installer a second time.
I selected the templates that I wanted and the installer began configuring those templates after I clicked to go back to the main screen. I then clicked into the template options again, after clicking back to the main screen again the installer started to configure the templates a second time, this time as 'debian-8-tmp' and 'fedora-tmp'. Perhaps there is a problem where the installer does not recognise that the VMs have already been configured.
This second configuration eventually failed with a bunch of Python exceptions from qvm-template-postprocess qubesadmin.exc.QubesException: root.img not found. The VMs that were left seemed misconfigured and had names like "fedora-25-tmp"
DonnchaC
commented
Oct 10, 2017
|
I encountered a similar broken state after template setup. Sorry for the confusing explanation. I don't know the proper names for the different parts of the installer. In my case the problem was caused after going into the template options part of the installer a second time. I selected the templates that I wanted and the installer began configuring those templates after I clicked to go back to the main screen. I then clicked into the template options again, after clicking back to the main screen again the installer started to configure the templates a second time, this time as 'debian-8-tmp' and 'fedora-tmp'. Perhaps there is a problem where the installer does not recognise that the VMs have already been configured. This second configuration eventually failed with a bunch of Python exceptions from qvm-template-postprocess |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
SelfRando
Oct 30, 2017
4.0 RC2 Initial Setup
I had the same problem that DonnchaC reports above.
The initial setup ran correctly the first time. I had left the room and when I returned I clicked again on the Qubes OS banner (which was now highlighted in blue so looked different from the previous time I had seen it).
The next screen opened and since I did not wish to make any changes I clicked Done at which point the setup script ran again. This time it failed (after quite a while) with some error messages that I did not record.
I booted Qubes for the first time and it loaded okay however no VMs would start.
To resolve this issue I did a full reinstall.
I suggest the Initial Setup script set a flag to show that it has been executed.
SelfRando
commented
Oct 30, 2017
|
4.0 RC2 Initial Setup I had the same problem that DonnchaC reports above. I booted Qubes for the first time and it loaded okay however no VMs would start. To resolve this issue I did a full reinstall. I suggest the Initial Setup script set a flag to show that it has been executed. |




test1943 commentedSep 25, 2017
Qubes OS version (e.g.,
R3.2):4.0-RC1
Affected TemplateVMs (e.g.,
fedora-23, if applicable):All templates.
Steps to reproduce the behavior:
Download 4.0-RC1 iso and install, finish setup with default options(install templates, add sys-net/sys-usb and add domains.)
Expected behavior:
Installer should setup templates
Actual behavior:
Templates are not setup correctly, have no apps on any template or domain. sys-firewall won't start so could not reinstall templates.