Wednesday, August 06, 2025
support@conference.yunohost.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
             

[06:35:48] <NemStudio18> Bonjour tout le monde ! J'ai une question peut être bête, mais , une app , a partir du moment où elle est installée, elle apparaît forcément dans le SSO peut importe si c'est accessible visiteur /admin/compte ?
[06:38:27] <Marc_> NemStudio18: non elle n'apparait qu'à ceux qui y ont accès (via les permissions) et certaines peuvent ne pas avoir de vignette du tout
[06:43:41] <NemStudio18> @Marc_
Ok d'acc donc soit c'est que j'ai un soucis sur l''installe, soit j'ai aucune app avec vignette car en tant qu'admin pas normal que je n'ai aucunes tuiles .... Genre forgejo Nextcloud jellyfin matomo Ollama ça je devrais voir quelque chose non? Tout fonctionne hein je tiens a préciser ^^
[06:49:28] <miro5001> Dans la webadmin >domaines >ton domaine >afficher les applications des autres domaines (ou un truc du genre)
[06:53:01] <NemStudio18> > <@miro5001:matrix.org> Dans la webadmin >domaines >ton domaine >afficher les applications des autres domaines (ou un truc du genre)

Non mais j'avais même oublié ce panneau d'option ! Merci a toi 😘
[11:21:17] <loul> Bonjour !
J'ai fait quelques essais avec Pelican (blog statique) sur mon ordi, et pour publier j'ai installé l'app sur mon yunh…
Mais je me demande comment je suis sensé l'utiliser maintenant ?! (où pousser mes fichiers source ? par git/rsync/… ?)
Quand j'aurais compris je pourrais améliorer la doc :D
[11:23:20] <loul> sorry for the French
in English : I've done some trials with Pelican static blog generator on my PC, and then installed the app on my yunh
but then I've no idea how to use it (where/how to push the sources)
[13:38:23] <tituspijean[m]> loul: if I recall correctly the app does not have a really documented way of pushing the source files.

As a bear minimum you can use `yunohost app shell pelican`. That will open a shell into the app, and you can use `nano` to write and edit files. But it's not great UX.

You can read https://github.com/YunoHost-Apps/pelican_ynh/issues/11 for some pointers, notably on how to integrate it with Nextcloud.

I also see that the SFTP permission is enabled for that app, but I guess it lacks an actual password to log into it with SFTP.
[13:41:51] <tituspijean[m]> (For that last bit I _think_ you can simply do `sudo passwd pelican` and set a sufficiently complex password to use it with an SFTP client. To be tested. I unfortunately do not have a proper computer with me until next week)
[14:45:47] <loul> > loul: if I recall correctly the app does not have a really documented way of pushing the source files.
>
> As a bear minimum you can use `yunohost app shell pelican`. That will open a shell into the app, and you can use `nano` to write and edit files. But it's not great UX.
>
> You can read https://github.com/YunoHost-Apps/pelican_ynh/issues/11 for some pointers, notably on how to integrate it with Nextcloud.
>
> I also see that the SFTP permission is enabled for that app, but I guess it lacks an actual password to log into it with SFTP.
thanks for the link!
I'll try to setup a git repo in pelican with an SSH key and a receive hook…
If that works I'll share the receipe
[15:41:34] <Hook> @loul give me some time to come to my laptop. I use Pelican and can tell you how it works in practice.
[15:41:49] <Hook> Do you also happen to use Nextcloud, BTW?
[15:42:39] <loul> Not yet, I would prefer to keep it light…
[15:45:54] <Hook> No worries, just so I know how to translate my workflow
[16:05:54] <Hook> (I’ll be a bit on/off, I apologize – it’s a bit of a chaos here)
[16:31:07] <Hook> @loul, the way Pelican on YunoHost works (out of the box) is that it there’s a SystemD unit that makes sure that `pelican --autoreload` is always running in the background.
You can see that in {$your_main_domain}/yunohost/admin/#/services/pelican
[16:32:09] <Hook> What it does it check `/var/www/pelican` as the Pelican working directory (also doubles as `pelican` user’s home directory)
[16:32:50] <Hook> So whatever you locally that works for you, you need to push/copy/upload in some way to `/var/www/pelican`.
[16:34:41] <Hook> Out of the box essentially what you need is to make sure that the Markdown/RST article sources are uploaded to `/var/www/pelican/content` and that you have set up `/var/www/pelican/pelicanconf.py` accordingly (and uploaded the theme and plugins of your choice).
[16:36:06] <Hook> Then whenever `pelican --autoreload` detects a change in `/var/www/pelican/content/` it will automatically re-generate the HTML and it will show on your blog’s domain in a matter of seconds (depending on the size of your blog and the computing resources available).
[16:37:44] <Hook> What I do is have `/var/www/pelican/content` mounted as an external mount in my Nextcloud, and then I sync that to a `~/Blog` folder on my computer.
So whenever I write or change a blog post’s Markdown on my laptop, it automatically uploads and updates my blog on the server.
[16:38:36] <Hook> You can achieve the same with rsync, git or just plain `scp`.
[16:38:44] <Hook> I hope that helps :)
[19:00:37] <loul> > I hope that helps :)
Thanks a lot for all the details!!
[20:21:59] <Hook> @loul happynto help
[20:22:08] <Hook> Btw, are you connected via xmpp?
[20:35:21] <Hook> loul, depending on how much resources you have, you may run into this mem leak issue (but you need to be on very low resources to notice, TBH): https://github.com/YunoHost-Apps/pelican_ynh/issues/18
[20:37:00] <loul> > Btw, are you connected via xmpp?
yes, from gajim :)
[20:38:11] <loul> > loul, depending on how much resources you have, you may run into this mem leak issue (but you need to be on very low resources to notice, TBH): https://github.com/YunoHost-Apps/pelican_ynh/issues/18
I'm thinking of disabling this autoreload and use git with a hook
[20:38:46] <Hook> To the Matrix channel or the XMPP MUC (which I thought was down)?
[20:40:16] <Hook> Yeah, I was thinking of doing something similar, either via `inotify` or Nextcloud Workflow. But so far the leakage is so small, I don’t bother.
[20:40:57] <loul> XMPP MUC… so it is working \o/
[20:45:39] <Hook> Sweet, I’ll connect through that again then.
[20:48:02] <Hook> Can I bother you for the link? For some reason, Dino says it cannot connect to `support@conference.yunohost.org`
[21:02:54] <loul> it is: xmpp:support@conference.yunohost.org !?
[21:10:57] <Hook> That’s the Matrix link.
[21:11:46] <loul> I dont see the difference between the address you said above and mine ?!
[21:12:54] <loul> leaving, see you!
[21:16:39] <Hook> https://aria.im/_bifrost/v1/media/download/AaG_bOdLQ3le69w3CwJq-7RiZM2j6wT3KGbm-zPaymohgIEBoHtl_MIzHevlg-Yrmjb36WuHlE03vORKnPfG5RFCeYhmSlVgAGtvbXBvdC5zaS9Yd1NqcllUVUV0cmRrdExZQ2pyb2hSamo