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

[00:05:22] <Nicole> I assume SSH is disabled for the root user.
[00:26:21] <narF> Should I enable it?
[04:23:57] <@err404:matrix.org> usualy I complete the post-install setup to create admin user, maybe the doc is incomplete or not up to date?
[07:00:14] <lapineige> Apparently there is a soft limit around a few megabytes… I don't understand it. Any idea where to search ?
[09:12:58] <selfhoster1312> narF, there is permission for ssh/sftp in the web interface (users -> permissions) and i'm 90% sure password login is disabled for root :)
[09:13:41] <Aleks (he/him/il/lui)> password login aint disabled for root, but root login is only possible from the local network
[09:15:43] <selfhoster1312> ^ this
[10:24:41] <guitch> Hello ! An upgrade of my Nextcloud instance (from 27.0.1 to 27.0.2) failed (due to missing disk space) and succeeded after I free some space and run the upgrade again... unfortunately I keep getting a 403 response from my Nextcloud... I am guessing something happened with the Nginx configuration or the file permissions but I am stuck... has anyone got any idea to help ?
[10:34:44] <craigvb> Hey, Having trouble with SSL renewals, they have been working fine until just the other day. Log File : https://paste.yunohost.org/raw/eqitivekum
[10:38:59] <Aleks (he/him/il/lui)> hmpf that's the classic issue of muc.domain.tld not being resolved correctly ..
[10:39:09] <Aleks (he/him/il/lui)> a quick workaround is to disable xmpp feature for that domain
[10:44:49] <craigvb> so, just turn it off under services, run the update and then fire it up again? we actually use xmpp chat on that domain
[10:49:03] <craigvb> nope guess not...so back to square one
[10:49:43] <craigvb> actually, come to think of it, there was a metronome update the other day, could that have effected it?
[10:50:21] <Aleks (he/him/il/lui)> not really
[10:50:40] <Aleks (he/him/il/lui)> alternatively try adding `127.0.0.1 muc.domain.tld` in your /etc/hosts on the server
[10:51:00] <craigvb> ok, can try that thx
[10:53:38] <craigvb> meanwhile...disabling Metronome and enabling Prosody resulted in a successful certificate renewal
[10:53:53] <craigvb> before I got to the server to change the /etc/hosts file
[10:56:35] <craigvb> Will look into it for next time...for now, I can go to bed which is much more important ;) Thx for the help Aleks
[14:02:40] <malk> Lamecarlate:
[14:11:41] <Lamecarlate> > <malk> Lamecarlate:

Yes 🙂 ?
[15:43:56] <narF> > <@err404:matrix.org> usualy I complete the post-install setup to create admin user, maybe the doc is incomplete or not up to date?

