[08:32:35]
<nojhan> Pareil:
```
Feb 02 20:49:33 cloud.domain.tdl coolwsd[68762]: storage.wopi.host: cloud.domain.tld
Feb 02 20:49:33 cloud.domain.tdl coolwsd[68762]: storage.wopi.host[1]: 10\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}
Feb 02 20:49:33 cloud.domain.tdl coolwsd[68762]: storage.wopi.host[2]: 172\.1[6789]\.[0-9]{1,3}\.[0-9]{1,3}
Feb 02 20:49:33 cloud.domain.tdl coolwsd[68762]: storage.wopi.host[3]: 172\.2[0-9]\.[0-9]{1,3}\.[0-9]{1,3}
Feb 02 20:49:33 cloud.domain.tdl coolwsd[68762]: storage.wopi.host[4]: 172\.3[01]\.[0-9]{1,3}\.[0-9]{1,3}
Feb 02 20:49:33 cloud.domain.tdl coolwsd[68762]: storage.wopi.host[5]: 192\.168\.[0-9]{1,3}\.[0-9]{1,3}
Feb 02 20:49:33 cloud.domain.tdl coolwsd[68762]: storage.wopi.host[6]: 192\.168\.1\.1
```
[08:32:42]
<nojhan> Oui.
[08:38:24]
<nojhan> Ça fait quoi de le mettre accessible aux visiteurs ? N'importe qui avec l'URL cloud.domain.tdl/nextcloud peut y avoir accès ?
[08:59:11]
<@err404:matrix.numericore.com> oui, mais de toute façon ça arrive à une page de login
l'accès public est nécessaire pour utiliser l'api nextcloud si j'ai bien compris.
ça permet d'utiliser le service nextcloud depuis un autre ordi ou un smartphone pour la synchronisation par exemple
[09:27:16]
<bamf> Hi, can I run a Yunohost behind a reverse proxy? What do I need to change in the configuration to make an app accessible?
[10:25:15]
<bamf> I can access the Yunohost directly via IPv6, but how do I make an App accessible?
[10:25:54]
<bamf> just pointing to the internal ip address gives me Error 521
[10:37:26]
<@err404:matrix.numericore.com> yes you can use a reverse proxy sni to share your public ipv4 to your yunohost
on the yunohost side you will need to add "proxy_protocol" in your /etc/nginx/conf.d/yourdomainename.conf
I describe it here: https://err404.numericore.com/en/notes/file_server_training/rpsni
[10:39:23]
<@err404:matrix.numericore.com> as a reverse proxy, I use a separate virtual machine, you can use nginx but I recommend to use haproxy
[11:00:31]
<bamf> but looks like I have to re-setup all my apps from scratch
[11:00:54]
<bamf> in fact I am trying to migrate away from yunohost, so I thought I deploy yunohost in an LXC container on my new server as a first step
[11:04:55]
<@err404:matrix.numericore.com> my example for reverse proxy sni don't depend from Yunohost
[11:05:59]
<@err404:matrix.numericore.com> yes, Yunohost is a time saver
[11:23:40]
<bamf> not really. it seems nearly impossible to migrate away from it. I still have no idea how to get my synapse installation to a new server
[11:29:41]
<@err404:matrix.numericore.com> I think:
1: install synapse in another container
2: create user
3: what about synchronisation with others servers? may be you will need to rejoin all your rooms?
[13:01:16]
<Luc (he/him)> Hello there! I have a problem where I am unsure how to troubleshot further:
I have Yunohost with Nextcloud and Onlyoffice
this morning I upgraded OnlyOffice from 9.2.1~ynh1 to 9.2.1~ynh2. It failed (logs: https://paste.yunohost.org/raw/atupijihif). After the fail the OnlyOffice services were restarting in loop
I uninstalled OnlyOffice and reinstalled the backup from just before the upgrade
Restoring the backup seem to have worked:
- The url of OnlyOffice correctly says "Document Server is running"
- The services are up with no weird logs
- From the admin page of Nextcloud, if I save the OnlyOffice settings, it successfully tests the connection.
But: when I try to open a file, I get an error: "ONLYOFFICE cannot be reached. Please contact admin"
I'm not sure where I can find more logs for this error (I don't see any service corresponding to Nextcloud??)
[13:13:40]
<otm33> Did you try clearing the browser cache ?
[15:36:51]
<nojhan> J'ai passé le Nextcloud en accès pour "visitors" (pareil pour Collabora), mais j'ai toujours l'erreur "Hôte WOPI non autorisé". Screugneugne, comme on dit dans le bouchonois.
[15:49:10]
<@err404:matrix.numericore.com> Je me demande si il n'y a pas l'ip de ton wopi à rajouter dans les parametres de sécurité de ton nextcloud, dans l'interface d'administration (j'ai pas accès pour le moment à mon nextcloud pour vérifier ce que je t'écris)
[16:38:57]
<@err404:matrix.numericore.com> ok, je vois bien un truc dans /nextcloud/settings/admin/security
mais je ne suis pas certain que ça correspond à ton cas, tu peux quand même vérifier si ton ip n'est pas dans la liste des ip à refuser
[16:50:03]
<nojhan> Nope, rien de ce coté là ☹️
[16:50:46]
<@err404:matrix.numericore.com> rien du coté de fail2ban non plus?
[16:58:39]
<nojhan> Non, c'est clean.
[16:59:20]
<@err404:matrix.numericore.com> alors il va faloir regarder les logs, de nginx par exemple, quand tu tente d'y accéder
[17:11:44]
<nojhan> J'ai `cloud.domain.tld` qui reçoit un 403 sur un `GET /nextcloud/index.php/apps/richdocuments/wopi/files [...]`
[17:17:28]
<@err404:matrix.numericore.com> pas d'autres idées
[18:46:51]
<otm33> nojhan: mais qu'est-ce que c'est que cette diablerie... On ne va jamais y arriver...
Es-tu revenu aux paramètres par défaut (fichier coolwsd.xml de départ et liste wopi vide dans l'interface nextcloud) ? Quitte à désinstaller-réinstaller (Ne pas avoir deux instances de collabora sur le même serveur).
Peut-être y aurait-il quelque chose dans le cache de coolwsd : `/opt/cool/cache` ?
[18:48:04]
<otm33> nojhan Si je suis le lien envoyé hier pour accéder au nextcloud, je tombe toujours sur le sso de ynh: tu l'as repassé en privé ?