July 21, 20187 yr I did a clean shut-down of my Unraid Tower. Then restarted. Upon restart, my two VM no longer show properly in the "VM Tab". Instead it shows some random / old configurations. Any idea what is causing this? Also, any idea whether I can somehow still find the VM XML. The image files are still there, but I don't remember the XML setup, so it will be difficult to recreate them (particularly the MacOS one that required XML editing). Attaching diagnostic file. Thanks in advance for your help! tower-diagnostics-20180721-1455.zip
July 21, 20187 yr VMs are store on the libvirt.img, maybe you have more than one on the server and are using a different one, this can happen if it's set e.g. as /mnt/user/system/libvirt.img, as that could be on the cache or the array.
July 21, 20187 yr Author This could indeed be the case. I may have an old legacy libvirt.img soewhere that I am no longer using. Any suggestion for trouble-shooting?
July 21, 20187 yr Just stop the VM service, point to the correct one and restart it, just don't use /mnt/user, user /mnt/cache or mnt/diskX
July 21, 20187 yr Author Thanks for your immediate reply. The VMs are not running. They cannot even run as the "old" XMLs rely on images that no longer exist. How to stop the "VM service"? Settings-VM-Manager-enable:no? Where is the setting where I can point to the correct libvirt.img? I am actually not even sure where it is supposed to be? I know where the vdisk images are. I cannot find any. Did it get wiped out?
July 21, 20187 yr How to stop the "VM service"? Settings-VM-Manager-enable:no? Yes, libvirt.img path is set on the same page, you might need to turn on advanced view (top right)
July 21, 20187 yr Author Got it. What is the best place to place the libvirt file? On cache (where I currently have dockers) and UD (where my vdisks are). Thanks!
July 21, 20187 yr Author I think I know what may have happened. I may have deleted the libvirt by accident. If so, possible to recreate it from the diagnostic file? Or need to rememember it somehow and set it up from scratch? Where to put it?
July 21, 20187 yr It's good practice to regularly backup that file, if you don't have one you'll need to recreate the XMLs for all the VMs
July 21, 20187 yr Author Ok, let me look into it. In what folder would you suggest to place libvirt? On cache (where I currently have dockers), UD (where my vdisks are), user share, disk share?
July 21, 20187 yr I would suggest cache or UD device, and if in cache use /mnt/cache, not /mnt/user as the path.
July 21, 20187 yr Author Mmh... I am still struggling to get the right settings to reset the VM manager to define the right default directories. When I get it wrong, I seem to get the error message: Fatal error: require_once(): Failed opening required '/usr/local/emhttp/plugins/dynamix.vm.manager/classes/libvirt.php' (include_path='.:/usr/local/emhttp') in /usr/local/emhttp/plugins/dynamix/include/DefaultPageLayout.php(383) : eval()'d code on line 14 I am trying the following Libvirt storage: /mnt/cache/VM/ Default VM storage: /mnt/disks/SAMSUNG [I had to manually type this in. When clicking in the field, it only allows me to select my user shares] Default ISO storage: /mnt/disk1/ Enable ACS Overide: yes Amy thoughts?
July 21, 20187 yr Author Thanks. Shouldn't Unraid automatically add this? Also, the selection of user shares is preferred or a bug?
July 21, 20187 yr Author And another point. When the array is not started yet and I select the VM tab, I am still getting the "fatal error" above. It doesn't really matter, but I prefer to keep things "clean". Is this a bug or can I somehow get rid of it?
July 21, 20187 yr Author Below the full error message. All works once starting the array, but I prefer not to have any error messages even if they don't immediate matter: Array must be started to view Virtual Machines. Libvirt Hotplug USB Fatal error: require_once(): Failed opening required '/usr/local/emhttp/plugins/dynamix.vm.manager/classes/libvirt.php' (include_path='.:/usr/local/emhttp') in /usr/local/emhttp/plugins/dynamix/include/DefaultPageLayout.php(383) : eval()'d code on line 14
July 21, 20187 yr Author I found in another thread about this error. Solution not clear to me though. Any thoughts appreciated!
July 28, 20187 yr Author Any more thoughts on the issue above? It is not the end of the world and the error disappears once the array is started, but it irritates me to see error messages and it may cause some other related issues. Any help appreciated, thanks!
July 28, 20187 yr Any more thoughts on the issue above? It is not the end of the world and the error disappears once the array is started, but it irritates me to see error messages and it may cause some other related issues. Any help appreciated, thanks!OTOH you're running the deprecated version of the hot plug plugin. Remove it and install dlandon's versionSent via Tapatalk because my laptop doesn't fit in my pocket
July 28, 20187 yr Author Terrific, this fixed it. Thanks! Unfortunately, it didn't fix the issue that I cannot reset my audio card
Archived
This topic is now archived and is closed to further replies.