The [doc](https://yunohost.org/en/administer/install/hardware:regular#proceed-with-the-initial-) specifically says to _not_ do the post-install setup and instead recover using a backup. But it seems I can't use a backup without completing the post-install setup?? So I guess the documentation is outdated?
[15:47:25] <Aleks (he/him/il/lui)> if you "can't" then please explain why ...
[15:47:25] <Aleks (he/him/il/lui)> but anyway, dunno what the doc says, but doing the postinstall before restoring the entire backup is fine too
[15:47:25] <Aleks (he/him/il/lui)> you don't, restoring the backup in place of the postinstall is done using command line
[15:47:25] <narF> How do I access the backup UI menu without completing the post-install?
[15:47:36] <Aleks (he/him/il/lui)> skipping the postinstall is supposed to be more like a convenience to save up like 5 min, not really a mandatory thing
[15:48:12] <narF> https://yunohost.org/en/administer/install/hardware:regular#proceed-with-the-initial-
[15:48:35] <Aleks (he/him/il/lui)> yes, we advise to skip the posinstall more as a convenience than a requirement ...
[15:48:44] <narF> From the documentation...

> # Proceed with the initial configuration
>
> If you are in the process of restoring a server using a YunoHost backup, you should skip this step and instead [[restore the backup instead of the postinstall step](https://yunohost.org/en/backup#restoring-during-the-postinstall)]().
[15:49:13] <narF> From the documentation...

> # Proceed with the initial configuration
>
> If you are in the process of restoring a server using a YunoHost backup, you should skip this step and instead [restore the backup instead of the postinstall step](https://yunohost.org/en/backup#restoring-during-the-postinstall).
[15:50:24] <narF> oh ok, I perceived it as requirement to avoid issues
[15:51:15] <narF> In french, the wording makes it sounds like it's mandatory:
> Si vous êtes en train de restaurer une sauvegarde YunoHost, **vous devez** sauter cette étape et vous référer à la section Restaurer durant la post-installation à la place de cette étape de configuration initiale.
[15:51:28] <Aleks (he/him/il/lui)> meh yeah
[16:14:20] <narF> Will the backup restore overwrite whatever I do during the post-install setup?
[16:15:48] <Aleks (he/him/il/lui)> basically yes, but there might be some technical details which may not be overwitten, such as the root password maybe
[16:16:53] <Aleks (he/him/il/lui)> or the local certificate authority for self-signed certificate but you probably dont care about this
[16:17:15] <narF> ok thanks!
[20:21:39] <nalla22> Car je compte ajouter près de 200 noms de domaines mais ça prendrait beaucoup de temps de les ajouter un par un 🫤
[20:23:33] <nalla22> Est-ce qu'il existe une méthode pour ajouter plusieurs noms de domaines dans yunohost en une seule fois ?
[20:27:22] <Plumf> Si tu parles de sous-domaines d'un nom de domaine principale et que ce nom de domaine est hébergé par un registar qui a une API qui permet de gérer les noms de domaines type Gandi
[20:27:22] <Plumf> Je dirais que tu gagneras pas mal de temps mais je ne connais pas d'autres manières.
[20:28:34] <nalla22> Non, j'utilise uniquement des noms de domaines locaux en .local et pas de sous-domaine
[20:28:34] <Plumf> https://yunohost.org/fr/providers/registrar/gandi/autodns
[20:34:00] <Chatpitaine Caverne> > <@nalla22:matrix.org> Car je compte ajouter près de 200 noms de domaines mais ça prendrait beaucoup de temps de les ajouter un par un 🫤

il y a la commande `sudo yunohost domain add --help` sur laquelle tu peux boucler.
[20:36:27] <nalla22> > <@chatpitaine:cirkau.art> il y a la commande `sudo yunohost domain add --help` sur laquelle tu peux boucler.

Je pourrais donc les ajouter les uns derrière les autre de cette manière ?
`sudo yunohost domain add domain1.local domain2.local`
[20:36:59] <Aleks (he/him/il/lui)> > <@nalla22:matrix.org> Car je compte ajouter près de 200 noms de domaines mais ça prendrait beaucoup de temps de les ajouter un par un 🫤

(NB: YunoHost pas concu pour gérer plus de disons ~50 domaines, je serais pas surpris que des trucs explosent avec 200...)
[20:39:04] <nalla22> Pourtant il y a bien plus de 200 applications de disponible !
Il y a déjà eu des antécédents de problèmes dus à plus de 50 noms de domaines LOCAUX ?
[20:40:00] <Aleks (he/him/il/lui)> il y a sans doute 100 000 apps dans le play store google, ça veut pas dire que installer 100 000 apps sur android est censé fonctionner x_x
[20:41:25] <nalla22> Si le processeur le permet et que l'espace de stockage est suffisant les 100000 apps du google store s'installeront en VM sans problème !
[20:41:38] <Lamecarlate> Pourquoi parler du nombre d'applications ? Tu veux un nom de domaine par application ? (question sérieuse, sans jugement)
[20:43:38] <nalla22> > <@lamecarlate:tedomum.net> Pourquoi parler du nombre d'applications ? Tu veux un nom de domaine par application ? (question sérieuse, sans jugement)

Effectivement je compte installer la moitié des applications disponibles dans le catalogue officiel de YunoHost à des fins de tests, l'autre moitié je la connait déjà donc elle sera définitivement installé sur le serveur. Vu qu'il n'est pas possible d'utiliser des sous-domaines locaux alors je suis dans l'obligation de créer des noms de domaines en .local complets...
[20:45:06] <tituspijean> Sans critiquer le "pourquoi", si tu as une liste séparée par des espaces de tes domaines:

```
bash
for d in $laliste;
do
yunohost domain add $d
done
```
[20:45:22] <tituspijean> (et préparer ta boisson préférée en grande quantité, ça va prendre du temps)
[20:45:45] <Lamecarlate> Tu n'as pas forcément besoin de sous-domaines pour les applications (certaines le demandent explicitement, mais la plupart s'installeront joyeusement dans un "dossier").
[20:46:36] <nalla22> > <@Alekswag:matrix.org> (NB: YunoHost pas concu pour gérer plus de disons ~50 domaines, je serais pas surpris que des trucs explosent avec 200...)

Pour l'instant je suis déjà à plus de 50 noms de domaines enregistrés
[20:46:47] <nalla22> https://aria.im/_matrix/media/v1/download/matrix.org/QIuPRKClnnpuMgYamRCAEnvc
[20:47:17] <Aleks (he/him/il/lui)> internallyscreaming.gif
[20:48:41] <nalla22> > <@lamecarlate:tedomum.net> Tu n'as pas forcément besoin de sous-domaines pour les applications (certaines le demandent explicitement, mais la plupart s'installeront joyeusement dans un "dossier").

Quel dossier ? Toute les applications ont besoins d'un nom de domaine pour s'installer !
[20:49:19] <Aleks (he/him/il/lui)> https://www.youtube.com/watch?v=7Q8hAb230OE
[20:49:30] <Lamecarlate> > <@nalla22:matrix.org> Quel dossier ? Toute les applications ont besoins d'un nom de domaine pour s'installer !

Tu peux les mettre dans un domaine + un sous-"dossier" (c'est pas un vrai dossier, c'est la valeur derrière le "/"). Je te fais une capture de ce que j'ai chez moi.
[20:49:46] <nalla22> > <@titus:pijean.ovh> Sans critiquer le "pourquoi", si tu as une liste séparée par des espaces de tes domaines:
>
> ```
> bash
> for d in $laliste;
> do
> yunohost domain add $d
> done
> ```

Merci pour le script, je pense que c'est la solution :)
[20:50:06] <tituspijean> En tout cas merci pour le crash-test de yunomdns 👌
[20:52:11] <Lamecarlate> https://aria.im/_matrix/media/v1/download/tedomum.net/d48afde77b3375930af66e072d699a7887247aee
[20:52:15] <Lamecarlate> (Exemple chez moi si je veux installer HedgeDoc)
[20:52:19] <nalla22> > <@lamecarlate:tedomum.net> Tu peux les mettre dans un domaine + un sous-"dossier" (c'est pas un vrai dossier, c'est la valeur derrière le "/"). Je te fais une capture de ce que j'ai chez moi.

Ah d'accord, mais pour des raisons de non prise de tête (puisque toute les applications n'aiment pas les dossiers). J'ai préféré dès le depart les séparer par des noms de domaines, comme ça c'est plus clair !
[20:52:45] <Lamecarlate> Oui, je comprends 🙂 c'est ce que je disais : certaines apps réclament un domaine.
[20:52:50] <Lamecarlate> Mais pas toutes 😛
[20:53:02] <nalla22> Ça permet de mieux les repérer également !
[20:53:22] <Lamecarlate> Ensuite, tu as eu ta réponse avec le script de tituspijean, j'espère que ça répondra à ton besoin 🙂
[20:54:52] <nalla22> Je ne vais pas concerver tous les domaines, je vais simplement faire le trie de toutes les applications intéressantes, pour utiliser que les meilleures de chaque catégorie...
[21:21:31] <Mike> For those who are waiting for the functionality allowing visitors to register from the yunohost portal. A development plan for this feature has just been officially published by the YunoHost Team : https://pad.pijean.ovh/code/#/2/code/view/UrtwBBC-onn17CYVbAVOZSWBLZsiElyeQx1ixBw+VP0/embed/present/
[21:31:14] <mavric34> > <@mike6545:matrix.org> For those who are waiting for the functionality allowing visitors to register from the yunohost portal. A development plan for this feature has just been officially published by the YunoHost Team : https://pad.pijean.ovh/code/#/2/code/view/UrtwBBC-onn17CYVbAVOZSWBLZsiElyeQx1ixBw+VP0/embed/present/

Cooooool ! I hope it will finally be integrated 😍
[21:53:31] <nalla22> > <@titus:pijean.ovh> Sans critiquer le "pourquoi", si tu as une liste séparée par des espaces de tes domaines:
>
> ```
> bash
> for d in $laliste;
> do
> yunohost domain add $d
> done
> ```

Malheureusement le script ne fonctionne pas
[21:53:49] <nalla22> https://aria.im/_matrix/media/v1/download/matrix.org/rjALujqfUKigzOzFuQpngKaa
[22:03:56] <tituspijean> ¯\_(ツ)_/¯ "works for me"
[22:04:16] <tituspijean> ```
bash
for d in a.local b.local;
> do
> yunohost domain add $d
> done
Success! Self-signed certificate now installed for the domain 'a.local'
Success! Configuration updated for 'nginx'
Success! Configuration updated for 'postfix'
Success! Configuration updated for 'mdns'
Success! Configuration updated for 'dnsmasq'
Success! Domain created
Success! Self-signed certificate now installed for the domain 'b.local'
Success! Configuration updated for 'nginx'
Success! Configuration updated for 'postfix'
Success! Configuration updated for 'mdns'
Success! Configuration updated for 'dnsmasq'
Success! Domain created
```
[22:04:53] <orhtej2> > <@nalla22:matrix.org> Sélection_283.png

Change first line to read `#!/bin/bash`
[22:09:31] <tituspijean> ah, it was a script... I was assuming you were directly running from the CLI.
[22:09:36] <nalla22> Effectivement, le problème venait de là :)
[22:09:52] <nalla22> https://aria.im/_matrix/media/v1/download/matrix.org/vaHVeJQWKUEjSrMZfwlSXMPR
[22:10:52] <nalla22> > <@titus:pijean.ovh> ```
> bash
> for d in a.local b.local;
> > do
> > yunohost domain add $d
> > done
> Success! Self-signed certificate now installed for the domain 'a.local'
> Success! Configuration updated for 'nginx'
> Success! Configuration updated for 'postfix'
> Success! Configuration updated for 'mdns'
> Success! Configuration updated for 'dnsmasq'
> Success! Domain created
> Success! Self-signed certificate now installed for the domain 'b.local'
> Success! Configuration updated for 'nginx'
> Success! Configuration updated for 'postfix'
> Success! Configuration updated for 'mdns'
> Success! Configuration updated for 'dnsmasq'
> Success! Domain created
> ```

Mais pour quelle raison yunomdns me renvoie un Warning alors que dans ton test tu n'as pas de warning ?
[22:11:23] <Aleks (he/him/il/lui)> les sous-sous-domaines en .local n'existent pas
[22:12:23] <tituspijean> C'est la faute au nom de l'app, "wiki.js"
[22:12:24] <Chatpitaine Caverne> nalla22: T'es un testeur de limites.
[22:12:24] <tituspijean> c'est un sous-domaine involontaire, je suppose ;)
[22:13:05] <nalla22> > <@chatpitaine:cirkau.art> nalla22: T'es un testeur de limites.

Effectivement, j'aide au debug de yunohost ^^
[22:14:03] <nalla22> > <@Alekswag:matrix.org> les sous-sous-domaines en .local n'existent pas

Le problème c'est que je n'ai pas de sous domaine dans ma liste !
[22:14:04] <nalla22> J'ai que webmin et syncthing installées
[22:16:07] <tituspijean> `wiki.js.local` ne sort pas de nulle part pourtant.
[22:16:10] <tituspijean> Serait-ce issu d'un précédent essai?
[22:19:51] <nalla22> Effectivement, j'ai créé le nom do domaine wiki.js.local en référence à l'application du même nom, mais à la base j'ai oublié de retirer le point. L'arborescence de Yunohost ne considère même pas ce sous-domaine comme un vrai sous-domaine !
[22:20:02] <nalla22> https://aria.im/_matrix/media/v1/download/matrix.org/xHZChwrLnqycpMrABsvCqUWX
[22:20:20] <nalla22> https://aria.im/_matrix/media/v1/download/matrix.org/kXLQuoRMfLQDQHwWIJCnoRIr
[22:21:40] <tituspijean> Elle le placerait en sous-domaine si tu avais un "js.local"
[22:21:51] <nalla22> Exact, je vais corriger ça et retirer le point