I upgraded my truenas from 24 to 25.
Then i cloned my zvol into custom storage volume.
After that I created a new VM. I cannot see the VM in den new “Instances” area.
If I go on the Instances page i get this error:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/middlewared/api/base/server/ws_handler/rpc.py", line 323, in process_method_call
result = await method.call(app, params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/middlewared/api/base/server/method.py", line 49, in call
return await self._dump_result(app, methodobj, result)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/middlewared/api/base/server/method.py", line 52, in _dump_result
return self.middleware.dump_result(self.serviceobj, methodobj, app, result)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/middlewared/main.py", line 791, in dump_result
return serialize_result(new_style_returns_model, result, expose_secrets)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/middlewared/api/base/handler/result.py", line 13, in serialize_result
return model(result=result).model_dump(
^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/pydantic/main.py", line 212, in __init__
validated_self = self.__pydantic_validator__.validate_python(data, self_instance=self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
pydantic_core._pydantic_core.ValidationError: 3 validation errors for VirtInstanceQueryResult
result.list[VirtInstanceQueryResultItem].0.storage_pool
Input should be a valid string [type=string_type, input_value=None, input_type=NoneType]
For further information visit https://errors.pydantic.dev/2.9/v/string_type
result.VirtInstanceQueryResultItem
Input should be a valid dictionary or instance of VirtInstanceQueryResultItem [type=model_type, input_value=[{'id': 'Homeassistant', ..., 'memory': 2147483648}], input_type=list]
For further information visit https://errors.pydantic.dev/2.9/v/model_type
result.int
Input should be a valid integer [type=int_type, input_value=[{'id': 'Homeassistant', ..., 'memory': 2147483648}], input_type=list]
For further information visit https://errors.pydantic.dev/2.9/v/int_type
I’m not sure what’s happening with the TrueNAS UI, but here is more info. Using the incus command-line utility, I can see that the two VMs I migrated after the upgrade are actually running. I can connect to them using VNC. I had to change the network configuration in the VMs, as the NICs are named differently than before, but after that, I can at least get the VMs to run. It would be nice to get to the Web UI.
To clarify, this issue occurs immediately after creating a VM using a migrated vVol—no changes are made outside of WebUI. Found a similar issue reported here: [NAS-135338] LXC instance not booting or showing up - iXsystems TrueNAS Jira. Wanted to clarify the problem here, given the comments from ixSystems in that bug report.
I had the luck to just export my homeassistant backup out of the container and then create a new docker app and import the backup in there.
Maybe this helps you
So I found some Incus instructions online and after a few attempts have deleted the instance and recreated with different configuration options and now my old VM is booting.