Hey @guillaume
Thanks for the report:
#1 (clone “Source VM data not found”): Yes, that error message is a bit misleading. From what you’re describing, the Proxmox-side clone has actually completed fine, and what’s failing is MultiPortal’s post-clone bookkeeping, where it tries to copy the template’s row into the local proxmox_vm_stats table to seed the new VM’s row. It looks like that lookup isn’t finding template vmid 110. To dig in a bit further, could you share:
runtime/logs/vm-clone.log and runtime/logs/VirtualMachine.log around the failure time
- Was template 110 created in MultiPortal, or imported/converted directly in Proxmox? Was it ever migrated between nodes?
The easiest way to get these logs to me is to export them from MultiPortal. The process is documented here: https://docs.multiportal.io/reference/log-files/#multiportal-application-error-logs. That produces a zip; email it to support@multiportal.io and it’ll open a ticket, and I’ll review the logs from there.
#2 (Cloud-Init on self-created templates): Correct, at the moment MultiPortal doesn’t have a UI to attach a cloud-init disk to a VM before converting it to a template. Workaround for now is to add the cloud-init drive in Proxmox directly. I’ve raised this internally to discuss adding that functionality within MultiPortal.
#3 (network not added / post-clone task never completes): The network attach is done asynchronously by a queue processor (vm-post-task/process) that runs from MultiPortal’s cron dispatcher. If the host-level cron isn’t invoking php yii cron/index, the queue will never drain and the task stays “active”, which matches what you’re seeing. Could you check:
- Your host crontab has an entry like
* * * * * cd /path/to/multiportal && php yii cron/index >/dev/null 2>&1
- In Cron Task Management (MultiPortal admin UI),
vm-post-task/process is listed, enabled, and Last Run is updating
- Please run
php yii migrate --interactive=0 so it applies any pending migrations without prompting. If anything errors out, send the output through to support@multiportal.io and I’ll take a look.
- As a quick test, run
php yii vm-post-task/process manually. If the network gets attached and the lingering task closes, scheduling is the only thing missing.
- It’s also worth running
./yii cron/index manually once everything else is in place, just to confirm the dispatcher itself runs cleanly and to surface any errors that might be stopping it from progressing under cron.