What type of hardware are you using: Other(?)
What YunoHost version are you running: 12.013
How are you able to access your server: SSH
Describe your issue
when i try to upgrade package i have this error
Could not load migration 0025_global_settings_to_configpanel:
Share relevant logs or error messages
Launching migrations…
Traceback (most recent call last):
File “/usr/lib/python3/dist-packages/yunohost/tools.py”, line 883, in _load_migration
module = import_module(“yunohost.migrations.{}”.format(migration_id))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3.11/importlib/init.py”, line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “”, line 1206, in _gcd_import
File “”, line 1178, in _find_and_load
File “”, line 1149, in _find_and_load_unlocked
File “”, line 690, in _load_unlocked
File “”, line 940, in exec_module
File “”, line 241, in _call_with_frames_removed
File “/usr/lib/python3/dist-packages/yunohost/migrations/0025_global_settings_to_configpanel.py”, line 12, in
from yunohost.utils.legacy import translate_legacy_settings_to_configpanel_settings
ImportError: cannot import name ‘translate_legacy_settings_to_configpanel_settings’ from ‘yunohost.utils.legacy’ (/usr/lib/python3/dist-packages/yunohost/utils/legacy.py)
Error: Could not load migration 0025_global_settings_to_configpanel: cannot import name ‘translate_legacy_settings_to_configpanel_settings’ from ‘yunohost.utils.legacy’ (/usr/lib/python3/dist-packages/yunohost/utils/legacy.py)
dpkg: error processing package yunohost (–configure):
installed yunohost package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
yunohost
E: Sub-process /usr/bin/dpkg returned an error code (1)