SOLVED: Can not activate Apps after migration to 24.10

Hi!

I migrated today to 24.10. Since I had no “official” Apps installed, just TrueChart Apps, no Apps have been migrated.
After upgrading, I have been navigated to Apps, selected a Pool. It says, app services in running. When trying to install a app, like jellyfin, I get following error:

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

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/middlewared/plugins/catalog/app_version.py", line 56, 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/community/jellyfin'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/middlewared/main.py", line 208, in call_method
    result = await self.middleware.call_with_audit(message['method'], serviceobj, methodobj, params, self)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1526, in call_with_audit
    result = await self._call(method, serviceobj, methodobj, params, app=app,
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1468, 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 1361, 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 183, in nf
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/middlewared/schema/processor.py", line 55, in nf
    res = f(*args, **kwargs)
          ^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/middlewared/plugins/catalog/app_version.py", line 59, 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 'jellyfin' at '/mnt/.ix-apps/truenas_catalog/trains/community/jellyfin'

First of all, I recognized, the selected Pool is missing from the path used. I also checked the filesystem manually - there is no folder .ix-apps.
Any ideas what went wrong?

Thank you,
Christian

Reviewed this today. I had to sync the catalog manually to get this fixed.

Hi, Im facing same issue, how did you mannually sync the catalog? thank you in advanced. First time user

Just hit refresh catalog.

Hi Chris, at the end I did not set up my DNS properly. The catalog worked fined after refresh, thanks for answering :slight_smile: