Missing all apps after upgrade 24.10

After the upgrade to 24.10.2 all my apps are missing. I have tried to unset and then set the pool but that doesn’t work.

Were they TrueCharts apps? If so, that’s expected and has been thoroughly documented for the better part of a year.

I am getting this error when I try the migration script:

Total Progress: [________________________________________] 0.00%
[EFAULT] Latest backup for ‘Application’ does not have any releases which can be migrated
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 556, in __run_body
rv = await self.middleware.run_in_thread(self.method, *args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/middlewared/main.py”, line 1367, in run_in_thread
return await self.run_in_executor(io_thread_pool_executor, method, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
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/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/kubernetes_to_docker/migrate.py”, line 68, in migrate
raise CallError(
middlewared.service_exception.CallError: [EFAULT] Latest backup for ‘Application’ does not have any releases which can be migrated

Custom applications and official applications

Can someone help me :cry:

What version of TrueNAS did you upgrade to 24.10 from? Did you follow the preparation steps for migrating apps in the 24.10 release notes? https://www.truenas.com/docs/scale/24.10/gettingstarted/scalereleasenotes/#preparing-for-app-migration

My English is bad, so I’m using GPT to help translate all my replies.

My truenas version is Dragonfish-24.04.2.

I have an official TrueNAS application, and I’ve updated it to the latest version.

The rest of the apps are custom app.

TrueNAS has an OpenWRT virtual machine, but the system and all apps use their own network settings and don’t depend on OpenWRT

All of the datasets are unencrypted.

My English is bad, so I’m using GPT to help translate all my replies.

My truenas version is Dragonfish-24.04.2.

I have an official TrueNAS application, and I’ve updated it to the latest version.

Host Path ACLs are not being used.

The rest of the apps are custom app.

TrueNAS has an OpenWRT virtual machine, but the system and all apps use their own network settings and don’t depend on OpenWRT

All of the datasets are unencrypted.

It may help to roll back to 24.04.2 if you’re still on 24.10, then upgrade to 24.04.2.5 before retrying the update to 24.10. It’s a good starting point at least, since we always recommend migrating from the latest maintenance release to the next major version.

same prob, all apps missing, couldnt start docker service, says. Browsing apps i see that they are marked installed. updated to ElectricEel-24.10.2.1 from previous version.

That is likely a different problem and a UI bug only. Is your apps pool stored on HDDs?

Try entering sudo docker ps in the CLI to confirm your containers are actually running.

This is true, apps are running indeed. How do i get them to ui ? Looks like some of the apps loose their configs again …

@tontze There are some workaround suggestions in this thread you could try, or you could upgrade to 25.04.0 when it releases next week with the bug fix.

1 Like

unse & set the pool did it, thanks :slight_smile:

I upgrade to 24.04.2.5, and then upgrade to 24.10.2.1.

But nothing changed at all.I can’t see all the apps and images.The officially installed apps also don’t show as installed.

Reboot and unset the pool still doesn’t work.

I’m not sure what the cause is here then. We do have a recent open bug report from another user with a similar error message, so hopefully a cause can be identified there.

https://ixsystems.atlassian.net/browse/NAS-135280

After I rolled back to 24.04.2.5, a dataset named ix-apps appeared in the Applications pool. But when I clicked on it, I got an error saying: [ENOENT] Path /mnt/.ix-apps not found.

Error: Traceback (most recent call last):
File “/usr/lib/python3/dist-packages/middlewared/main.py”, line 198, 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 1466, in call_with_audit
result = await self._call(method, serviceobj, methodobj, params, app=app,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
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/schema/processor.py”, line 191, in nf
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/middlewared/schema/processor.py”, line 53, in nf
res = f(*args, **kwargs)
^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/middlewared/plugins/filesystem.py”, line 430, in stat
raise CallError(f’Path {_path} not found’, errno.ENOENT)
middlewared.service_exception.CallError: [ENOENT] Path /mnt/.ix-apps not found