Apps Catalog Disappeared

Yesterday all was well but today when I went to install an app there were no apps in the catalog. I selected the Truenas catalog and clicked on ‘refresh’. I received the following message. No idea how to fix it.

error
FAILED
[EFAULT] Failed to clone ‘GitHub - truenas/charts: TrueNAS SCALE Apps Catalogs & Charts’ repository at ‘/mnt/pool/ix-applications/catalogs/github_com_truenas_charts_git_master’ destination: [EFAULT] Failed to clone ‘GitHub - truenas/charts: TrueNAS SCALE Apps Catalogs & Charts’ repository at ‘/mnt/pool/ix-applications/catalogs/github_com_truenas_charts_git_master’ destination: Cloning into '/mnt/pool/ix-…
remove_circle_outline
More info…
Error: Traceback (most recent call last):
File “/usr/lib/python3/dist-packages/middlewared/plugins/catalogs_linux/utils.py”, line 37, in pull_clone_repository
clone_repository(repository_uri, destination, branch, depth)
File “/usr/lib/python3/dist-packages/middlewared/utils/git.py”, line 25, in clone_repository
raise CallError(
middlewared.service_exception.CallError: [EFAULT] Failed to clone ‘GitHub - truenas/charts: TrueNAS SCALE Apps Catalogs & Charts’ repository at ‘/mnt/pool/ix-applications/catalogs/github_com_truenas_charts_git_master’ destination: Cloning into '/mnt/pool/ix-…

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “/usr/lib/python3/dist-packages/middlewared/job.py”, line 469, in run
await self.future
File “/usr/lib/python3/dist-packages/middlewared/job.py”, line 511, in __run_body
rv = await self.method(*args)
^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/middlewared/schema/processor.py”, line 187, in nf
return await func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/middlewared/schema/processor.py”, line 47, in nf
res = await f(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/middlewared/plugins/catalogs_linux/sync_catalogs.py”, line 61, in sync
await self.middleware.call(‘catalog.update_git_repository’, catalog)
File “/usr/lib/python3/dist-packages/middlewared/main.py”, line 1564, in call
return await self._call(
^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/middlewared/main.py”, line 1428, 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 1321, 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/plugins/catalogs_linux/sync_catalogs.py”, line 89, in update_git_repository
return pull_clone_repository(
^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/middlewared/plugins/catalogs_linux/utils.py”, line 39, in pull_clone_repository
raise CallError(f’Failed to clone {repository_uri!r} repository at {destination!r} destination: {e}')
middlewared.service_exception.CallError: [EFAULT] Failed to clone ‘GitHub - truenas/charts: TrueNAS SCALE Apps Catalogs & Charts’ repository at ‘/mnt/pool/ix-applications/catalogs/github_com_truenas_charts_git_master’ destination: [EFAULT] Failed to clone ‘GitHub - truenas/charts: TrueNAS SCALE Apps Catalogs & Charts’ repository at ‘/mnt/pool/ix-applications/catalogs/github_com_truenas_charts_git_master’ destination: Cloning into '/mnt/pool/ix-…

I just tried this on my home NAS and am not seeing a problem, any chance you have a network connectivity issue?

Mine just did the same thing. I show I have 0 catalogs and nothing has changed.

Failed to sync TRUENAS catalog: [EFAULT] Failed to clone ‘GitHub - truenas/charts: TrueNAS SCALE Apps Catalogs & Charts’ repository at ‘/mnt/home_pool/ix-applications/catalogs/github_com_truenas_charts_git_master’ destination: [EFAULT] Failed to clone ‘GitHub - truenas/charts: TrueNAS SCALE Apps Catalogs & Charts’ repository at ‘/mnt/home_pool/ix-applications/catalogs/github_com_truenas_charts_git_master’ destination: Cloning into '/mnt/home_pool/ix-…

2024-07-22 09:20:53 (America/Denver)

I also am having this issue, nothing obvious with configuration, checked dates and times. Network connectivity is okay.

Error: Traceback (most recent call last):
File “/usr/lib/python3/dist-packages/middlewared/plugins/catalogs_linux/utils.py”, line 37, in pull_clone_repository
clone_repository(repository_uri, destination, branch, depth)
File “/usr/lib/python3/dist-packages/middlewared/utils/git.py”, line 25, in clone_repository
raise CallError(
middlewared.service_exception.CallError: [EFAULT] Failed to clone ‘GitHub - truenas/charts: TrueNAS SCALE Apps Catalogs & Charts’ repository at ‘/mnt/app storage/ix-applications/catalogs/github_com_truenas_charts_git_master’ destination: Cloning into '/mnt/app storage/ix-…

The DNS settings were cleared out somehow. I have no idea how that happened, but we’re all good now!

1 Like

Same problem here. How did you solved it? Thanks

For me, it was my DNS settings. Not sure exactly what the configuration issue was, because i installed apps the day before, but checking my DNS settings under the network tab revealed that there were none entered.

Not sure if it was using the gateway for DNS and somehow stopped doing that, or if i inadvertently cleared DNS settings.

if is not too much can you make a screenshot of your configuration now?

Try rebooting your server.

1 Like

Sorry for the delay in response! Just find the DNS settings under the network tab, punch google’s DNS servers in there for testing.

8.8.8.8
8.8.4.4

Typically, setting the DNS entries to whatever IP your home router has been assigned should work.

If you have a more complicated DNS setup than that, you typically also know what to set the DNS servers to.