Thursday, June 13, 2024
apps@conference.yunohost.org
June
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
             

[03:19:18] <Yunohost Git/Infra notifications> App mobilizon goes down from level 8 to 6 in job [#27432](https://ci-apps.yunohost.org/ci/job/27432)
[10:52:46] <rodinux> I am trying found why discourse package broke the ldap... looking a suggest in a issue open, I am not sure, but perhaps due to in the Gemfile, none of this are present gem 'net-ldap' and no gem 'omniauth-ldap'... is it possible try add them or is it risked, can I try debug adding the gems, and how then use correct command to update the rails ?? with the user discourse in a app shell ?
[10:55:48] <Salamandar> does /var/www/discourse/plugins/discourse-ldap-auth exist ?
[10:56:14] <Salamandar> does plugins/discourse-ldap-auth/config/settings.yml exists ?
[10:57:34] <rodinux> yes
[10:57:51] <Salamandar> ok
[10:58:09] <rodinux> and have this ```plugins:
ldap_enabled:
default: true
ldap_user_create_mode:
default: 'auto'
ldap_lookup_users_by:
default: 'email'
ldap_hostname:
default: 'localhost'
ldap_port:
default: 389
ldap_method:
default: 'plain'
ldap_base:
default: 'ou=users,dc=yunohost,dc=org'
ldap_uid:
default: 'uid'
ldap_bind_dn:
default: ''
ldap_password:
default: ''
secret: true
ldap_filter:
default: ''```
[10:58:33] <Salamandar> ok
[10:58:35] <Salamandar> seems fine
[10:58:58] <rodinux> but it is impossible to login
[10:58:59] <Salamandar> (it's not all on a single line right ? it's just a copy paste issue ?)
[11:00:19] <rodinux> yes
[11:00:33] <rodinux> > <@Salamandar:matrix.org> (it's not all on a single line right ? it's just a copy paste issue ?)

yes, it is
[11:01:04] <Salamandar> oh ??
[11:01:07] <Salamandar> uh
[11:01:09] <Salamandar> that's weird then
[11:01:35] <rodinux> I mean you are rigth it not a single line, just a paste
[11:01:45] <Salamandar> ah okay
[11:02:16] <rodinux> https://aria.im/_matrix/media/v1/download/matrix.org/xuufTJiuEspyMTfsGUUQyMrY
[11:02:23] <Salamandar> good
[11:02:45] <Salamandar> is it a fresh install or an upgrade ?
[11:02:46] <rodinux> fresh one
[11:03:01] <Salamandar> ok
[11:03:13] <Salamandar> i'm installing it on my side in a container to test
[11:05:32] <rodinux> Ok, I realize I need also reinstall because I have try a suggest to come back with an old install a bit dirty with a manifest.json... I remove and reinstall the last version better
[11:06:35] <Yunohost Git/Infra notifications> [apps] alexAubin pushed 1 commit to helpers-2.1: helpers2.1: more patches for mysql/psql helpers ([681cfede](https://github.com/YunoHost/apps/commit/681cfede215a0795f64dbe468637c7f0cae50c83))
[11:06:47] <Yunohost Git/Infra notifications> [apps] github-actions[bot] pushed 1 commit to actions/toml: helpers2.1: more patches for mysql/psql helpers ([681cfede](https://github.com/YunoHost/apps/commit/681cfede215a0795f64dbe468637c7f0cae50c83))
[11:08:30] <rodinux> > <@rodinux:matrix.org> Ok, I realize I need also reinstall because I have try a suggest to come back with an old install a bit dirty with a manifest.json... I remove and reinstall the last version better

No it is yet the stable package, I have try remove and resintall few times... but last is the normal way
[11:10:05] <rodinux> with manifest.toml V2
[11:11:23] <rodinux> root@yuno:~# yunohost app info discourse
description: Discussion platform
domain\_path: forum.domain.tld/
name: Discourse
version: 2.8.14~ynh3

[11:13:30] <rodinux> also I have nothing in /var/log/discourse...
[11:27:17] <Salamandar> > <@rodinux:matrix.org> also I have nothing in /var/log/discourse...

/var/www/discourse/log
[11:27:20] <Salamandar> ><'
[11:27:25] <rodinux> ok here I found a log Started POST "/auth/ldap/callback" for xx.xxx.x.xx at 2024-06-13 11:12:32 +0000
(ldap) Setup endpoint detected, running now.
(ldap) Callback phase initiated.
(ldap) Authentication failure! ldap_error: TypeError, no implicit conversion of Hash into String
Started GET "/auth/failure?message=ldap_error&origin=https%3A%2F%2Fforum.domain.tld%2F&strategy=ldap" for xx.xxx.x.xx at 2024-06-13 11:12:33 +0000
Processing by Users::OmniauthCallbacksController#failure as HTML
Parameters: {"message"=>"ldap_error", "origin"=>"https://forum.domain.tld/", "strategy"=>"ldap"}
Rendered users/omniauth_callbacks/failure.html.erb within layouts/no_ember (Duration: 0.1ms | Allocations: 11)
Rendered layout layouts/no_ember.html.erb (Duration: 13.0ms | Allocations: 2534)
Completed 200 OK in 66ms (Views: 50.9ms | ActiveRecord: 0.0ms | Allocations: 3730
[11:35:14] <rodinux> something wrong in OmniauthCallbacksController... or perhaps in the embbed attributes
[11:38:49] <Salamandar> i'm trying to install both apps in parallel to understand the difference
[11:39:20] <rodinux> what do you means with both ?
[11:43:30] <rodinux> Something important... I am deploying this instance, but it not yet attached to a reverse zone dns for now, but soon it will
[11:48:28] <Salamandar> old version and new version
[11:49:29] <Salamandar> well uh
[11:49:42] <Salamandar> it's been broken since before packagingv2
[11:49:59] <Salamandar> Can you find which version you had before upgrading to the broken version ?
[11:52:27] <Aleks (he/him/il/lui)> could be related to https://github.com/YunoHost-Apps/discourse_ynh/blob/master/conf/ldap-auth-fix-subfolder.patch ?
[11:52:30] <Salamandar> here's the issue i find
[11:52:33] <Salamandar> `(ldap) Authentication failure! ldap_error: TypeError, no implicit conversion of Hash into String`
[11:52:43] <Aleks (he/him/il/lui)> (it's weird that this patch ain't in the sources/patches with the other patches btw)
[11:52:58] <rodinux> It a first install for me, I haven't the chance to see a discourse working
[11:54:14] <Salamandar> ah !
[11:54:25] <Salamandar> @Alekswag:matrix.org yeah
[11:54:29] <Salamandar> but the patch applies properly
[11:54:41] <Aleks (he/him/il/lui)> > <@Alekswag:matrix.org> (it's weird that this patch ain't in the sources/patches with the other patches btw)

sounds like it's because it needs the plugin to be installed which is installed after the sources
[11:55:49] <Salamandar> oh
[11:55:55] <Salamandar> Deprecation warning: please give :encryption option as a Hash to Net::LDAP.new
[11:59:32] <Salamandar> https://github.com/jonmbake/discourse-ldap-auth/issues/71
[12:04:32] <Salamandar> it's supposed to be fixed in 0.6.1
[12:11:30] <eric_G> can `--source_id` accept multiple sources ?
[12:11:46] <Aleks (he/him/il/lui)> nope
[12:18:18] <Thomas> https://apps.yunohost.org/dash?filter=outdated
What are outdated tests?
[12:19:28] <Aleks (he/him/il/lui)> tests that were done more than 30ish days ago, the CI is supposed to test every app at least once a month
[12:20:27] <Aleks (he/him/il/lui)> sometimes it doesn't, for example if an app "hangs forever" on the CI and the CI times out after a few hours, the test doesn't produce any actual result
[12:21:00] <Aleks (he/him/il/lui)> so the app may be flagged as level 6/7/8/whatever but since there's no recent test data it's kind of meaningless
[12:21:20] <Thomas> Okay nice to know thanks!
[12:23:15] <Thomas> For the bookworm compatibility, some tests still fail because of the go helper I think, if someone wants to update it, be my guess 😇
[12:23:36] <Aleks (he/him/il/lui)> ah we should rebuild the image i suppose ?
[12:25:47] <Thomas> > <@Alekswag:matrix.org> ah we should rebuild the image i suppose ?

I think so yes
[12:26:38] <Thomas> But I look at the other fails in the meantime so there is no hurry
[12:37:30] <Salamandar> > <@Salamandar:matrix.org> it's supposed to be fixed in 0.6.1

i confirm: a small update of the ldap plugin from 0.6.0 to 0.6.1 fixes the issue
[12:38:09] <Salamandar> https://github.com/YunoHost-Apps/discourse_ynh/pull/185/files
[12:38:12] <Salamandar> yolomerging on master
[12:39:02] <rodinux> 🎉
[12:42:19] <Salamandar> @Alekswag:matrix.org can't understand this issue though
[12:42:19] <Salamandar> https://github.com/YunoHost-Apps/discourse_ynh/issues/183
[12:42:39] <Salamandar> https://github.com/YunoHost-Apps/discourse_ynh/issues/178 too
[12:42:48] <Salamandar> i don't have this issue
[12:43:05] <Salamandar> ah but it's on upgrade
[12:48:04] <eric_G> is there something available in YunoHost to install a bundle of apps?
[12:49:55] <Salamandar> not really no
[12:50:04] <Salamandar> we've had discussions on this
[12:50:18] <Salamandar> would be nice to single click and install a "recommended apps" list
[12:52:01] <eric_G> I was looking into omeka S use case -> [Omeka et le crowdsourcing, la plate-forme de transcription collaborative Transcrire - Fabrice Melka ](https://www.youtube.com/watch?v=Lkc8kKJYBoI)
[12:52:40] <eric_G> oh! my logo
[12:52:48] <eric_G> I jumped
[12:52:58] <Aleks (he/him/il/lui)> (related : https://declic.cc/yunohost/?YunoHost and https://md.yeswiki.net/s/3zWb4SQR8# )
[12:54:24] <Salamandar> your logo ?
[12:55:01] <Aleks (he/him/il/lui)> https://github.com/hedgedoc/hedgedoc-logo/pull/3 😬
[12:55:29] <Salamandar> wow noice
[12:55:34] <Salamandar> gj on that logo
[12:56:24] <eric_G> Comme case d'usage we could also add transcription with Omeka S with scripto plugin + mediawiki
[12:58:19] <eric_G> https://declic.cc/yunohost/?YunoHost that is nice
[13:00:51] <eric_G> who wrote this? https://md.yeswiki.net/s/3zWb4SQR8#
[13:23:08] <Aleks (he/him/il/lui)> it's a combination of the work started by Laurent M during the Yunocamp last year, with contributions from Mathieu i think, and then we iterated on it in january with Mathieu and I for the workshop @ Digital Campus, and some contributions from ljf as well
[13:23:20] <Aleks (he/him/il/lui)> but it'd stiil need more work to clarify a bunch of things
[13:23:48] <Aleks (he/him/il/lui)> it's also related to CLIC which is kind of a bundle
[13:24:11] <Aleks (he/him/il/lui)> or it's sort of a generalization of the Internet Cube / CLIC / ...
[22:36:50] <Yunohost Git/Infra notifications> [apps] MadMan247 [commented](https://github.com/YunoHost/apps/pull/2373#issuecomment-2166904886) on [issue #2373](https://github.com/YunoHost/apps/pull/2373) Update apps.toml for packages not maintained: Thank you, Ericgaspar, for your time. I certainly failed at least for Bludit, and automad. Thank you for taking the time...