Saturday, November 04, 2023
support@conference.yunohost.org
November
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
     
             

[11:12:35] <lejocelyn> Hi, is there an app like pi-hole for yunohost?
[11:13:44] <Tag> lejocelyn: https://apps.yunohost.org/app/adguardhome
[11:13:45] <Tag> :)
[11:14:46] <lejocelyn> merci :)
[11:14:51] <lejocelyn> je vais test :)
[11:29:46] <lejocelyn> Ah mince, faut que je gère le service wifi
[11:31:38] <lejocelyn> ah mince, j'avais oublié que rien n'est configuré sur le serveur pour le wifi
[11:31:52] <lejocelyn> bon, faut que je retrouve quelle carte j'ai et quel module il me faut
[11:36:11] <Tag> tu peux aussi utiliser ton wifi existant
[11:46:50] <lejocelyn> ah oui ? je regarde comment configurer ça
[11:46:54] <lejocelyn> des pages à conseiller ?
[11:53:01] <lejocelyn> ah j'ai toruvé
[11:54:21] <Tag> rien sous la main, mais il faut soit: -désactiver le DHCP de ton routeur et laisser AdGuard gérer soit: -modifier le DNS dans les paramètres du DHCP
[11:57:15] <pti-jean> Il y a aussi la possibilité de modifier les DNS dans les paramètres DHCP du routeur... si le routeur le permet !
[11:58:51] <pti-jean> Cela se configure comme pour IP-Hole!
[12:02:12] <lejocelyn> rahn j'ai l'impression que mon routeur ne permet pas de configurer les DNS associés au DHCP
[12:03:12] <lejocelyn> je sens que je vais passer par mon serveur
[12:22:57] <lejocelyn> Et bon, le wifi de mon serveur, c'est pas terrible disons
[12:25:04] <Tag> Ben ouais j'me doute :/ Tu peux peut être complètement désactiver le dhcp de ton routeur
[12:29:37] <lejocelyn> rah, j'ai demandé à ma copine de connecter son téléphone iPhone au réseau via mon serveur, donc via AdGuard
[12:29:51] <lejocelyn> y'a des requêtes en permanence à Apple
[12:30:32] <Tag> mouep, normal pour un iphone
[12:36:34] <pti-jean> Par-contre normalement tu n'es pas obligé de passer par le Wifi!
[12:37:18] <pti-jean> Tu peux aussi passer par le RJ45!
[12:37:51] <Tag> oui mais là on parle de wifi :)
[12:38:10] <Tag> et ça ne change rien au problème
[12:38:29] <pti-jean> Tout-à fait!
[12:40:35] <lejocelyn> bon, je pense qu'on va devoir configurer les DNS périphérique par périphérique
[12:40:49] <lejocelyn> par contre, ça bloque pas la pub dans Youtube
[12:41:12] <lejocelyn> maintenant que j'ai invidious sur mon serveur ceci dit
[12:41:40] <Tag> non, en plus il parrait que YouTube a changé sa politique vis à vis des bloqueurs de pubs
[12:41:55] <Tag> invidious très bien oui
[12:42:56] <pti-jean> Il parait que c'est pas possible de bloquer la pub sur Youtube... sauf passer par invidious!
[12:43:43] <Tag> avec ublock origin ça marche encore, mais c'est une extension de navigateur
[12:46:19] <pti-jean> ublock origin bloque la pub Youtube ?
[12:48:42] <laguill13> Hello,
I am in Germany. I have a Magenta Box for internet connection.
When I connect a Ethernet cable from my server to it I see it is detected by the box but the box don't give me an IP address .

I tried with my laptop and it is working

How should I do ?
[12:53:35] <Tag> > <pti-jean> ublock origin bloque la pub Youtube ?

