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

[08:10:06] <jcb> Hi. I am very happy to have just set up my first YunoHost server (on a VPS @Hetzner). I have also succesfully installed Nextcload and setup a Collabora server. BUT, I cannot get it to integrate. When I try tp open a document in Nextcloud, I get the message that "Document loading failed. Unauthorized WOPI host. Please try again later ...". Under my admin account, Administration, Office there is a field to input IP's that are allowed to WOPI request. But no matter what I enter, it does not work. Any ideas as to what I am doing wrong or missing? (I am not tech savvy).
[08:35:04] <smusset> > <@Alekswag:matrix.org> uuuuh normalement les permissions d'accès ça se change genre dans Users > Groupes et permissions ?

oui quand l'entrée xxx (api) existe (comme pour bookstack par exemple) mais pour doli ça n'a pas été prévu dans le paquet (donc en gros c'est ce que je cherche à faire)
[08:37:46] <smusset> bonjour. merci pour la réponse. en fait j'ai tenté cette piste mais il doit me manquer quelque chose. Je vois sur ton lien qu'il y a aussi des entrée [ressources.sources.api] dans le manifest. peut-être ce qu'il manque pour le manifest dolibarr. voilà à quoi il ressemble : https://github.com/YunoHost-Apps/dolibarr_ynh/blob/master/manifest.toml
[08:46:04] <smusset> je viens d'essayer ainsi [pre][code] [resources.permissions]
main.url = "/"

api.url = "/api"
api.allowed = "visitors"
api.show_tile = false
api.protected = true[/code][/pre] suivi d'un yunohost app ssowatconf (sans être bien certain d'avoir compris exactement si c'était utile ou pas mais aussi sans être certain qu'on puisse bouger un manifest une fois l'installation déjà installée ???)
[11:39:07] <@err404:matrix.numericore.com> > <@jcb:data.coop> Hi. I am very happy to have just set up my first YunoHost server (on a VPS @Hetzner). I have also succesfully installed Nextcload and setup a Collabora server. BUT, I cannot get it to integrate. When I try tp open a document in Nextcloud, I get the message that "Document loading failed. Unauthorized WOPI host. Please try again later ...". Under my admin account, Administration, Office there is a field to input IP's that are allowed to WOPI request. But no matter what I enter, it does not work. Any ideas as to what I am doing wrong or missing? (I am not tech savvy).

I also tried to add collabora into nextcloud, but I failled.
I switched to Only-office.
let us know if you can make collabora working in nextcloud
[11:50:30] <jcb> > I also tried to add collabora into nextcloud, but I failled.
I switched to Only-office.
let us know if you can make collabora working in nextcloud

I know people who managed to add the CODE server to Nextcloud, but I also think it depends on where/how yuor Nexctclod is hosted. For instance, I also have an managed Nextcloud server with Hetzner. They do not support Collabora or OnlyOffice, så it is practically ompossible to use community-servers. Hence you MUST run your own Collabora server. In my case, I would LIKE TO run my own Collabora server, but in the end, I may fail. Anyway, I will let you knoe if I advance or even succeed.
[11:59:56] <@err404:matrix.numericore.com> l have my own server at home, running proxmov, with 2 yunohost in lxc containers
[13:55:27] <jcb> 𝔼𝕣𝕣𝟜𝟘𝟜: It works now. I found a sort of wild solution in the sense that I don't know anything about the proposer and I do not understand any logic that may or may not lye behind it: In Nextcloud -> Administration -> Office enter these IP's in the "Allow list for WOPI requests": ::/0,0.0.0.0/0,192.0.0.0/24,100.0.0.0/24
[14:04:40] <@err404:matrix.numericore.com> thanks, I will look at this
[16:43:55] <jcb> Multiple instances of Nextcloud: It does not seem to be possible out of the box, but would it be possible to install multiple instances og Nextclous on the same YunoHost server? Would it for example be possible for seperate users on yunoHost to host his/her own Nextcloud instance?
[16:48:46] <Salamandar> I'm not sure why it wouldn't work
[16:48:53] <Salamandar> But, nextcloud is multiuser, so why would you want one instance per user ?
[16:50:20] <orhtej2> > <@Salamandar:matrix.org> I'm not sure why it wouldn't work

`.well-known` clash
[16:50:42] <Aleks (he/him/il/lui)> hmmm ben la manière dont c'est prévu, c'est pas spécialement encouragé ou pratique que les admins créént manuellement des permissions, le mieux ce serait de contribuer au paquet en rajoutant la permission supplémentaire qui va bien dans le manifeste
[16:53:07] <smusset> eh bien pourquoi pas ;) d'ailleurs ce sont les essais que j'ai à force de chercher j'ai fini par atterrir sur ce manifest.toml mais sans succès dans mes tentatives. [cela j'ai un peu l'impression que le paquet dolibarr a l'air en voie d'abandon car pas de commit depuis pratiquement 2 ans].
[16:57:00] <Salamandar> it doesn't make it impossible
[16:57:08] <Salamandar> I have baikal and nextcloud on the same domain
[16:58:00] <Aleks (he/him/il/lui)> smusset: il y a 5 PR en attente ceci dit https://github.com/YunoHost-Apps/dolibarr_ynh/pulls
[16:58:19] <Aleks (he/him/il/lui)> NB: il suffit pas d'éditer le manifest, les permissions sont créées / mise à jour etc lorsque l'app est installée/upgradée
[16:59:29] <Aleks (he/him/il/lui)> Il y a cette PR testing qui met à jour l'app vers 20.x mais d'après quelqu'un ça pète l'interface avec LDAP : https://github.com/YunoHost-Apps/dolibarr_ynh/pull/128
[17:01:38] <smusset> ok. je commençais à me douter un peu qu'il devait y avoir un truc du genre. du coup je vais voir pour tester ailleurs que sur ma prod doli car les upgrade ont aussi un bug depuis quelques versions où les documents "liés" sont supprimés donc j'ai du les repêcher depuis la sauvegardes lors des 2-3 dernières màj.
[17:37:15] <DrPi> Hello, Pas de solution pour mon problème de [DKIM](https://matrix.to/#/!gvRsI7cG1o9SVr56:pijean.ovh/$4KfTYztawRp2yUD8-88_6CX9NUe5CG9oy079Up8_r8E?via=matrix.org&via=aria-net.org&via=sans-nuage.fr) ?
[17:39:15] <Aleks (he/him/il/lui)> hmmm did you enable "Outgoing email" in the subdomain features
[17:41:14] <smusset> hum et après une première tentative, j'ai bien l'impression que modifier le manifeste en place n'est pas suffisant et qu'il faut sûrement forker les sources pour modifier le manifest.toml ? (un yunohost app upgrade dolibarr --force m'a écrasé le modif faites dans manifest.toml j'ai l'impression ?)
[17:49:10] <smusset> bon en effet c'est l'idée. en faisant ça et en utilisant --url pour forcer l'upgrade de mon install dolibarr de test, manifest est bien conservé, une entrée "dolibarr (api)" est créée pour les permissions et l'accès public passe. par contre en forkant le master du github doli ynh actuel j'ai effectivement eu tout un tas d'alertes sur ldap
[17:50:41] <jcb> Can you guide me to information on how to possibly do it?
[18:04:53] <jcb> By the way, the reason why I would like to have two instances is that I wish to separate private and work related folders, functions and access.
[18:24:07] <DrPi> Sure. I tried to disable then re-enable it. Without success.
[18:26:39] <DrPi> To be precise, the problem is not with a sub-domains but with additional domains. The main domain is ok.
I mean mondomaineprinical.fr is ok. But mondomainesecondaire1.fr et mondomainesecondaire2.fr have no DKIM key.
[18:27:27] <Aleks (he/him/il/lui)> hmmokay and what if you run `yunohost tools regen-conf opendkim`, after enabling the outgoing email option ?
[18:27:56] <DrPi> Let me try...
[18:28:30] <Aleks (he/him/il/lui)> ah yes ueahg it's an oversight here https://github.com/YunoHost/yunohost/blob/dev/src/domain.py#L920-L921
[18:31:52] <DrPi> That did it !
Thanks 👍️
[18:33:30] <Aleks (he/him/il/lui)> should be fixed by https://github.com/YunoHost/yunohost/commit/535ce3be0c24082dff9ca0363e97ee13467f5ab9 in next release