Thursday, August 27, 2020
yunohost@conference.lightwitch.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
           
YunoHost support room | Don't ask to ask, just ask ! | Be patient and stay polite with everybody (this is a free software project ran by volunteers) | No answer? Post on the forum: https://forum.yunohost.org | This room is mirrored via Echo1 | Donate: https://liberapay.com/YunoHost

[06:32:49] <irc> <emile_> coucou
[06:33:05] <irc> <emile_> je viens de voir que yuno est passé en stable sur la 4
[06:33:13] <irc> <emile_> j'ai ça dans mon source; deb http://forge.yunohost.org/debian/ buster stable testing unstable
[06:33:22] <irc> <emile_> je peux virer unstable ?
[10:49:12] <irc> <ynhuser|51997> bonjour. J'ai installé un serveur Yunhost derrière une box free. Je viens de déménager et cela ne fonctionne plus. Quelles sont les démarches à effectuer ?
[11:04:55] <irc> <isAAAc> rester en ligne pour avoir une réponse ?
[11:05:01] <irc> <isAAAc> :)
[12:12:41] <irc> <gredin67[m]> <ynhuser|51997 "bonjour. J'ai installé un serveu"> Utilises-tu un VPN? Si non il faudra sûrement configurer ton nouveau routeur entre autres.
[12:13:53] <roy> I'm getting kicked from this channel every once in a while, is it a problem to idle here?
[12:30:46] <irc> <Bram> roy: this is very likely due to random metronome (the xmpp server) reboot more than explicit kick
[12:30:57] <irc> <Bram> we don't have any "don't idle" policy at all
[12:36:46] <irc> <isAAAc> roy : use irc ;) freenode server chan #yunohost , i never been kicked idling here
[12:37:17] <irc> <kidon[m]> or Matrix :)
[12:38:03] <roy> > <Bram> roy: this is very likely due to random metronome (the xmpp server) reboot more than explicit kick
That explains it :)
[12:38:46] <roy> I don't want to deploy Matrix just so I can idle :p
[12:39:11] <roy> And IRC is not very mobile friendly...
[12:41:10] <irc> <Bram> it works with weechat-proxy on android but it's not that optimal
[14:19:26] <irc> <jcverdie[m]> Hello,
[14:20:08] <irc> <jcverdie[m]> I want to host 2 different domains and I'd like one to be prime, is there a way to define it (today, going to http://B-domain redirects me to http://A-domain/sso, I want it the other wayà
[14:20:09] <irc> <jcverdie[m]> * I want to host 2 different domains and I'd like one to be prime, is there a way to define it (today, going to http://B-domain redirects me to http://A-domain/sso, I want it the other way)
[14:25:46] <irc> <jcverdie[m]> <jcverdie[m] "I want to host 2 different domai"> actually if i want the two to be different, (like users in A stay in A and user in B stay in B, I cant on the same server right?)
[14:41:32] <irc> <ex_06> Hi guys? How many times a week the admins clean the domains people asked to free? :o
[14:41:32] <irc> <ex_06> Hi guys!*
[20:56:13] <irc> <SusanRossi> I need pay?
[21:06:21] <irc> <Bram> I'm not sure to understand your question but yunohost is free
[21:08:07] <irc> <kidon[m]> Hi
[21:08:07] <irc> <kidon[m]> I got a specific use case where I need advices
[21:09:10] <irc> <kidon[m]> I got Nextcloud and Gitea, and I would like that with a little hook, Gitea generate a file and put it into Nextcloud
[21:10:06] <irc> <kidon[m]> My problem is the transfer of the file from Gitea home and Nextcloud directory + the fact that Nextcloud discovers the file
[21:10:46] <irc> <Bram> that's quite out of yunohost scope but that's doable I think
[21:11:00] <irc> <Bram> nextcloud has a cli tool
[21:11:14] <irc> <Bram> with it you can relaunch a local FS scan so it can detects new files
[21:11:41] <irc> <Bram> gitea seems to have webhooks https://docs.gitea.io/en-us/webhooks/
[21:11:48] <irc> <kidon[m]> Yes I saw occ, but it needs to be run with root or sudo rights but Gitea user can not
[21:12:22] <irc> <Bram> if you are at ease you can write a small webserver to do that
[21:13:14] <irc> <kidon[m]> ok I did think that web hooks could help me more than Git hooks
[21:13:27] <irc> <Bram> you can also go with git hooks I think
[21:13:28] <irc> <kidon[m]> I did not know*
[21:13:40] <irc> <Bram> and create a script owned by root executable by everyone
[21:13:54] <irc> <Bram> iirc there is a bit you can but on a script o allow it to run as root
[21:15:05] <irc> <Bram> https://unix.stackexchange.com/a/353764 here you go
[21:15:39] <irc> <Bram> but be aware that this create a file that anyone will be able to run as root
[21:15:42] <irc> <Amgine_[m]> Another option is to have the occ run as a www-data cron task.
[21:15:44] <irc> <Bram> so don't allow write access to it
[21:16:13] <irc> <Bram> Amgine_[m]: that won't solve the part of triggering a script on push
[21:16:20] <irc> <kidon[m]> yep I see the danger
[21:16:44] <irc> <kidon[m]> it won't but triggering a script is already done by Git ooks :)
[21:16:58] <irc> <kidon[m]> * it won't but triggering a script is already done by Git hooks :)
[21:17:40] <irc> <Amgine_[m]> <nod> You can run the occ file scan for a specific file in a specific folder every minute if you'd like.
[21:20:46] <irc> <kidon[m]> Ok ! Thanks !
[21:21:19] <irc> <kidon[m]> With a shared folder and the occ cron I should do it
[21:22:10] <irc> <kidon[m]> It would avoid the root script, I could copy my file from my Gitea user hook and the cron would catch the file update