Saturday, November 23, 2024
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
 
             

[13:31:35] <rodinux> hello I try help someone with a vpn client with arn and .cube, he have The client certificate expired on Jan
[17:03:41] <mrflos> hello, i somehow messed up my yunohost/clic 12 post install, and now i have access to sso / admin but on every domain managed by yunohost, i'm redirected to /install
[17:04:33] <mrflos> i tried to find where this redirection is managed but `rg 'install' /etc/nginx/` returns nothing
[17:05:15] <Aleks (he/him/il/lui)> https://framagit.org/clic/clic/-/blob/main/deploy/deploy.sh?ref_type=heads#L31
[17:05:18] <Aleks (he/him/il/lui)> sans doute que t'as rejoué le deploy.sh
[17:05:52] <Aleks (he/him/il/lui)> du coup apriori tu supprimes le fichier de la conf nginx et tu reload
[17:15:12] <mrflos> il est déja enlevé mais c'est toujours cassé:
```
root@clic:/home/mrflos# ls -al /etc/nginx/conf.d/default.d/
total 12
drwxr-xr-x 2 root root 4096 Nov 23 10:48 .
drwxr-xr-x 6 root root 4096 Nov 23 10:10 ..
-rw-r--r-- 1 root root 60 Nov 20 17:42 redirect_to_admin.conf
```
[17:16:38] <mrflos> c'est visible sur https://mrflos.pw/ et https://pad.mrflos.pw/
[17:16:49] <mrflos> dans les 2 domaines ya une app installé (yeswiki et ethepad)
[17:17:44] <mrflos> et https://mrflos.pw renvoie sur https://mrflos.pw/install mais https://mrflos.pw/?PagePrincipale marche
[17:20:24] <mrflos> idem pour les pads https://pad.mrflos.pw renvoie sur https://pad.mrflos.pw/install mais https://pad.mrflos.pw/p/toto marche
[17:21:20] <Aleks (he/him/il/lui)> > <@mrfloss:matrix.org> il est déja enlevé mais c'est toujours cassé:
> ```
> root@clic:/home/mrflos# ls -al /etc/nginx/conf.d/default.d/
> total 12
> drwxr-xr-x 2 root root 4096 Nov 23 10:48 .
> drwxr-xr-x 6 root root 4096 Nov 23 10:10 ..
> -rw-r--r-- 1 root root 60 Nov 20 17:42 redirect_to_admin.conf
> ```

et t'as bien reload nginx ...?
[17:21:37] <Aleks (he/him/il/lui)> quid de `grep -nr '/install' /etc/nginx`
[17:22:00] <Aleks (he/him/il/lui)> (ça ressemble à une erreur d'interface chaise-clavier je t'avoue)
[17:23:09] <mrflos> oui je me suis auto mis dans la mouise, mais fresh install c'est chaud (les depots sury sont bloqués en russie, ca nique l'install yunohost, et je viens juste de remettre le client vpn arn)
[17:23:26] <mrflos> en tout cas :
```
root@clic:/home/mrflos# service nginx restart
root@clic:/home/mrflos# service nginx reload
root@clic:/home/mrflos# grep -nr '/install' /etc/nginx
```
[17:23:57] <Aleks (he/him/il/lui)> "service"
[17:24:01] <Aleks (he/him/il/lui)> wat year is it
[17:24:02] <mrflos> rien de trouvé par le grep et rien de changé apres redemarrage
[17:24:03] <Aleks (he/him/il/lui)> "systemctl reload nginx" bruh
[17:24:39] <Aleks (he/him/il/lui)> > <@mrfloss:matrix.org> et https://mrflos.pw renvoie sur https://mrflos.pw/install mais https://mrflos.pw/?PagePrincipale marche

chez moi ça redirect plus
[17:25:32] <mrflos> c'est la meme commande derriere il me semble, excuse moi de trouver la commande `service <nom du service> <action>` plus inteligible
[17:26:14] <Aleks (he/him/il/lui)> je ne te permet pas
[17:26:14] <Aleks (he/him/il/lui)> comment oses-tu critiquer la toute-puissance de systemd
[17:26:36] <mrflos> pardon, pardon...
[17:27:41] <mrflos> mais pour moi ca marche toujours pas pour le domaine pad.mrflos.pw , et maintenant mrflos.pw redirige vers le portail
[17:27:57] <Aleks (he/him/il/lui)> ouai pareil
[17:27:57] <Aleks (he/him/il/lui)> c'est complètement mystique
[17:28:01] <Aleks (he/him/il/lui)> est-ce que tu as tenté un exorcisme
[17:28:12] <mrflos> et si je recliques sur yeswiki, je repars sur le portail
[17:28:39] <Aleks (he/him/il/lui)> est-ce que la bouteille de vodka est restée trop près du CPU ?
[17:29:17] <Aleks (he/him/il/lui)> `grep -nr install /etc/ssowat` ?
[17:29:17] <Aleks (he/him/il/lui)> hmmm
[17:29:27] <mrflos> > <@Alekswag:matrix.org> est-ce que tu as tenté un exorcisme

pas encore, mais j'ai versé de l'eau bénite sur le odroid
[17:29:28] <mrflos> bingo
[17:29:30] <mrflos> `root@clic:/home/mrflos# grep -nr install /etc/ssowat
/etc/ssowat/conf.json.persistent:1:{"redirected_urls": { "/": "/install" }}`
[17:29:43] <Aleks (he/him/il/lui)> le chenapan
[17:30:21] <mrflos> on peut virer la ligne ou vaut mieux faire un exorcisme?
[17:31:05] <Aleks (he/him/il/lui)> tu peux supprimer le fichier
[17:31:22] <mrflos> et apres reboot?
[17:31:27] <Aleks (he/him/il/lui)> dude
[17:31:46] <mrflos> dans le doute, reboot?
[17:32:11] <Aleks (he/him/il/lui)> does `uname` shows "Microsoft Server" ?
[17:32:26] <mrflos> service ssowat reboot
[17:32:36] <Aleks (he/him/il/lui)> "F5"
[17:36:45] <mrflos> hé beh le pads marchent! le site principal renvoie encore sur le portail, mais ya peut etre une histoire de domaine principal
[17:37:17] <mrflos> merci , almost back in the business!
[20:07:12] <satadaes> > <@satadaes:matrix.org> weird error when I try to change to IPV4 only in settings https://paste.yunohost.org/ijalixozeh, any ideas?

What's your YunoHost version?
[20:07:48] <satadaes> issue still occuring, version is deb12 amd64 latest 12.0.7 stable