[00:30:48]
<miro5001> How can I list all the settings saved of an app (yunohost app setting myapp...)?
How can I list all email aliases on the server (including apps emails)?
[02:08:56]
<Émy – OniriCorpe> > <@miro5001:matrix.org> How can I list all the settings saved of an app (yunohost app setting myapp...)?
> How can I list all email aliases on the server (including apps emails)?
You can view all the saved settings in the `/etc/yunohost/apps/$app/settings.yml` file
There is also the `yunohost app setting` tool, but it cannot list all the app settings
[02:10:04]
<Émy – OniriCorpe> For the email aliases I don’t know
[07:28:32]
<Yunohost Git/Infra notifications> App planka rises from level 0 to 7 in job [#31628](https://ci-apps.yunohost.org/ci/job/31628) !
[08:08:26]
<Yunohost Git/Infra notifications> App cinny stays at level 1 in job [#31093](https://ci-apps.yunohost.org/ci/job/31093)
[08:59:23]
<kayou> https://ci-apps-bookworm-dev.yunohost.org/ci/job/3431
for both nextcloud and gitlab i have this timeout error :/
[09:00:03]
<kayou> I didn't have this problem a few weeks ago
[09:11:46]
<Salamandar> yeah that's really weird
[09:12:20]
<Salamandar> i increased the number of CPUs ci-apps-bookworm and it seems to help a bit with the weird errors. We might need to do the same on -dev
[09:16:21]
<kayou> perhaps the timeout was bigger on previous ci-apps-bookworm instance?
[09:21:44]
<Salamandar> hmmm
[09:21:50]
<Salamandar> yeah i recall a 360 minutes timeout
[09:23:27]
<Salamandar> 180 is the default in run.py indeed
[09:23:37]
<Salamandar> need to put 21600 (seconds)
[09:24:25]
<Salamandar> i wait for the minetest jobs to finish then I restart yunorunner
[13:04:43]
<eric_G> looks like Nextcloud has now 30 tests 🤔
[14:10:48]
<miro5001> I couldn't find a straight way to find all the email accounts and aliases on yunohost. I installed phpldapadmin, where I found the aliases for users and groups but not apps.
I found an app email account with "cat /etc/postfix/app_senders_login_maps"
This was created by
[resources.system_user]
allow_email = true
In the manifest but doesn't seem to be customisable, the "default" key didn't change the email from app@domain to custom@domain
[14:15:10]
<Aleks (he/him/il/lui)> what are you trying to achieve exactly
[14:17:49]
<miro5001> I wanted to add an email account for ojs but I prefer the email account to noreply@domain instead of ojs@domain
[14:18:38]
<miro5001> Here https://github.com/YunoHost-Apps/ojs_ynh/blob/148f4f825b80d0942f2a5dacf3968207f3ee1cd5/manifest.toml#L72
[14:20:26]
<Aleks (he/him/il/lui)> https://yunohost.org/packaging_apps_resources#system-user
>`allow_email`: (`default`: False) Enable authentication on the mail stack for the system user and send mail using `__APP__@__DOMAIN__`. A mail_pwd setting is automatically defined (similar to `db_pwd` for databases). You can then configure the app to use `__APP__` and `__MAIL_PWD__` as SMTP credentials (with host 127.0.0.1). You can also tweak the user-part of the domain-part of the email used by manually defining a custom setting `mail_user` or `mail_domain`
[14:23:53]
<miro5001> I followed the link proposed by tituspijean: here https://github.com/YunoHost-Apps/ghost_ynh/blob/2a441b097a0f08ff0ff4126e46aec18a5c1803cd/manifest.toml#L56
[14:24:32]
<miro5001> So it's not customisable
[14:27:03]
<Aleks (he/him/il/lui)> it's a setting, it's not a toml propery
[14:27:12]
<Aleks (he/him/il/lui)> `ynh_app_setting_set` etc
[14:32:36]
<miro5001> OK, I try to understand 😅, sorry
[15:26:22]
<tituspijean> Oooooh my bad. Hence why I ended up commenting it out. Sorry. 😅
[15:38:30]
<m606> > <@Salamandar:matrix.org> i increased the number of CPUs ci-apps-bookworm and it seems to help a bit with the weird errors. We might need to do the same on -dev
ci-apps-bookworm seems blocked (or megabusy?) for tasks unrelated to Github/Gitlab. There at the same Joplin backup/restore test line (428144 SUCCESS) for 10mn+: https://ci-apps-bookworm-dev.yunohost.org/ci/job/3501
[16:10:51]
<Yunohost Git/Infra notifications> App jellyfin failed all tests in job [#31397](https://ci-apps.yunohost.org/ci/job/31397) :(
[17:00:45]
<eric_G> Anyone knows why mongodb is broken in YNH 12?
[17:03:13]
<Aleks (he/him/il/lui)> it is broken ...?
[19:25:18]
<Salamandar> https://ci-apps-bookworm.yunohost.org/ci/job/10553
[19:25:32]
<Salamandar> ```
3093438 WARNING The service fail2ban didn't fully executed the action reload-or-restart before the timeout.
3093439 WARNING Please find here an extract of the end of the log of the service fail2ban:
3093445 WARNING Oct 13 02:54:18 systemd[1]: Started fail2ban.service - Fail2Ban Service.
3093445 WARNING Oct 13 02:54:18 fail2ban-server[8992]: 2024-10-13 02:54:18,351 fail2ban.configreader [8992]: WARNING 'allowipv6' not defined in 'Definition'. Using default one: 'auto'
```
[19:25:51]
<Salamandar> really weird. I manually went into the incus container, the fail2ban config does NOT contain allowipv6 (it's commented out)
[19:25:57]
<Aleks (he/him/il/lui)> computerz sayz no
[19:26:10]
<Aleks (he/him/il/lui)> ah yeah that's the boring warning on bookworm
[19:26:14]
<Aleks (he/him/il/lui)> that's not the actual issue
[19:27:30]
<Aleks (he/him/il/lui)> but that's like absolutely crazy because the damn log doesnt tell what's the actual fucking issue
[19:28:28]
<Salamandar> > <@Alekswag:matrix.org> that's not the actual issue
oh ?
[19:28:39]
<Salamandar> The issue also is that it didn't restart in the timeout
[19:31:03]
<Salamandar> but this one might be app related
[19:40:24]
<eric_G> > <@Alekswag:matrix.org> it is broken ...?
I guess so https://ci-apps-bookworm-dev.yunohost.org/ci/job/3293
[19:42:06]
<Salamandar> > <@Salamandar:matrix.org> The issue also is that it didn't restart in the timeout
Aaaaand I can't reproduce that (in incus, on my laptop):
```
root@ci-apps-bookworm:/home/yunohost# yunohost app install wallabag2
Choose the domain where this app should be installed [ci-apps-bookworm.yunohost.org]: ci-apps-bookworm.yunohost.org
Choose the URL path (after the domain) where this app should be installed: /wallabag
Who should have access to this app? (This can later be changed) [admins | all_users | visitors]: visitors
Choose an administrator user for this app [yunohost]: yunohost
Info: Installing wallabag2…
Info: Provisioning sources...
Info: Provisioning system_user...
Info: Provisioning install_dir...
Info: Provisioning permissions...
Info: Provisioning apt...
Info: Provisioning database...
Info: [+++++...............] > Setting up source files...
Info: [#####+++++..........] > Adding wallabag2's configuration files...
Info: [##########+++++.....] > Adding system configurations related to wallabag2...
Info: The service fail2ban has correctly executed the action reload-or-restart.
Info: [####################] > Installation of wallabag2 completed
Success! Installation completed
```
[19:43:18]
<Salamandar> oh fuck no, i installed it on ci-apps-bookworm
[19:43:19]
<Salamandar> too many terminals
[19:44:11]
<eric_G> I am trying to package sugarizer
[19:44:34]
<Salamandar> kekecé
[19:45:06]
<eric_G> https://sugarizer.org/
[19:45:21]
<eric_G> 1laptopperchild thing
[19:51:23]
<Salamandar> ok now i reproduce
[19:58:54]
<orhtej2> > <@ericg:matrix.org> https://sugarizer.org/
why is server coupled with client x_x
[19:59:30]
<eric_G> you mean in my package?
[20:02:52]
<orhtej2> I mean in their official deployment docs
[20:03:08]
<orhtej2> also, `server.ini` references client explicitly
[20:03:31]
<orhtej2> I have no clue how to build bunch of static assets for client and just serve it via ngnix
[20:04:51]
<Salamandar> found the issue
[20:04:53]
<Salamandar> it's in the helpers
[20:05:42]
<Salamandar> helpersv1: `ynh_systemd_action --service_name=fail2ban --action=reload --line_match="(Started|Reloaded) fail2ban.service" --log_path=systemd`
[20:06:04]
<Salamandar> helpersv2.1: `ynh_systemctl --service=fail2ban --action=reload --wait_until="(Started|Reloaded) Fail2Ban Service" --log_path=systemd`
[20:06:12]
<Salamandar> see the difference of match ?
[20:09:59]
<Salamandar> fixed
[20:24:16]
<Aleks (he/him/il/lui)> > <@ericg:matrix.org> I guess so https://ci-apps-bookworm-dev.yunohost.org/ci/job/3293
sounds like it depends on libssl1.1 which doesnt exists anymore
[20:24:23]
<Aleks (he/him/il/lui)> you probably need a more recent version of mongodb
[20:26:26]
<eric_G> ok, let's try Mongo 7.0 🗯️
[20:57:04]
<eric_G> ^ same error with mongo 7.0
[21:18:28]
<orhtej2> > <@ericg:matrix.org> ^ same error with mongo 7.0
```
2024-10-07 02:58:58,775: DEBUG - Installing Mongo 4.4 as 6.0 is not compatible with your cpu (see https://docs.mongodb.com/manual/administration/production-notes/#x86_64).
```
As in f... what you want, here's 4.4
[21:18:50]
<orhtej2> (which is not shipped for bookworm but pulled from buster legacy repo)
[21:19:18]
<orhtej2> it'll likely work on system that supports AVX2
[21:20:08]
<orhtej2> TBH IDK what's licensing around repackaging mongo, there are scripts out there that build Mongo without AVX requirement but haven't actually seen the packages in the wild
[21:21:39]
<orhtej2> legal bullshit goes brrt https://www.mongodb.com/legal/licensing/server-side-public-license
[21:22:19]
<orhtej2> bottom line is machine running Bookworm CI is using ancient tech and testing apps using mongo is ~impossible
[22:02:49]
<thatoo> I wrote
```
```
```
zabbixFullpath=https://$domain$path
curlOptions="--noproxy $domain -k -s --cookie cookiejar.txt --cookie-jar cookiejar.txt --resolve $domain:443:127.0.0.1"
_csrf_token=$(curl $curlOptions "$zabbixFullpath/zabbix.php?action=template.list" |
grep -B 10 -A 10 popup.import | grep -Po '[CSRF_TOKEN_NAME]: "[A-Za-z0-9]+"' |
grep -Po '"[A-Za-z0-9]+"' | grep -Po '[A-Za-z0-9]+')
```
[22:02:54]
<thatoo> and I get this error
[22:03:15]
<thatoo> ```
2024-10-24 23:53:49,129: DEBUG - ++ curl --noproxy maindomain.tld -k -s --cookie cookiejar.txt --cookie-jar cookiejar.txt --resolve maindomain.tld:443:127.0.0.1 'https://maindomain.tld/zabbix/zabbix.php?action=template.list'
2024-10-24 23:53:49,130: DEBUG - ++ grep -Po '"[A-Za-z0-9]+"'
2024-10-24 23:53:49,132: DEBUG - ++ grep -B 10 -A 10 popup.import
2024-10-24 23:53:49,133: DEBUG - ++ grep -Po '[A-Za-z0-9]+'
2024-10-24 23:53:49,135: DEBUG - ++ grep -Po '[CSRF_TOKEN_NAME]: "[A-Za-z0-9]+"'
2024-10-24 23:53:49,417: DEBUG - + _csrf_token=
2024-10-24 23:53:49,417: DEBUG - + ynh_exit_properly
```
[22:04:12]
<thatoo> `` _csrf_token= `` is empty
which is logical if grep command didn't happen in correct order
[22:05:20]
<thatoo> Why does the line `` grep -Po '"[A-Za-z0-9]+"' `` display in yunopaste before `` grep -B 10 -A 10 popup.import ``