TemplateVM not starting - Dom0 Error an qube update

Dom0 Error an qube update
Command /usr/bin/qubes-update-gui – targets
returned non-zero exit status 25

TemplateVM

How to repair the TemplateVM?

Which template are you trying to update?
Are you able to start the template qube manually?
Are you trying to update the template using Qubes Update GUI tool?

  • It is dfrom the basic template “debian-12-xfce”

  • From this I created a new TemplateVM for my software

  • Qube “debian-12-xfce” still starts itself, but not my TemplateVM software anymore.

  • No, my own TemplateVM software no longer starts.

  • What do you mean by that?



Check the debian-12-xfce-Software log in dom0 /var/log/xen/console/guest-debian-12-xfce-Software.log file or using the Qube Manager right click on debian-12-xfce-Software → Logs.

I’s hard to say why your template is not working without seeing the log. But I can guess that you’ve installed too much software in the template and its root filesystem is out of free space. By default the template’s system storage is set to 20 GB.
You can try to increase the template’s system storage in the qube’s Settings → Basic tab and see if it’ll be able to start successfully after this.

Here is the log file, what happens now?

Software.log (2.1 MB)

It seems that you’ve already increased the storage size before but 60 seconds are not enough to finish it.
Increase the qrexec_timeout value for debian-12-xfce-Software in dom0:

qvm-prefs debian-12-xfce-Software qrexec_timeout 600

Start debian-12-xfce-Software qube and wait for to it finish resizing the partitions.
Check if you’re able to start apps in the template.
If it works then change the qrexec_timeout back to default:

qvm-prefs -D debian-12-xfce-Software qrexec_timeout

Thank you, it worked.