TrueNAS catalog won't refresh/update

baseman

Cadet
Joined
Sep 13, 2023
Messages
2
Hello all.

Since two weeks ago I've been getting this weird error whenever the TrueNAS app catalog tries to refresh/update itself. I get the same error whenever I run it manually as well. The error message itself is the following:

Failed to sync TRUENAS catalog: [ENOENT] Unable to retrieve feature capability mapping for SCALE versions​


Has anyone else encountered this and know what to do? I couldn't find anything on this exact error in the forums.

Here is what I found in the log files:

Code:
[2023/09/13 12:43:20] (ERROR) middlewared.job.run():440 - Job <bound method accepts.<locals>.wrap.<locals>.nf of <middlewared.plugins.catalogs_linux.items.CatalogService object at 0x7f20f0fa77c0>> failed
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/middlewared/job.py", line 428, in run
    await self.future
  File "/usr/lib/python3/dist-packages/middlewared/job.py", line 465, in __run_body
    rv = await self.middleware.run_in_thread(self.method, *([self] + args))
  File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1261, in run_in_thread
    return await self.run_in_executor(self.thread_pool_executor, method, *args, **kwargs)
  File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1258, in run_in_executor
    return await loop.run_in_executor(pool, functools.partial(method, *args, **kwargs))
  File "/usr/lib/python3.9/concurrent/futures/thread.py", line 52, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/lib/python3/dist-packages/middlewared/schema.py", line 1382, in nf
    return func(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/middlewared/plugins/catalogs_linux/items.py", line 135, in items_internal
    self.middleware.call_sync('catalog.get_feature_map', False)
  File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1425, in call_sync
    return methodobj(*prepared_call.args)
  File "/usr/lib/python3/dist-packages/middlewared/plugins/catalogs_linux/features.py", line 24, in get_feature_map
    raise CallError('Unable to retrieve feature capability mapping for SCALE versions', errno=errno.ENOENT)
middlewared.service_exception.CallError: [ENOENT] Unable to retrieve feature capability mapping for SCALE versions
[2023/09/13 12:43:20] (ERROR) middlewared.job.run():440 - Job <bound method accepts.<locals>.wrap.<locals>.nf of <middlewared.plugins.catalogs_linux.sync_catalogs.CatalogService object at 0x7f20f0fa76a0>> failed
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/middlewared/job.py", line 428, in run
    await self.future
  File "/usr/lib/python3/dist-packages/middlewared/job.py", line 463, in __run_body
    rv = await self.method(*([self] + args))
  File "/usr/lib/python3/dist-packages/middlewared/schema.py", line 1378, in nf
    return await func(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/middlewared/schema.py", line 1246, in nf
    res = await f(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/middlewared/plugins/catalogs_linux/sync_catalogs.py", line 44, in sync
    await item_job.wait(raise_error=True)
  File "/usr/lib/python3/dist-packages/middlewared/job.py", line 376, in wait
    raise self.exc_info[1]
  File "/usr/lib/python3/dist-packages/middlewared/job.py", line 428, in run
    await self.future
  File "/usr/lib/python3/dist-packages/middlewared/job.py", line 465, in __run_body
    rv = await self.middleware.run_in_thread(self.method, *([self] + args))
  File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1261, in run_in_thread
    return await self.run_in_executor(self.thread_pool_executor, method, *args, **kwargs)
  File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1258, in run_in_executor
    return await loop.run_in_executor(pool, functools.partial(method, *args, **kwargs))
  File "/usr/lib/python3.9/concurrent/futures/thread.py", line 52, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/lib/python3/dist-packages/middlewared/schema.py", line 1382, in nf
    return func(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/middlewared/plugins/catalogs_linux/items.py", line 135, in items_internal
    self.middleware.call_sync('catalog.get_feature_map', False)
  File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1425, in call_sync
    return methodobj(*prepared_call.args)
  File "/usr/lib/python3/dist-packages/middlewared/plugins/catalogs_linux/features.py", line 24, in get_feature_map
    raise CallError('Unable to retrieve feature capability mapping for SCALE versions', errno=errno.ENOENT)
middlewared.service_exception.CallError: [ENOENT] Unable to retrieve feature capability mapping for SCALE versions
 

baseman

Cadet
Joined
Sep 13, 2023
Messages
2
Nobody seems to know. Or the forums is just dead.

No searches on Google have any answers either. Then the only thing to do to fix this problem is reinstalling the OS I guess, which I don't really want to. And I don't have to since I don't use any of the TrueNAS charts or community applications (because all the Truecharts applications are superior because of the better options they provide compared to TrueNAS charts/community).
 
Top