Apps wont load after upgrade to 25.04

Hi all,
after upgrade to 25.04.0 my apps are not showing up (but are still running)
with the error code: I guess my custom logos are bugging the system…

Validation Error
3 validation errors for AppQueryResult result.list[AppQueryResultItem].5.icon Extra inputs are not permitted [type=extra_forbidden, input_value='/mnt/TN6TB/Daten/Media/t...data/www/img_custom.png', input_type=str] For further information visit https://errors.pydantic.dev/2.9/v/extra_forbidden result.AppQueryResultItem Input should be a valid dictionary or instance of AppQueryResultItem [type=model_type, input_value=[{'name': 'open-speed-tes...]}}, 'version': '3.3'}}], input_type=list] For further information visit https://errors.pydantic.dev/2.9/v/model_type result.int Input should be a valid integer [type=int_type, input_value=[{'name': 'open-speed-tes...]}}, 'version': '3.3'}}], input_type=list] For further information visit https://errors.pydantic.dev/2.9/v/int_type
More info...
 Error: 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 49, in call
    return await self._dump_result(app, methodobj, result)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/middlewared/api/base/server/method.py", line 52, in _dump_result
    return self.middleware.dump_result(self.serviceobj, methodobj, app, result)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/middlewared/main.py", line 791, in dump_result
    return serialize_result(new_style_returns_model, result, expose_secrets)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/middlewared/api/base/handler/result.py", line 13, in serialize_result
    return model(result=result).model_dump(
           ^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/pydantic/main.py", line 212, in __init__
    validated_self = self.__pydantic_validator__.validate_python(data, self_instance=self)
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
pydantic_core._pydantic_core.ValidationError: 3 validation errors for AppQueryResult
result.list[AppQueryResultItem].5.icon
  Extra inputs are not permitted [type=extra_forbidden, input_value='/mnt/TN6TB/Daten/Media/t...data/www/img_custom.png', input_type=str]
    For further information visit https://errors.pydantic.dev/2.9/v/extra_forbidden
result.AppQueryResultItem
  Input should be a valid dictionary or instance of AppQueryResultItem [type=model_type, input_value=[{'name': 'open-speed-tes...]}}, 'version': '3.3'}}], input_type=list]
    For further information visit https://errors.pydantic.dev/2.9/v/model_type
result.int
  Input should be a valid integer [type=int_type, input_value=[{'name': 'open-speed-tes...]}}, 'version': '3.3'}}], input_type=list]
    For further information visit https://errors.pydantic.dev/2.9/v/int_type

so there are two questions:

  1. is there a short-term fix (like editigng the yaml directly and removing the icon) → where do I find the correct yaml?
  2. how to fix this longterm?

thanks!

Perhaps if you documented how you added the icons, someone might know what to do to reverse.

There is discussion of this being a feature in a future release. If you can’t find a “feature request”, please create one.

Edit: Its here: Allow custom icons for custom apps

thanks! for the long term solution info!

I figured out a short-term solution:
1.find the metadata.yaml file in .ix-apps
2. comment or remove the line with the corresponding icon: /… img_custom.png

in my case this was a custom app, and i had to commetn the icon: … lines in the main metadata.yaml and the one in the apps subfolder

thanks!

1 Like