Tuesday, March 19, 2024
support@conference.yunohost.org
March
Mon Tue Wed Thu Fri Sat Sun
        1
2
3
4
5
6
7 8 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
             

[19:55:21] <12b> well, looks like it has already been removed from the testing branch. no PR needed
[20:03:15] <12b> That's when trying to install the app
[20:03:15] <12b> (in
config_panel.toml )
[20:03:15] <Aleks (he/him/il/lui)> imho it's probably due to https://github.com/YunoHost-Apps/vpnclient_ynh/blob/master/manifest.json#L26, not the config panel
[20:03:15] <12b> https://aria.im/_matrix/media/v1/download/matrix.org/mWaDCTtrmwHScSUlXdKrxRda
[20:03:16] <Aleks (he/him/il/lui)> hmm what error ?
[20:03:16] <12b> The errors I have with vpnclient are caused by the option `style = "info"` in sections `[main.vpn.status]` and `[main.vpn.service_enabled]`. should these be removed too?
[20:03:16] <12b> https://aria.im/_matrix/media/v1/download/matrix.org/GzCOOZAqWqFbvNxHMgQcKCOO
[20:03:16] <12b> yeah, right. Using the testing version I can install it. But then I have an error when displaying the app settings :
[20:03:16] <Aleks (he/him/il/lui)> but the "testing" version doesn't have those anymore
[20:03:16] <12b> If I try to get the config in command line I get this :
```
root@lab12:~# yunohost app config get hotspot -e
Warning: /usr/share/yunohost/helpers.d/config: line 50: install_dir: unbound variable
Warning: /usr/share/yunohost/helpers.d/config: line 50: final_path: unbound variable
Warning: File does not exists
Error: Failed to read config panel values.
```
[20:03:18] <12b> oups sorry, that was the next error I wanted to talk about
[20:03:19] <12b> When trying to get config of vpnclient I get this :
[20:03:23] <12b> ```
pydantic.error_wrappers.ValidationError: 1 validation error for ConfigPanelModel
panels -> 0 -> sections -> 0 -> options -> 3 -> FileOption -> accept
value is not a valid list (type=type_error.list)
```
[20:04:04] <12b> In config\_panel.toml l tried to replace `accept = ".cube, .ovpn, .conf"` by `accept = [".cube", ".ovpn", ".conf"]`, which got rid of the pydantic error. but then I got the same error as with hotspot above
[22:23:15] <lautre> Intéressant.
J'ai essayé de mettre à jour une application, et ça s'est bloqué.
J'ai rafraîchi la page, et j'ai repris la mise à jour, qui s'est "terminée" sur un message d'erreur.
Bon, pas grave, je n'avais pas encore utilisé l'application, j'ai juste à la virer.
Introuvable :D
C'était l'application Grist.
Mais je ne sais pas si c'est parce que je n'avais pas assez de ressources RAM.
Pas grave pour moi.
[22:24:29] <lautre> Je pense que je n'avais pas assez de ram (jai l'avertissement, là, en fiasant l'installation à nouveau)
[22:28:26] <Salamandar> Salut, si l'installation s'est terminée sur une erreur, elle a normalement été désinstallée automatiquement dans la foulée.
[22:28:56] <lautre> La mise à jour s'est mal passée. Il y avait aussi un truc comme quoi la sauvegarde n'avait pas été faite
[22:29:26] <lautre> Du coup, c'est logique que tout était nettoyé à la fin.
[22:29:56] <lautre> Faudrait que je regarde plus précisement pourquoi la sauvegarde s'est mal passée
[22:30:15] <Salamandar> pardon, mise à jour…
[22:30:24] <Salamandar> > <@lautre:matrix.org> Faudrait que je regarde plus précisement pourquoi la sauvegarde s'est mal passée

c'est étrange que la màj ait quand même été tentée
[22:30:44] <lautre> J'ai l'API Yunohost qui ne répond pas...
[22:30:55] <Salamandar> si tu as les logs de backup et upgrade, je pense que ça nous intéressera
[22:30:59] <Salamandar> > <@lautre:matrix.org> J'ai l'API Yunohost qui ne répond pas...

oups :D
[22:31:13] <Salamandar> problème de ram en effet peut-être ?
[22:31:18] <lautre> Je pense qu'un truc à foiré au début, et en raffraîchissant la page, c'était déjà dans un sale état
[22:32:01] <lautre> https://aria.im/_matrix/media/v1/download/matrix.org/UMRTQjNOJnapOwZgYvGgvZNs
[22:33:18] <lautre> Normalement la VM aurait du obtenir la ram nécessaire, avec le balooning
[22:33:44] <Salamandar> si tu recharges la page ?
[22:33:53] <lautre> Il doit y avoir autre chose. je vais regarder en ligne de commande.
Comment je fais pour voir le status de l'API Yunohost?
[22:34:09] <lautre> J'arrive au login/pass :D
[22:34:25] <Salamandar> ah c'est bien :)
[22:34:35] <Salamandar> > <@lautre:matrix.org> Il doit y avoir autre chose. je vais regarder en ligne de commande.
> Comment je fais pour voir le status de l'API Yunohost?

systemctl status yunohost-api
[22:35:42] <lautre> Il tourne, ça s'est probablement relancé via systemd
[22:35:44] <lautre> > yunohost-api.service: Failed with result 'oom-kill'.
[22:36:06] <lautre> Bon, voilà :D
On a la réponse...
[22:36:23] <Salamandar> arf
[22:36:28] <Salamandar> en effet…
[22:37:52] <lautre> Je suis têtu.
Je fais un swapoff -a, puis un swapon -a, et je relance l'installation
[22:48:58] <lautre> Bon, j'ai l'impression que l'installation foire un peu
[23:00:22] <lautre> L'installation ne passe pas. Peut être que la nouvelle version nécessite plus de ram qu'avant.
Pas grave.
L'installeur fait le nettoyage.
Je testerai grist une autre fois.
[23:01:29] <lautre> Bonne nuit