Mon serveur YunoHost
Matériel: Raspberry Pi à la maison / Brique Internet avec VPN + hdd attaché au Pi.
**Version de YunoHost 4.2.8.3 (stable)
J’ai accès à mon serveur : En SSH | Par la webadmin (partiellement)
Êtes-vous dans un contexte particulier ou avez-vous effectué des modifiiations particulières sur votre instance ? : non
Description du problème
Bonjour,
Ce matin j’ai retrouvé mon yunohost avec des souçis. L’administration web fonctionne mal, par exemple quand je clique sur ‘system update’ j’obtiens :
YunoHost encountered an internal error
Really sorry about that.
You should look for help on the forum or the chat to fix the situation, or report the bug on the bugtracker.
The following information might be useful for the person helping you:Error: “500” Internal Server Error
Action: “PUT” /yunohost/api/update/all
Error message:
Unexpected server errorTraceback
Traceback (most recent call last):
File “/usr/lib/python3/dist-packages/moulinette/interfaces/api.py”, line 484, in process
ret = self.actionsmap.process(arguments, timeout=30, route=_route)
File “/usr/lib/python3/dist-packages/moulinette/actionsmap.py”, line 600, in process
return func(**arguments)
File “/usr/lib/moulinette/yunohost/tools.py”, line 413, in tools_update
upgradable_apps = list(_list_upgradable_apps())
File “/usr/lib/moulinette/yunohost/tools.py”, line 426, in _list_upgradable_apps
app_dict = app_info(app_id, full=True)
File “/usr/lib/moulinette/yunohost/app.py”, line 198, in app_info
permissions = user_permission_list(full=True, absolute_urls=True, apps=[app])[
File “/usr/lib/moulinette/yunohost/permission.py”, line 82, in user_permission_list
for app in apps
File “/usr/lib/moulinette/yunohost/permission.py”, line 84, in
and app_setting(app, “domain”)
File “/usr/lib/moulinette/yunohost/app.py”, line 1396, in app_setting
app_settings = _get_app_settings(app) or {}
File “/usr/lib/moulinette/yunohost/app.py”, line 2182, in _get_app_settings
settings = yaml.safe_load(f)
File “/usr/lib/python3/dist-packages/yaml/init.py”, line 94, in safe_load
return load(stream, SafeLoader)
File “/usr/lib/python3/dist-packages/yaml/init.py”, line 72, in load
return loader.get_single_data()
File “/usr/lib/python3/dist-packages/yaml/constructor.py”, line 35, in get_single_data
node = self.get_single_node()
File “/usr/lib/python3/dist-packages/yaml/composer.py”, line 36, in get_single_node
document = self.compose_document()
File “/usr/lib/python3/dist-packages/yaml/composer.py”, line 55, in compose_document
node = self.compose_node(None, None)
File “/usr/lib/python3/dist-packages/yaml/composer.py”, line 84, in compose_node
node = self.compose_mapping_node(anchor)
File “/usr/lib/python3/dist-packages/yaml/composer.py”, line 127, in compose_mapping_node
while not self.check_event(MappingEndEvent):
File “/usr/lib/python3/dist-packages/yaml/parser.py”, line 98, in check_event
self.current_event = self.state()
File “/usr/lib/python3/dist-packages/yaml/parser.py”, line 428, in parse_block_mapping_key
if self.check_token(KeyToken):
File “/usr/lib/python3/dist-packages/yaml/scanner.py”, line 116, in check_token
self.fetch_more_tokens()
File “/usr/lib/python3/dist-packages/yaml/scanner.py”, line 252, in fetch_more_tokens
return self.fetch_plain()
File “/usr/lib/python3/dist-packages/yaml/scanner.py”, line 676, in fetch_plain
self.tokens.append(self.scan_plain())
File “/usr/lib/python3/dist-packages/yaml/scanner.py”, line 1299, in scan_plain
“Please check http://pyyaml.org/wiki/YAMLColonInFlowContext for details.”)
yaml.scanner.ScannerError: while scanning a plain scalar
in “/etc/yunohost/apps/hotspot/settings.yml”, line 2, column 2
found unexpected ‘:’
in “/etc/yunohost/apps/hotspot/settings.yml”, line 2, column 16
Please check http://pyyaml.org/wiki/YAMLColonInFlowContext for details.While processing the action the server said:
Fetching available upgrades for system packages…
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://packages.sury.org/php buster InRelease: The following signatures were invalid: EXPKEYSIG B188E2B695BD4743 DEB.SURY.ORG Automatic Signing Key
W: Failed to fetch https://packages.sury.org/php/dists/buster/InRelease The following signatures were invalid: EXPKEYSIG B188E2B695BD4743 DEB.SURY.ORG Automatic Signing Key
W: Some index files failed to download. They have been ignored, or old ones used instead.
Something went wrong while updating the cache of APT (Debian’s package manager). Here is a dump of the sources.list lines, which might help identify problematic lines:
sources.list:deb Index of /raspbian buster main contrib non-free rpi sources.list.d/weechat.list:deb Index of /raspbian buster main sources.list.d/weechat.list:deb-src Index of /raspbian buster main sources.list.d/raspi.list:deb Index of /debian buster main ui sources.list.d/yunohost.list:deb Index of /debian/ buster stable sources.list.d/extra_php_version.list:deb Index of /php/ buster main
Updating application catalog…
The application catalog has been updated!
Tous les services sont en marche.
Si je clique sur ‘users’ j’obtiens :
YunoHost encountered an internal error
Really sorry about that.
You should look for help on the forum or the chat to fix the situation, or report the bug on the bugtracker.
The following information might be useful for the person helping you:Error:
"500" Internal Server ErrorAction:
"GET" /yunohost/api/users/arnauld?locale=enError message:
Unexpected server error
Traceback
Traceback (most recent call last): File "/usr/lib/python3/dist-packages/moulinette/interfaces/api.py", line 484, in process ret = self.actionsmap.process(arguments, timeout=30, route=_route) File "/usr/lib/python3/dist-packages/moulinette/actionsmap.py", line 600, in process return func(**arguments) File "/usr/lib/moulinette/yunohost/user.py", line 535, in user_info elif username not in user_permission_info("mail.main")["corresponding_users"]: File "/usr/lib/moulinette/yunohost/user.py", line 942, in user_permission_info return yunohost.permission.user_permission_info(permission) File "/usr/lib/moulinette/yunohost/permission.py", line 343, in user_permission_info existing_permission = user_permission_list(full=True)["permissions"].get( File "/usr/lib/moulinette/yunohost/permission.py", line 82, in user_permission_list for app in apps File "/usr/lib/moulinette/yunohost/permission.py", line 84, in <dictcomp> and app_setting(app, "domain") File "/usr/lib/moulinette/yunohost/app.py", line 1396, in app_setting app_settings = _get_app_settings(app) or {} File "/usr/lib/moulinette/yunohost/app.py", line 2182, in _get_app_settings settings = yaml.safe_load(f) File "/usr/lib/python3/dist-packages/yaml/__init__.py", line 94, in safe_load return load(stream, SafeLoader) File "/usr/lib/python3/dist-packages/yaml/__init__.py", line 72, in load return loader.get_single_data() File "/usr/lib/python3/dist-packages/yaml/constructor.py", line 35, in get_single_data node = self.get_single_node() File "/usr/lib/python3/dist-packages/yaml/composer.py", line 36, in get_single_node document = self.compose_document() File "/usr/lib/python3/dist-packages/yaml/composer.py", line 55, in compose_document node = self.compose_node(None, None) File "/usr/lib/python3/dist-packages/yaml/composer.py", line 84, in compose_node node = self.compose_mapping_node(anchor) File "/usr/lib/python3/dist-packages/yaml/composer.py", line 127, in compose_mapping_node while not self.check_event(MappingEndEvent): File "/usr/lib/python3/dist-packages/yaml/parser.py", line 98, in check_event self.current_event = self.state() File "/usr/lib/python3/dist-packages/yaml/parser.py", line 428, in parse_block_mapping_key if self.check_token(KeyToken): File "/usr/lib/python3/dist-packages/yaml/scanner.py", line 116, in check_token self.fetch_more_tokens() File "/usr/lib/python3/dist-packages/yaml/scanner.py", line 252, in fetch_more_tokens return self.fetch_plain() File "/usr/lib/python3/dist-packages/yaml/scanner.py", line 676, in fetch_plain self.tokens.append(self.scan_plain()) File "/usr/lib/python3/dist-packages/yaml/scanner.py", line 1299, in scan_plain "Please check http://pyyaml.org/wiki/YAMLColonInFlowContext for details.") yaml.scanner.ScannerError: while scanning a plain scalar in "/etc/yunohost/apps/hotspot/settings.yml", line 2, column 2 found unexpected ':' in "/etc/yunohost/apps/hotspot/settings.yml", line 2, column 16 Please check http://pyyaml.org/wiki/YAMLColonInFlowContext for details.
Mes applications sont fonctionelles (Nextcloud, Roundcube, etc…)
Merci des conseils.