Nextcloud installation on TrueNAS 25.04.1 CallError [ENOENT] Unable to locate 'nextcloud' at '/mnt/.ix-apps/truenas_catalog/trains/stable/nextcloud'

I know recently TrueNAS removed use of catalogs, however I can still use the apps that comes by default in it right?

I installed fangtooth TrueNAS 25.04.1 as soon as I click Install for Nextcloud this is what I see:

CallError

[ENOENT] Unable to locate ‘nextcloud’ at ‘/mnt/.ix-apps/truenas_catalog/trains/stable/nextcloud’

Detailed error is as below:

Error: Traceback (most recent call last):
File “/usr/lib/python3/dist-packages/middlewared/plugins/catalog/app_version.py”, line 27, in get_app_details
if not stat.S_ISDIR(os.stat(app_location).st_mode):
^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: ‘/mnt/.ix-apps/truenas_catalog/trains/stable/nextcloud’

During handling of the above exception, another exception occurred:

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 40, in call
result = await self.middleware.call_with_audit(self.name, self.serviceobj, methodobj, params, app)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/middlewared/main.py”, line 906, in call_with_audit
result = await self._call(method, serviceobj, methodobj, params, app=app,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/middlewared/main.py”, line 726, 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 619, 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/api/base/decorator.py”, line 101, in wrapped
result = func(*args)
^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/middlewared/plugins/catalog/app_version.py”, line 30, in get_app_details
raise CallError(f’Unable to locate {app_name!r} at {app_location!r}', errno=errno.ENOENT)
middlewared.service_exception.CallError: [ENOENT] Unable to locate ‘nextcloud’ at ‘/mnt/.ix-apps/truenas_catalog/trains/stable/nextcloud’

I dont even see any folder under truenas_catalog:

root@truenas [/mnt/. ix-apps] # cd truenas_catalog
root@truenas [/mnt/.ix-apps/truenas_catalog]#
root@truenas [/mnt/. ix-apps/truenas_catalog]# ls -1
total 0
root@truenas [/mnt/. ix-apps/truenas_catalog]# ls

Was this a brand new install or an upgrade from a previous version of TrueNAS?

Brandnew clean install setup

BOOM!!***

It worked.

as shown in above error after which I clicked "“refresh catalog” on UI and it gave me error:

Failed to clone GitHub - truenas/apps to /mnt…/truenas_catalog

So I tried to clone it manually:

root@truenas [/mnt/. ix-apps/truenas_catalog]# ls - 1
total 0
root@truenas [/mnt/. ix-apps/truenas_catalog]# git clone GitHub - truenas/apps
Cloning into ‘apps’
fatal: unable to access ‘GitHub - truenas/apps’: Could not resolve host: github.com
root@truenas [/mnt/. ix-apps/truenas_catalog]# git clone GitHub - truenas/apps
Cloning into ‘apps’
remote: Enumerating objects: 332326, done.
remote: Counting objects: 100% (179/179), done.
remote: Compressing objects: 100% (157/157), done.
remote: Total 332326 (delta 55), reused 55 (delta 22), pack-reused 332147 (from 2)
Receiving objects: 100% (332326/332326), 187.40 MiB | 44.60 MiB/s, done.
Resolving deltas: 100% (167370/167370), done.
Updating files: 100% (38126/38126), done.
root@truenas [/mnt/. ix-apps/truenas_catalog]#

as it shows unable to resolve github.com I noticed DNS were unreachable on Truenas, once my dns servers were reachable again, now I was able to clone it and no more errors.

1 Like