[SOLVED] Proxmox Migration Error: Can't use an undefined value as an ARRAY reference

muaboka

New Member
Mar 1, 2024
5
0
1
If you encounter the below error while trying to migrate a VM from with CLI or with GUI.

Error
Can't use an undefined value as an ARRAY reference at /usr/share/perl5/PVE/QemuServer.pm line 2579. (500)

Do check if you have an unreferenced USB device added to the VM. This is something I encountered and solved while fiddling around. So letting you all know.
BR,
MB
 
Thank you so much for posting this. I was getting this error when running qm remote-migrate and I had no idea what to do. For me, the fix was to remove the USB device from the source VM, then do the migration, then add the USB device on the newly migrated VM.