Tuesday, July 18, 2023
support@conference.yunohost.org
July
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
           

[02:19:18] <phinero> Ah, will try )
[02:19:19] <phinero> Ah, will try )
Done without any problems
[02:19:21] <phinero> Ah, will try )
Done without any problems. SSOw shows "Disabled"
[02:20:04] <Tag> Great o/ This is a new bug introduced in 11.2 :D I'll report it on github
[02:20:30] <phinero> Can't disable password authentication for SSH on SSOwat page, get "Unexpected server error": 500 Internal Server Error.
https://paste.yunohost.org/hoqegosixe.sql
regen-conf doesn't help (
VPS, 11.2.1
[02:23:10] <phinero> Can't disable password authentication for SSH on SSOwat page, get "Unexpected server error": 500 Internal Server Error.
https://paste.yunohost.org/hoqegosixe.sql
regen-conf doesn't help (
VPS, 11.2.1
[02:29:03] <phinero> It looks like this ( Tried on another VPS (also vers.11.2.1) - the same issue
[02:29:22] <phinero> It looks like this ( Checked on another VPS (also vers.11.2.1) - the same issue
[06:10:30] <ynhuser> hi, is someone having an issue with gandi api keys? I'm not able to push any changes on DNS records. I even regenerated a new API key still the same issue?
[06:15:59] <tituspijean> ynhuser Hi, without an actual quote of the error you get, we cannot help you.
[06:24:12] <ynhuser> yes of course here it is
[06:25:52] <phinero> Hm... Can't find info about SIP/VoiP in the User Guide. There was a lot of info earlier and only Jitsi link now (
[06:26:22] <phinero> Hm... Can't find info about SIP/VoiP in the User Guide. There was a lot of info earlier and is only Jitsi link now (
[06:38:13] <tituspijean> ¯\_(ツ)_/¯ ynhuser
[06:41:08] <tituspijean> phinero the only page mentioning VoIP is this one:https://yunohost.org/en/XMPP
[06:41:44] <tituspijean> (except for apps obviously 🙂 )
[06:58:26] <phinero> test
[07:06:41] <phinero> Earlier there was this link on that page https://en.wikipedia.org/wiki/List_of_SIP_software#Free_and_open-source_license (found in my browser history). It seems to me, we don't have any variants to install SIP server as YunoApp and only Mummble for VoIP?
[07:28:20] <flatrongraad> bonjour a tous!
[07:31:13] <flatrongraad> Question rapide, pour l'app 'the lounge' j'ai une petite erreur a l'install, est-ce le bon endroit pour demander de l'aide?
[07:34:35] <@err404:matrix.org> flatrongraad: oui
[09:11:24] <unicis> hi I'm having an issue with gandi api key for DNS records update. I get the following error: Packagers: option api_protocol has 'choices' but has type 'string', use 'select' instead to remove this warning.
[09:12:08] <unicis> I regenerated a new key but same issue. I'm running YunoHost 11.2.1 and I have updated yesterday the all system updates
[09:20:51] <tituspijean> unicis: this is a bug at YunoHost's level, we need to fix that. Sorry for the inconvenience.
[09:26:00] <tituspijean> to be fixed by https://github.com/YunoHost/yunohost/pull/1693
[09:27:04] <tituspijean> if the webadmin lets you input a string, try RPC or REST as value, depending on what Gandi suggests you to do.
[09:27:12] <tituspijean> if not, wait for the fix unicis .
[11:39:35] <zay> bonjour, merci pour l'aide à la migration de mon serveur qui s'est très bien passée.
[11:40:25] <zay> Aujourd'hui, je fais des MAJ d'application  et je n'ai plus accès au nextcloud
[11:40:44] <zay> je vous transmets le log
[11:42:11] <zay> euh.. correction, j'ai accès au mon ancien cloud
[11:43:33] <zay> par contre hier, je n'avais pas réussi la MAJ...
[11:45:10] <zay> je vais réessayé... faut-il que je fasse une sauvegarde ou cette dernière est fait automatiquement avant MAJ ?
[11:56:19] <tituspijean> > <@zay:libera.chat> je vais réessayé... faut-il que je fasse une sauvegarde ou cette dernière est fait automatiquement avant MAJ ?

Une sauvegarde de la configuration de Nextcloud est toujours faite avant mise à jour (sauf pour les données, mais elles ne sont modifiées ou supprimés dans aucun cas de toute façon).
[11:56:49] <tituspijean> Par contre si tu as eu une mise à jour échouée hier, ça serait cool de partager son log
[12:49:20] <zay> La MAJ est en cours mais dure ... cela fait 30 min...
[12:49:56] <zay> elle est bloquée à "upgrading nextcloud"
[12:51:49] <zay> le log d'hier, je pense que c'est celui-là (retrouvé dans mon historique car accès au journal pas possible pour le moment) : https://paste.yunohost.org/raw/suleyonoco
[12:56:29] <zay> bon la MAJ vient de planter : voici le dernier log : https://paste.yunohost.org/raw/giyexiqamu
[13:01:19] <zay> cependant, toujours accès à Nextcloud ancienne version 22.2.3
[13:05:40] <zay> on me signale dans la plateforme nextcloud qu'une tâche de fond ne s'est pas bien passée... Je suppose que cela n'a rien à voir ?
[13:06:39] <tituspijean> > <@zay:libera.chat> bon la MAJ vient de planter : voici le dernier log : https://paste.yunohost.org/raw/giyexiqamu

"App "Mail" cannot be installed because it is not compatible with this version of the server."
Essaie de la désactiver ou supprimer avant de relancer la MAJ
[13:13:27] <zay> ok je regarde ça
[13:13:57] <tituspijean> Si tu as énormément de fichiers ce n'est pas étonnant que ça prenne du temps, le script s'assure qu'ils appartiennent au bon utilisateur système ;)
[13:19:58] <zay> En voulant désactiver mail de Nextcloud, j'ai vu que j'ai pas fait de MAJ des appli internes à Nextcloud... faut-il que je le fasse ?
[13:21:05] <zay> En tout cas je viens de déactiver mail de Nextcloud, Je relance la MAJ ?
[13:25:41] <tituspijean> zay: normalement tu le fais après. Mais si elle te refait le meme coup avec une autre app, peut-être faut-il que tu les desactive toutes ?
[13:45:32] <lapineige> ```
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/moulinette/interfaces/api.py", line 453, in process
ret = self.actionsmap.process(arguments, timeout=30, route=_route)
File "/usr/lib/python3/dist-packages/moulinette/actionsmap.py", line 580, in process
return func(**arguments)
File "/usr/lib/python3/dist-packages/yunohost/log.py", line 410, in func_wrapper
result = func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/yunohost/domain.py", line 611, in domain_config_set
return config.set(key, value, args, args_file, operation_logger=operation_logger)
File "/usr/lib/python3/dist-packages/yunohost/utils/configpanel.py", line 205, in set
self._ask()
File "/usr/lib/python3/dist-packages/yunohost/utils/configpanel.py", line 609, in _ask
{
File "/usr/lib/python3/dist-packages/yunohost/utils/configpanel.py", line 612, in <dictcomp>
if question.value is not None
AttributeError: 'AlertOption' object has no attribute 'value'
```

That's the known issue with the config panel ? (ping eric_G)
[13:48:20] <ynhuser> Bonjour, VPN Client ne fonctionnant plus, je l'ai alors désinstallé. Puis impossible de l'installer à nouveau. Existe-t-il un autre client VPN ?
[13:50:36] <tituspijean> Il est préférable de partager l'erreur que tu rencontres.
[14:13:17] <ynhuser> Erreur: "500" Internal Server Error
[14:13:47] <ynhuser> Retraçage
[14:14:08] <ynhuser> Traceback (most recent call last):
[14:14:09] <ynhuser>     ret = self.actionsmap.process(arguments, timeout=30, route=_route)
[14:14:09] <ynhuser>   File "/usr/lib/python3/dist-packages/moulinette/interfaces/api.py", line 453, in process
[14:14:10] <ynhuser>     return func(**arguments)
[14:14:11] <ynhuser>   File "/usr/lib/python3/dist-packages/yunohost/log.py", line 410, in func_wrapper
[14:14:12] <ynhuser>     result = func(*args, **kwargs)
[14:14:13] <ynhuser>   File "/usr/lib/python3/dist-packages/yunohost/app.py", line 1098, in app_install
[14:33:36] <tituspijean> ynhuser l'erreur n'est pas du tout descriptive, peux-tu passer par la ligne de commande? `sudo yunohost app install vpnclient`
[14:40:33] <lapineige> I have the feeling that logrotate isn't working on my server.
`/usr/sbin/logrotate /etc/logrotate.conf` gives me `error: Ignoring rainloop because it is writable by group or others.` (and that's all).
Does that ring a bell to anyone ?
[14:40:45] <zay> tituspijean Merci, MAJ effectuée. Il me reste plus que Wordpress à MAJ et... encore un plantage '=( : https://paste.yunohost.org/raw/acirowetok
[14:43:07] <tituspijean> "Une archive de sauvegarde avec ce nom existe déjà." erf, essaie de regarder dans ta liste de sauvegardes?
[14:43:59] <tituspijean> lapineige indeed, but I thought it should have triggered a mere warning, not an ignore of the configuration
[14:44:58] <tituspijean> ah, interesting. Some of my apps might have the same issue.
[14:45:04] <tituspijean> ```
ls -la /etc/logrotate.d/
total 128
drwxr-xr-x 2 root root 4096 Jul 18 06:02 .
drwxr-xr-x 114 root root 12288 Jul 18 09:41 ..
-rw-r--r-- 1 root root 120 Aug 21 2022 alternatives
-rw-r--r-- 1 root root 173 Jun 10 2021 apt
-rw-r--r-- 1 root root 130 Oct 14 2019 btmp
-rw-r--r-- 1 root root 160 Mar 14 2022 chrony
-rw-r--r-- 1 root root 579 Jul 9 13:35 dendrite
-rw-r--r-- 1 root root 574 Jun 10 20:59 dex
-rw-r--r-- 1 root root 112 Aug 21 2022 dpkg
-rw-r--r-- 1 root root 354 Nov 23 2020 fail2ban
-rw-r--r-- 1 root root 580 Jun 11 15:41 headscale
-rw-r--r-- 1 root root 1824 Dec 4 2022 mariadb
-rw-r--r-- 1 root root 231 Sep 24 2021 metronome
-rw-rw-rw- 1 root root 580 Jul 9 12:41 nextcloud
-rw-r--r-- 1 root root 329 May 29 2021 nginx
-rw-rw-rw- 1 root root 5412 Jul 9 12:37 paperless-ngx
-rw-r--r-- 1 root root 215 Feb 22 20:07 php7.4-fpm
-rw-r--r-- 1 root root 215 Mar 16 14:37 php8.1-fpm
-rw-r--r-- 1 root root 215 Jun 9 07:37 php8.2-fpm
-rw-r--r-- 1 root root 173 Nov 15 2019 postgresql-common
-rw-r--r-- 1 root root 94 Jan 7 2021 ppp
-rw-r--r-- 1 root root 124 Feb 14 2022 redis-server
-rw-r--r-- 1 root root 299 Feb 11 2021 rspamd
-rw-r--r-- 1 root root 374 May 20 2022 rsyslog
-rw-r--r-- 1 root root 581 Jun 24 17:15 snappymail
-rw-r--r-- 1 root root 235 Feb 19 2021 unattended-upgrades
-rw-r--r-- 1 root root 582 May 12 13:20 vaultwarden
-rw-r--r-- 1 root root 145 Oct 14 2019 wtmp
-rw-r--r-- 1 root root 136 Mar 11 15:50 yunohost
```
[14:45:19] <ynhuser> tituspijean
[14:45:20] <ynhuser> providers](https://yunohost.org/providers/vpn) for more info.
[14:45:20] <ynhuser> Please note that this application only interfaces with **dedicated, public IP VPNs accepting inbound traffic**, preferably with an associated `.cube` (or `.ovpn/.conf`) configuration file. **Do not** expect that any VPN you randomly bought on the Internet can be used! Checkout the [list of known compatible
[14:45:21] <ynhuser> After installation, you will be able to configure the application from YunoHost's webadmin in Applications > VPNclient > Configuration.
[14:45:22] <ynhuser> Traceback (most recent call last):
[14:45:25] <ynhuser>     ret = self.actionsmap.process(args, timeout=timeout)
[14:45:25] <ynhuser>   File "/usr/lib/python3/dist-packages/moulinette/interfaces/cli.py", line 503, in run
[14:45:26] <ynhuser>   File "/usr/lib/python3/dist-packages/moulinette/actionsmap.py", line 580, in process
[14:45:26] <ynhuser>     return func(**arguments)
[14:45:27] <ynhuser>     result = func(*args, **kwargs)
[14:45:27] <ynhuser>   File "/usr/lib/python3/dist-packages/yunohost/log.py", line 410, in func_wrapper
[14:45:28] <ynhuser>   File "/usr/lib/python3/dist-packages/yunohost/app.py", line 1098, in app_install
[14:45:48] <lapineige> > <@titus:pijean.ovh> lapineige indeed, but I thought it should have triggered a mere warning, not an ignore of the configuration

I am wondering if it doesn't just cancel the operation… (which would be a pitty)
[14:45:54] <tituspijean> lapineige try `chmod go-w -R /etc/logrotate.d`
[14:46:30] <lapineige> > <@titus:pijean.ovh> ```
> ls -la /etc/logrotate.d/
> total 128
> drwxr-xr-x 2 root root 4096 Jul 18 06:02 .
> drwxr-xr-x 114 root root 12288 Jul 18 09:41 ..
> -rw-r--r-- 1 root root 120 Aug 21 2022 alternatives
> -rw-r--r-- 1 root root 173 Jun 10 2021 apt
> -rw-r--r-- 1 root root 130 Oct 14 2019 btmp
> -rw-r--r-- 1 root root 160 Mar 14 2022 chrony
> -rw-r--r-- 1 root root 579 Jul 9 13:35 dendrite
> -rw-r--r-- 1 root root 574 Jun 10 20:59 dex
> -rw-r--r-- 1 root root 112 Aug 21 2022 dpkg
> -rw-r--r-- 1 root root 354 Nov 23 2020 fail2ban
> -rw-r--r-- 1 root root 580 Jun 11 15:41 headscale
> -rw-r--r-- 1 root root 1824 Dec 4 2022 mariadb
> -rw-r--r-- 1 root root 231 Sep 24 2021 metronome
> -rw-rw-rw- 1 root root 580 Jul 9 12:41 nextcloud
> -rw-r--r-- 1 root root 329 May 29 2021 nginx
> -rw-rw-rw- 1 root root 5412 Jul 9 12:37 paperless-ngx
> -rw-r--r-- 1 root root 215 Feb 22 20:07 php7.4-fpm
> -rw-r--r-- 1 root root 215 Mar 16 14:37 php8.1-fpm
> -rw-r--r-- 1 root root 215 Jun 9 07:37 php8.2-fpm
> -rw-r--r-- 1 root root 173 Nov 15 2019 postgresql-common
> -rw-r--r-- 1 root root 94 Jan 7 2021 ppp
> -rw-r--r-- 1 root root 124 Feb 14 2022 redis-server
> -rw-r--r-- 1 root root 299 Feb 11 2021 rspamd
> -rw-r--r-- 1 root root 374 May 20 2022 rsyslog
> -rw-r--r-- 1 root root 581 Jun 24 17:15 snappymail
> -rw-r--r-- 1 root root 235 Feb 19 2021 unattended-upgrades
> -rw-r--r-- 1 root root 582 May 12 13:20 vaultwarden
> -rw-r--r-- 1 root root 145 Oct 14 2019 wtmp
> -rw-r--r-- 1 root root 136 Mar 11 15:50 yunohost
> ```

I have only rainloop in `rw`, and still owned by root.
[14:47:09] <lapineige> > <@titus:pijean.ovh> lapineige try `chmod go-w -R /etc/logrotate.d`

Yes, it no longer shows the error 🙂
[14:47:51] <tituspijean> I have other issues though:

```
error: skipping "/var/log/dendrite/dendrite.log" because parent directory has insecure permissions (It's world writable or writable by group which is not "root") Set "su" directive in config file to tell logrotate which user/group should be used for rotation
```

same for `paperless-ngx`
[14:48:08] <tituspijean> and `vaultwarden`
[14:48:55] <tituspijean> I think we should double check all apps configurations and the helper though
[14:49:00] <freechelmi> Hello , I'm a bit stuck on a YUnohost 4 install about network settings
[14:49:18] <tituspijean> > YUnohost 4

why no 11?
[14:49:23] <tituspijean> (hi 🙂 )
[14:49:53] <freechelmi> in a few words : I'd like my people to be able to use the serveur.noho.st , from WAN and LAN
[14:50:22] <freechelmi> > <@titus:pijean.ovh> > YUnohost 4
>
> why no 11?

Hi Yes , I was about to migrate , but try to resolve this first
[14:51:23] <freechelmi> What I understand : We cannot use avahi/ bonjour to advertise a "WAN url" on the local network , am i right ?
[14:51:37] <freechelmi> So for now I was using fixed IP for the YH , and settings domain / IP in the etc/hosts file
[14:51:45] <freechelmi> because the LAN has no custom DNS server
[14:51:46] <tituspijean> Nope indeed, avahi/bonjour/mDNS is for .local domains only
[14:52:48] <tituspijean> and the multicast diffusion of the mDNS records work only for the (W)LAN
[14:54:02] <tituspijean> Have a look into "hairpinning" that's what you might be missing. "Good"/convenient routers would make sure that your noho.st domain actually point back to your server.
[14:55:01] <freechelmi> Yes but Freebox here 🙂
[14:55:14] <freechelmi> if I could setup a local DNS name it would be great yes
[14:55:15] <tituspijean> Otherwise you might need to open your server as a DNS server for your local network. (I can't remember if you need to tweak further its configuration)
[14:55:41] <tituspijean> yeah but apps can only be assigned to one domain
[14:56:32] <freechelmi> But then the YH becoms bottleneck for all dns requests , or well I could add a second DNS like the freebox in the config yes
[14:56:39] <freechelmi> That might be the easiest way
[14:57:43] <tituspijean> yeah but by default if the first domain responds, with the public IP of your router, then your local devices won't have the right address 😉
[14:58:23] <freechelmi> Yes I'll put my YH as the first DNS server , and Freebox as second as a failover
[14:59:03] <freechelmi> The network is IPV6 , But I had weird behaviour with this new freebox
[14:59:30] <freechelmi> like static lease does not work , or freebox will deliver an IPV6 and NO IPV4
[14:59:54] <freechelmi> So I thought that might be some king of bug on YH side , I guess the previous freebox was IPV4 only
[15:00:15] <freechelmi> This is at a client office ....
[15:01:20] <freechelmi> Anyway this setup is quite common , so I guess we all have this problem , how synology handle this ?
[15:02:15] <freechelmi> Found a nice thread , thanks https://forum.yunohost.org/t/freebox-v6-et-hairpinning/9034
[15:02:36] <zay> tituspijean après avoir attendu longtemps, je vois en effet une sauvegarde :
[15:03:03] <zay>  /home/yunohost.backup/archives/wordpress-pre-upgrade2.tar
[15:03:19] <zay> elle date de 2ans
[15:04:57] <zay> Je la jarte ?
[16:22:38] <tituspijean> zay si elle date de deux ans oui 🙂
[16:23:12] <tituspijean> mais à la limite refais-en une manuelle pour être sûr 🙂