ElectricEel-24.10.2 # Failed to sync TRUENAS catalog

Hi Guys,
Just a quick question as I’m still a noob here. Is there any solution for my problem which is:

EFAULT] Failed to clone ‘https: // github. com / truenas /apps’ repository at ‘/mnt/. ix-apps/ truenas_ catalog’ destination: Cloning into ‘/mnt/.ix apps/truenas_catalog’…

After a fresh TrueNas install everything was fine I have installed Jellifin which works fine but after a few days my apps list is just gone I can see only the apps which I have installed. I’ve done a little research and I found that problem might be in BIOS time settings but it looks all fine to me. TrueNas sits on HP z230 SFF Workstation CPU:Intel Xeon E3-1226 v3 @ 3.30GHz and 16GB RAM
ps. I can ping github from the shell.

is your bios time set to UTC? If not, pls set your bios time to UTC and then choose your local TZ in the truenas gui. If the bios time is not set to UTC it could be a time sync problem.

I cant change TZ in my BIOS as there is no such a option its really basic I cant even change format just h/mm/sec. I have tried to change TZ in TrueNas General settings still nothing. I have unset pool wait a bit and set back up again didn’t work either.

Here is a full report:

Traceback (most recent call last):
File “/usr/lib/python3/dist-packages/middlewared/plugins/catalog/git_utils.py”, line 34, 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 ‘https: // github. com / truenas / apps’ repository at ‘/mnt/.ix-apps/truenas_catalog’ destination: Cloning into ‘/mnt/.ix-apps/truenas_catalog’…

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “/usr/lib/python3/dist-packages/middlewared/job.py”, line 509, in run
await self.future
File “/usr/lib/python3/dist-packages/middlewared/job.py”, line 554, in __run_body
rv = await self.method(*args)
^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/middlewared/schema/processor.py”, line 179, in nf
return await func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/middlewared/schema/processor.py”, line 49, in nf
res = await f(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/middlewared/plugins/catalog/sync.py”, line 27, in sync
await self.middleware.call(
File “/usr/lib/python3/dist-packages/middlewared/main.py”, line 1629, in call
return await self._call(
^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/middlewared/main.py”, line 1471, 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 1364, 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/catalog/sync.py”, line 55, in update_git_repository
return pull_clone_repository(repository, location, branch)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/middlewared/plugins/catalog/git_utils.py”, line 36, 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 ‘https :// github. com / truenas/apps’ repository at ‘/mnt/.ix-apps/truenas_catalog’ destination: [EFAULT] Failed to clone ‘GitHub - truenas/apps’ repository at ‘/mnt/.ix-apps/truenas_catalog’ destination: Cloning into ‘/mnt/.ix-apps/truenas_catalog’…

A misunderstanding. You can’t change the TZ in the BIOS, but you can and should change the time to the time in UTC.

Go to a site like this and look up the current time in UTC, then set that time in your BIOS.
You then adjust the time to display properly in TrueNAS by altering the TZ in TrueNAS as needed.

I have this done since day one. UTC on the BIOS and TrueNas are identical.
As I mentioned before it works only for a few days after fresh TrueNas install
and then the list is just despairing.

In that case my next guess is that your network configuration is incorrect, possibly missing a valid default gateway or at least one DNS (or both).

In a normal home environment, one can typically set both to point at your router.

You are a star pal. Thank you so much. I found that. In my nameserver1 in network settings instead of having like 8.8.8.8 I had and I don’t know how and why my default gateway IP address. Now everything is working fine my app list is back…
Thank you again.