Trixie: diagnosis run failed

What type of hardware are you using: Virtual machine
What YunoHost version are you running: 13 - half migration
How are you able to access your server: SSH
Are you in a special context or did you perform specific tweaking on your YunoHost instance ?: no

Describe your issue

  1. did a migration from 12 to 13.
  2. failed yunohost diagnosis run with error

Share relevant logs or error messages

Failed diganosis - log output is not available:
% yunohost diagnosis run
Warnung: Habe 1 Ding(e) gefunden, die verbessert werden könnten für Grundsystem.
/usr/lib/python3/dist-packages/pydantic/_internal/_config.py:345: UserWarning: Valid config keys have changed in V2:
‘schema_extra’ has been renamed to ‘json_schema_extra’
warnings.warn(message, UserWarning)
Traceback (most recent call last):
File “/usr/lib/python3/dist-packages/yunohost/diagnosis.py”, line 675, in _load_diagnoser
module = import_module(f"yunohost.diagnosers.{module_id}")
File “/usr/lib/python3.13/importlib/init.py”, line 88, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “”, line 1387, in _gcd_import
File “”, line 1360, in _find_and_load
File “”, line 1331, in _find_and_load_unlocked
File “”, line 935, in _load_unlocked
File “”, line 1026, in exec_module
File “”, line 488, in _call_with_frames_removed
File “/usr/lib/python3/dist-packages/yunohost/diagnosers/10-ip.py”, line 29, in
from ..settings import settings_get
File “/usr/lib/python3/dist-packages/yunohost/settings.py”, line 31, in
from .utils.configpanel import ConfigPanel, parse_filter_key
File “/usr/lib/python3/dist-packages/yunohost/utils/configpanel.py”, line 255, in
class ConfigPanelModel(BaseModel):
…<135 lines>…
return value
File “/usr/lib/python3/dist-packages/pydantic/_internal/_model_construction.py”, line 153, in new
cls.pydantic_decorators = DecoratorInfos.build(cls)
~~~~~~~~~~~~~~~~~~~~^^^^^
File “/usr/lib/python3/dist-packages/pydantic/_internal/_decorators.py”, line 460, in build
res.validators[var_name] = Decorator.build(
~~~~~~~~~~~~~~~^
model_dc, cls_var_name=var_name, shim=var_value.shim, info=info
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File “/usr/lib/python3/dist-packages/pydantic/_internal/_decorators.py”, line 256, in build
func = shim(func)
File “/usr/lib/python3/dist-packages/pydantic/_internal/_decorators_v1.py”, line 73, in make_generic_v1_field_validator
raise PydanticUserError(
…<3 lines>…
)
pydantic.errors.PydanticUserError: The field and config parameters are not available in Pydantic V2, please use the info parameter instead.

For further information visit Redirecting...
Info: Der Vorgang’Run diagnosis’ konnte nicht abgeschlossen werden. Bitte teile das vollständige Protokoll dieser Operation mit dem Befehl ‘yunohost log share 20260330-141610-diagnosis_run’, um Hilfe zu erhalten
Fehler: Failed to load diagnoser ip : The field and config parameters are not available in Pydantic V2, please use the info parameter instead.

For further information visit Redirecting...

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.