oui
[12:54:04] <pti-jean> ok!
[13:12:22] <pti-jean> J'ai ublock origin... J'ignorais qu'il bloquait les pubs Youtube!
[13:37:12] <chance4510> Hi. I am trying to embed my yunohost nextcloud calendar into another website I own. I think I need to edit the nginx.conf file for my nextcloud application, but I can't seem to find it. Yunohost puts it somewhere different than what I found online. Does anyone know?
[13:38:21] <nicofrand> > <@chance4510:matrix.org> Hi. I am trying to embed my yunohost nextcloud calendar into another website I own. I think I need to edit the nginx.conf file for my nextcloud application, but I can't seem to find it. Yunohost puts it somewhere different than what I found online. Does anyone know?

//etc/nginx/conf.d/nextcloud.domain.tld.d/nextcloud.conf or something like that
[13:38:22] <orhtej2> > <@titus:pijean.ovh> chance4510: hey, let's try something dumb. `sudo grep nextcloud -rn /etc/nginx/conf.d`

What Titus said
[13:38:37] <nicofrand> Maybe conf.d/yunohost
[14:09:33] <resses53> Salut tout le monde,
Pour m'inscrire au forum de YunoHost je ne reçois pas le mail de confirmation d'inscription. J'ai vérifié mes spams, changé d'adresse et de fournisseur. Idem. Le site indique "mail envoyé" et je ne reçois rien.
Quelqu'un rencontre le même problème ?
[14:11:04] <Tag> C'est possible que le forum aie des difficultés à envoyer des mails. :/ À part attendre je ne vois pas trop quoi faire d'autre
[14:12:47] <Truche> > <@tag:lostpod.me> C'est possible que le forum aie des difficultés à envoyer des mails. :/ À part attendre je ne vois pas trop quoi faire d'autre

Ok. Je vais réessayer. En attendant mon serveur est hors jeu. Maudit nginx ;-)
[14:14:35] <Tag> Est-ce que tu as des logs à donner ? Qu'est-ce qui se passe au juste ?
[14:20:27] <Truche> Je pense que c'est après plusieurs tentaives infructueuses d'installer OnlyOffice. Le serveur n'était plus joignable. En me connectant en ssh j'ai vu que le disque était bien plein, alors j'ai désinstallé Jellyfin. Ce qui m'a renvoyé ce log https://paste.yunohost.org/raw/feyaxufolo
J'ai supprimé /etc/nginx/conf.d/domainejellyfin.conf pensant qu'il n'était plus utile.
Et maintenant quand je fait :
sudo systemctl status nginx

J'ai la réponse :
● nginx.service - A high performance web server and a reverse proxy server
Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Wed 2023-11-01 21:45:25 CET; 3min 54s ago
Docs: man:nginx(8)
Process: 30259 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited, status=1/FAILURE)
CPU: 104ms

Nov 01 21:45:25 mondomaine.org systemd[1]: Starting A high performance web server and a reverse proxy server...
Nov 01 21:45:25 mondomaine.org nginx[30259]: nginx: [emerg] open() "/etc/nginx/conf.d/ds.conf" failed (2: No such file or directory) in /etc/nginx/nginx.conf:59
Nov 01 21:45:25 mondomaine.org nginx[30259]: nginx: configuration file /etc/nginx/nginx.conf test failed
Nov 01 21:45:25 mondomaine.org systemd[1]: nginx.service: Control process exited, code=exited, status=1/FAILURE
Nov 01 21:45:25 mondomaine.org systemd[1]: nginx.service: Failed with result 'exit-code'.
Nov 01 21:45:25 mondomaine.org systemd[1]: Failed to start A high performance web server and a reverse proxy server.
Je n'ai pas trouvé d'infos sur le forum qui collaient à mon cas. Merci pour ton aide !
[14:22:05] <Tag> Ah oui, ça doit rater. Alors un instant, je te sors la formule magique !
[14:23:20] <Tag> Truche: `sudo yunohost tools regen-conf nginx --force`
[14:23:53] <chance4510> Thank you. I found it there! Do you know what line or lines in the file I need to allow embedding in iframe?
[14:27:25] <Truche> Je crois que j'ai déjà fait ça. Je le fais et donne le résultat.
Peut-être pas tout de suite.
[14:35:34] <Truche> sudo systemctl restart nginx

Job for nginx.service failed because the control process exited wit
h error code.
See "systemctl status nginx.service" and "journalctl -xe" for detai
ls.
[14:36:32] <chance4510> I was able to find it. x-header line
[14:40:55] <Truche> Ça n'a pas l'air bon...
[14:42:41] <Tag> Toujours la même erreur avec la commande status ?
[15:00:50] <Truche> sudo systemctl status nginx

● nginx.service - A high performance web server and a reverse proxy server
Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: enabled)
lines 1-2...skipping...
● nginx.service - A high performance web server and a reverse proxy server
Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Sat 2023-11-04 15:34:29 CET; 24min ago
Docs: man:nginx(8)
Process: 10907 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited, status=1/FAILURE)
CPU: 106ms

Nov 04 15:34:29 truche.zapto.org systemd[1]: Starting A high performance web server and a reverse proxy server...
Nov 04 15:34:29 truche.zapto.org nginx[10907]: nginx: [emerg] open() "/etc/nginx/conf.d/ds.conf" failed (2: No such file or directory)>
Nov 04 15:34:29 truche.zapto.org nginx[10907]: nginx: configuration file /etc/nginx/nginx.conf test failed
Nov 04 15:34:29 truche.zapto.org systemd[1]: nginx.service: Control process exited, code=exited, status=1/FAILURE
Nov 04 15:34:29 truche.zapto.org systemd[1]: nginx.service: Failed with result 'exit-code'.
[15:01:35] <Tag> tu peux utiliser yunopaste et envoyer le contenu de ce fichier ? `/etc/nginx/nginx.conf`
[15:15:12] <orhtej2> Try commenting out this line https://github.com/YunoHost-Apps/nextcloud_ynh/blob/bc59f53dbb91aa089bbade0bac6afa55dec4e6f3/conf/nginx.conf#L29
[15:15:38] <orhtej2> Then `sudo systemctl reload nginx`
[15:17:32] <chance4510> Merci. Just so I am clear, instead of modifying the X-Frame-Options (which I used to make embedding work), I should comment it out by adding # in front?
[15:23:21] <Truche> Ok. Je n'ai jamais utilisé YunoPast comme ça. Dis-moi si ça va :
le fichier /etc/nginx/nginx.conf donc :
https://paste.yunohost.org/nikelavago.nginx
[15:24:38] <Tag> Parfait. Et `ls -lah /etc/nginx/conf.d/`
[15:30:09] <Truche> Résultat de ls -lah /etc/nginx/conf.d/ :
https://paste.yunohost.org/afowobuliw.hs
[15:30:51] <Tag> `rm /etc/nginx/conf.d/ds.conf` suivi de `systemctl restart nginx`
[15:30:51] <Tag> :)
[15:41:10] <Truche> Youhou ! Merci beaucoup, ça a l'air de fonctionner.
Merci pour ton aide 👍️
[16:17:59] <chance4510> Thanks again orhtej2 It didn't work though. Went back to being a blank embed, so I went back to your original suggestion.
Embed is there, can see nextcloud, but have the access message
[16:18:42] <chance4510> https://aria.im/_matrix/media/v1/download/matrix.org/CgmmyitBPLaWlDpbATQnewIZ
[16:18:42] <chance4510> “page not found on the server or you may not be allowed to view it”


[16:19:49] <chance4510> I also tried editing the allowed frame ancestors line in ContentSecurityPolicy.php
[16:23:27] <orhtej2> > <@chance4510:matrix.org> “page not found on the server or you may not be allowed to view it”
>
>

Perhaps it's the matter of making calendar public in nextcloud?
[16:24:16] <chance4510> I think it is public. how do I verify?
[16:25:12] <orhtej2> https://docs.nextcloud.com/server/latest/user_manual/en/groupware/calendar.html#publishing-a-calendar
[16:25:34] <orhtej2> Not sure, never tried that
[16:25:56] <chance4510> Yes, public. Thank you for helping me. Do you have a link where I can buy you a coffee for your time?
[18:58:35] <luke> Borg Backup. I have it set up and backing up no problem. I’d love to change the time it does it however from 2pm daily to say 2am to reduce load at useable time. Can someone help me out please ?