Friday, June 23, 2023
support@conference.yunohost.org
June
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
   
             

[06:34:03] <danilo> Hey! Quick question, which is the most painless procedure to migrate from 32bit to 64bit without losing the yuno domain?

Using yuno backups on a fresh yunohost installation on 64bit Debian?

Or the latest yuno image is already 64bit?
[06:55:17] <danilo> Nevermind, just found out where the 64bit is explicited

I’m gonna try with the yuno backups then
[07:13:55] <Aylam> Hello. I am trying to set up Pihole to get around the hairpinning issue, but it is not working. No domains are resolving. Output of "nslookup example.com" returns
";; communications error to 127.0.0.53#53: timed out
;; communications error to 127.0.0.53#53: timed out
;; communications error to 127.0.0.53#53: timed out
;; no servers could be reached"
[11:54:47] <Kavelach> Hi, I tried updating yuno and now yunohost-api doesn't work, and I can see thigs error:
```
Jun 23 11:51:02 yuno.grzybnia.de yunohost-api[2804318]: yunohost.utils.error.YunohostAuthenticationError: Unable to authenticate
Jun 23 11:51:02 yuno.grzybnia.de yunohost-api[2804318]: raise YunohostAuthenticationError("unable_authenticate")
Jun 23 11:51:02 yuno.grzybnia.de yunohost-api[2804318]: File "/usr/lib/python3/dist-packages/yunohost/authenticators/ldap_admin.py", line 162, in get_session_cookie
Jun 23 11:51:02 yuno.grzybnia.de yunohost-api[2804318]: authenticator.get_session_cookie()
Jun 23 11:51:02 yuno.grzybnia.de yunohost-api[2804318]: File "/usr/lib/python3/dist-packages/moulinette/interfaces/api.py", line 394, in logout
Jun 23 11:51:02 yuno.grzybnia.de yunohost-api[2804318]: return callback(*args, **kwargs)
Jun 23 11:51:02 yuno.grzybnia.de yunohost-api[2804318]: File "/usr/lib/python3/dist-packages/moulinette/interfaces/api.py", line 748, in wrapper
Jun 23 11:51:02 yuno.grzybnia.de yunohost-api[2804318]: return callback(*args, **kwargs)
Jun 23 11:51:02 yuno.grzybnia.de yunohost-api[2804318]: File "/usr/lib/python3/dist-packages/moulinette/interfaces/api.py", line 736, in wrapper
Jun 23 11:51:02 yuno.grzybnia.de yunohost-api[2804318]: return callback(*args, **kwargs)
Jun 23 11:51:02 yuno.grzybnia.de yunohost-api[2804318]: File "/usr/lib/python3/dist-packages/moulinette/interfaces/api.py", line 63, in wrapper
Jun 23 11:51:02 yuno.grzybnia.de yunohost-api[2804318]: rv = callback(*a, **ka)
Jun 23 11:51:02 yuno.grzybnia.de yunohost-api[2804318]: File "/usr/lib/python3/dist-packages/bottle.py", line 1749, in wrapper
Jun 23 11:51:02 yuno.grzybnia.de yunohost-api[2804318]: return route.call(**args)
Jun 23 11:51:02 yuno.grzybnia.de yunohost-api[2804318]: File "/usr/lib/python3/dist-packages/bottle.py", line 869, in _handle
Jun 23 11:51:02 yuno.grzybnia.de yunohost-api[2804318]: Traceback (most recent call last):
Jun 23 11:49:55 yuno.grzybnia.de yunohost-api[2804318]: yunohost.utils.error.YunohostAuthenticationError: Unable to authenticate
```
what would be the best way to triage and fix this issue? 👀
[12:09:54] <Westbam> Salut, des utilisateurs de guacamole par ici ? je teste l'app fourni par yunohost
[12:10:37] <Westbam> mais j'ai droit à ce message lorsque j'ouvre une session
[12:10:39] <Westbam> https://aria.im/_matrix/media/v1/download/matrix.org/CljKwJYDyQBHKQKQeXAuYdSC
[12:12:43] <Westbam> et dans le status du service guacamole tomcat j’aperçois ça
[12:12:44] <Westbam> https://aria.im/_matrix/media/v1/download/matrix.org/BvZxyjbZBWjgvXGHhFUUadTK
[12:13:22] <Westbam> par contre j'ai rien dans les log de guacd
[12:13:48] <Westbam> je crois que le problème vient de la, le tomcat ne communique pas avec ou un truc dans le genre
[12:29:45] <Aleks (he/him/il/lui)> est-ce que tu saurais partager la partie tronquée du message, sur la droite
[12:30:18] <Aleks (he/him/il/lui)> est-ce qui se pourrait que tu as activé le truc "sécurité expérimentale" sur ton serveur ?
[12:35:24] <Westbam> Aleks (he/him/il/lui): slt, non j'ai pas touché à ces options
[12:35:27] <Westbam> https://aria.im/_matrix/media/v1/download/matrix.org/qQCJvPVpgwUWaLzsUqvKjAfk
[12:39:33] <Westbam> et les 2 services sont bien up
[12:39:36] <Westbam> https://aria.im/_matrix/media/v1/download/matrix.org/KCrRUPeNwmKPwTqlCyuYttVp
[12:40:53] <Aleks (he/him/il/lui)> 🤔
[12:41:22] <Westbam> et dans les parametres de ma connexion
[12:41:24] <Westbam> https://aria.im/_matrix/media/v1/download/matrix.org/XlortlfnYBDmkkrIbZQRZxbm
[12:42:16] <Westbam> ces parametres sont obligatoires ou est-ce seulement lorsqu'on utilise le GUACD d'un serveur distant ?
[12:42:32] <Aleks (he/him/il/lui)> https://github.com/YunoHost-Apps/guacamole_ynh/issues/32
[12:42:47] <Westbam> j'ai testé en spécifiant localhost , 127.0.0.1 et le bon port j'ai rien
[12:42:48] <Aleks (he/him/il/lui)> apparament quelqu'un a eu un truc similaire à cause de `::1 localhost` qui manquait dans /etc/hosts on dirait
[12:42:53] <Aleks (he/him/il/lui)> enfin son message est pas clair
[12:44:31] <Westbam> c'est good !!!!
[12:45:32] <Aleks (he/him/il/lui)> :o
[12:45:54] <Aleks (he/him/il/lui)> tu peux clarifer ce que t'as fait ? Juste ::1 dans le premier champ ?
[12:48:51] <Westbam> Oui c'est ça
[12:49:02] <Westbam> https://aria.im/_matrix/media/v1/download/matrix.org/MSmXXdYotBzvIIUvigHmgXjO
[12:49:11] <Westbam> qu'on indique ou pas 4822 comme port ça roule
[12:49:33] <Westbam> plus qu'a mettre le plugin de double auth pour sécuriser la gameboy
[12:58:27] <Westbam> merci Aleks (he/him/il/lui) 😉
[16:26:09] <Kavelach> > Hi, I tried updating yuno and now yunohost-api doesn't work, and I can see thigs error:
> ```
> Jun 23 11:51:02 yuno.grzybnia.de yunohost-api[2804318]: yunohost.utils.error.YunohostAuthenticationError: Unable to authenticate
> Jun 23 11:51:02 yuno.grzybnia.de yunohost-api[2804318]: raise YunohostAuthenticationError("unable_authenticate")
> Jun 23 11:51:02 yuno.grzybnia.de yunohost-api[2804318]: File "/usr/lib/python3/dist-packages/yunohost/authenticators/ldap_admin.py", line 162, in get_session_cookie
> Jun 23 11:51:02 yuno.grzybnia.de yunohost-api[2804318]: authenticator.get_session_cookie()
> Jun 23 11:51:02 yuno.grzybnia.de yunohost-api[2804318]: File "/usr/lib/python3/dist-packages/moulinette/interfaces/api.py", line 394, in logout
> Jun 23 11:51:02 yuno.grzybnia.de yunohost-api[2804318]: return callback(*args, **kwargs)
> Jun 23 11:51:02 yuno.grzybnia.de yunohost-api[2804318]: File "/usr/lib/python3/dist-packages/moulinette/interfaces/api.py", line 748, in wrapper
> Jun 23 11:51:02 yuno.grzybnia.de yunohost-api[2804318]: return callback(*args, **kwargs)
> Jun 23 11:51:02 yuno.grzybnia.de yunohost-api[2804318]: File "/usr/lib/python3/dist-packages/moulinette/interfaces/api.py", line 736, in wrapper
> Jun 23 11:51:02 yuno.grzybnia.de yunohost-api[2804318]: return callback(*args, **kwargs)
> Jun 23 11:51:02 yuno.grzybnia.de yunohost-api[2804318]: File "/usr/lib/python3/dist-packages/moulinette/interfaces/api.py", line 63, in wrapper
> Jun 23 11:51:02 yuno.grzybnia.de yunohost-api[2804318]: rv = callback(*a, **ka)
> Jun 23 11:51:02 yuno.grzybnia.de yunohost-api[2804318]: File "/usr/lib/python3/dist-packages/bottle.py", line 1749, in wrapper
> Jun 23 11:51:02 yuno.grzybnia.de yunohost-api[2804318]: return route.call(**args)
> Jun 23 11:51:02 yuno.grzybnia.de yunohost-api[2804318]: File "/usr/lib/python3/dist-packages/bottle.py", line 869, in _handle
> Jun 23 11:51:02 yuno.grzybnia.de yunohost-api[2804318]: Traceback (most recent call last):
> Jun 23 11:49:55 yuno.grzybnia.de yunohost-api[2804318]: yunohost.utils.error.YunohostAuthenticationError: Unable to authenticate
> ```
> what would be the best way to triage and fix this issue? 👀

I fixed it by doing `sudo apt install python3-packaging --reinstall` and `sudo systemctl restart yunohost-api`
[16:27:17] <Aleks (he/him/il/lui)> sounds like what broke yunohost is that you manually installed stuff with pip then ...
[16:30:09] <Kavelach> I didn't install anything with pip though
[16:30:48] <Kavelach> I don't do anything manually with packages on my YH instance
[16:52:09] <Aleks (he/him/il/lui)> hmmmokay