Hello,
I have upgraded to TrueNAS-SCALE-23.10-BETA.1, did the pool upgrade and now my datasets aren't showing in GUI.
I get the following error from /var/log/middlewared.log when I click on datasets in GUI
and my datasets tab looks like this
Is there anything that can be done?
Thank you
I have upgraded to TrueNAS-SCALE-23.10-BETA.1, did the pool upgrade and now my datasets aren't showing in GUI.
I get the following error from /var/log/middlewared.log when I click on datasets in GUI
Code:
[2023/08/18 12:14:42] (WARNING) application.call_method():249 - Exception while calling pool.dataset.details(*[])
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/middlewared/main.py", line 213, in call_method
result = await self.middleware._call(message['method'], serviceobj, methodobj, params, app=self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1372, in _call
return await self.run_in_executor(prepared_call.executor, methodobj, *prepared_call.args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1271, in run_in_executor
return await loop.run_in_executor(pool, functools.partial(method, *args, **kwargs))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/middlewared/schema/processor.py", line 181, in nf
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/middlewared/schema/processor.py", line 50, in nf
res = f(*args, **kwargs)
^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/middlewared/plugins/pool_/dataset_details.py", line 209, in details
self.collapse_datasets(dataset, info, mnt_info)
File "/usr/lib/python3/dist-packages/middlewared/plugins/pool_/dataset_details.py", line 235, in collapse_datasets
self.collapse_datasets(child, info, mnt_info)
File "/usr/lib/python3/dist-packages/middlewared/plugins/pool_/dataset_details.py", line 235, in collapse_datasets
self.collapse_datasets(child, info, mnt_info)
File "/usr/lib/python3/dist-packages/middlewared/plugins/pool_/dataset_details.py", line 233, in collapse_datasets
self.normalize_dataset(dataset, info, mnt_info)
File "/usr/lib/python3/dist-packages/middlewared/plugins/pool_/dataset_details.py", line 229, in normalize_dataset
dataset['rsync_tasks_count'] = self.get_rsync_tasks_count(dataset, info['rsync'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/middlewared/plugins/pool_/dataset_details.py", line 418, in get_rsync_tasks_count
if pathlib.Path(ds['mountpoint']).is_relative_to(i['path']):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/pathlib.py", line 872, in __new__
self = cls._from_parts(args)
^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/pathlib.py", line 510, in _from_parts
drv, root, parts = self._parse_args(args)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/pathlib.py", line 494, in _parse_args
a = os.fspath(a)
^^^^^^^^^^^^
TypeError: expected str, bytes or os.PathLike object, not NoneTypeand my datasets tab looks like this
Is there anything that can be done?
Thank you
Last edited by a moderator: