TrueNAS-SCALE-24.10.2 - after June 1st

Hi, today after not bothering for months, i wanted to upgrade apps, but im getting error

 Error: 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/apps/upgrade.py", line 75, in upgrade
    new_values = self.middleware.call_sync(
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1654, in call_sync
    return self.run_coroutine(methodobj(*prepared_call.args))
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1694, in run_coroutine
    return fut.result()
           ^^^^^^^^^^^^
  File "/usr/lib/python3.11/concurrent/futures/_base.py", line 449, in result
    return self.__get_result()
           ^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/concurrent/futures/_base.py", line 401, in __get_result
    raise self._exception
  File "/usr/lib/python3/dist-packages/middlewared/plugins/apps/schema_normalization.py", line 34, in normalize_and_validate_values
    dict_obj = 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 1460, in _call
    return await methodobj(*prepared_call.args)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/middlewared/plugins/apps/schema_validation.py", line 37, in validate_values
    verrors.check()
  File "/usr/lib/python3/dist-packages/middlewared/service_exception.py", line 72, in check
    raise self
middlewared.service_exception.ValidationErrors: [EINVAL] values.network.web_port: A dict was expected

A dict was expected error. I updated catalog but still getting this error.

I saw something about june 1st deadline, but im on Electric eel TrueNAS-SCALE-24.10.2 already and migrated my apps from truecharts few months ago.

What do i need to do to fix this?

I think you are stuck recreating the apps.
** TrueNAS systems with Apps should be upgraded immediately to 24.10.2.2, before June 1st!**

From Announcements section of forum

can i somehow import the old app configs or somehting? recreating apps you mean create new containers?

Can i upgrade to 24.10.2.2 ? Wont that break my current apps?

I’ll wait for an experienced poster or someone from iX Systems to reply.

What version does your GUI say you are on currently? Making sure you receive the best answers to your problem.

OS Version:TrueNAS-SCALE-24.10.2

Product:EY-MoDT SKYLINE ITX

Unfortunately i dont follow truenas news, because the system is stable and it works. And i read many posts where people upgrade it often and it breaks. Thats why i dont want to upgrade every time some new update is released… what if it breaks? I cant have downtime :(.

I would like to migrate my current apps if possible like Jellyfin

Sadly you’re a month too late for that. You should have updated to 24.10.2.2 before june 1st to be able to upate your apps. Now your only option, as far as i’ve seen from other posts, is to manually recreate your apps.
If you’re using hostpaths for the configs, it should be relatively trivial to delete the old app, create an new one, point it to the old config dataset and start the new app.

Edit: Fixed version numer…

2 Likes

but im already on 24.10.2

Were you on 24.10.2 before june 1st or did you update after june 1st?

Yes i think i was before that, for few months now.

I am not sure if the version makes a difference between 24.10.2 and 24.10.2.2

1 Like

yes, sorry it should be 24.10.2.2

Does anyone know if updating the Truenas now to 24.10.2.2 will break current apps? I mean they run now, will they run after the upgrade?

On June 1st, 2025, we’ll be publishing an update to the TrueNAS Apps Catalog that will enable per-App IP addressing on a broad scale. Users on TrueNAS 24.10.2.2 or 25.04 will simply receive a prompt to update their Apps using the usual one-button refresh, and will then have the option to make any advanced networking changes desired. Users on an earlier version of 24.10 will receive an error message – and at this point, should update to 24.10.2.2 — or 25.04 — in order to resolve these and continue forward.

resolve these and continue forward.

Sounds easy, but is it that easy?

I mean i have done th emove from truecharts to the new method few months ago. When i upgraded to 24.10.2.

My question is will upgrading to 24.10.2.2 will break my apps and i will have to recreate them all over again for that peer IP address thing? Or will it just be resolved like the text above says?

I think this was the TrueNAS Tech Talk that discussed the changes? It might be covered there

The video is pretty vague… i still dont understant what is that IP addressing thing. I mean my apps have IP addresses already assigned to them by the truenas. THis happened when i migrated from k3 or kubernetes truecharts to docker i think that the 24.10.2 runs.

Does that mean im good to go? Or will i need to recreate the apps?

If i have to recreate the apps, how to not lose data? Or how to reuse existing app mounts/paths ??

I dont want to mess things up :frowning:

Document your current app settings.
Recreate the apps using the same settings post update.

Of course, this assumes you’re using host path volumes.
If you went for iXvolumes however… that complicates things.

@etorix makes a good point below though, you may not have to do anything but update since you are already on 24.10.X.

Your apps are broken now. Upgrade to 24.10.2.2 is the fix.

That deadline was for users on 24.04 and earlier. 24.10 should be fine but must be on the latest version.

3 Likes

Yeah this is what the release notes say. Seems its safe to upgrade… ill try that in few hours then and let yall know if im dead or alive

So i survived, it was as i expected it to be. Updated to 24.10.2.2, then refreshed catalog for the apps, then upgraded apps no problem. All through the UI.

I guess the warning was more for people still using kubernetes apps and truecharts. That move from truecharts to docker type of apps that the 24.10.2 used i did earlier this year.

Thanks all for info.

1 Like

Right.

The auto-migration from Kubernetes is no longer possible.

Need to be on 24.10.2.2 to receive app updates now.