Monday, April 27, 2026
support@conference.yunohost.org
April
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
     
             

[10:24:29] <isAAAc> grml, looks like my fail2ban isn't working properly,
not enough banned ip if i chech the failed scaned requests
[10:31:31] <zenigata> Hi there! I hope you are well.
My Discourse isn't responding. I have a 502 Bad Gateway and YunoHost API is not responding on Tools->Services->discourse. Can you help me? I can install it again, but I need to make a backup and it failed so far 😢
[10:35:44] <rodinux> it is the last version ?
[10:38:34] <zenigata> I have Installed version: 2026.1.0~ynh1
I think I had a problem with a physical disk that altered the application. How can I recover?
[10:53:23] <rodinux> what are the logs from backup failed ?
[10:57:27] <zenigata> Just tried again. Here are the last lines within the logs:

```
2026-04-27 10:55:42,619: DEBUG - + sudo --login --user=postgres pg_dump discourse
2026-04-27 10:55:57,668: WARNING - pg_dump: error: Dumping the contents of table "ai_document_fragments_embeddings" failed: PQgetResult() failed.
2026-04-27 10:55:57,676: DEBUG - + ynh_exit_properly
2026-04-27 10:55:57,680: WARNING - pg_dump: detail: Error message from server: ERROR: could not access file "$libdir/vector": No such file or directory
2026-04-27 10:55:57,693: WARNING - pg_dump: detail: Command was: COPY public.ai_document_fragments_embeddings (rag_document_fragment_id, model_id, model_version, strategy_id, strategy_version, digest, embeddings, created_at, updated_at) TO stdout;
2026-04-27 10:55:57,717: DEBUG - + [[ backup =~ ^install$|^upgrade$|^restore$ ]]
2026-04-27 10:55:58,324: DEBUG - Could not run script: /var/cache/yunohost/app\_tmp\_work\_dirs/app\_9v5bqwla/scripts/backup
2026-04-27 10:55:58,352: ERROR - Failed to collect files to backed up for discourse.
```
[10:58:19] <zenigata> I am using the UI tool Create a backup archive
[10:58:24] <rodinux> I have got same issue with preview version https://github.com/YunoHost-Apps/discourse_ynh/issues/375
[11:01:57] <rodinux> Don't know why I haven't foud the package `postgresql-15-pgvector` and the package `discourse-ynh-deps`... The solution was upgrade without a backup...
[11:02:37] <zenigata> And then the backup worked?
[11:02:53] <rodinux> now I have them
```
dpkg -l | grep discourse
ii discourse-ynh-deps 2026.1.0~ynh1 all Fake package for discourse (YunoHost app) dependencies

[11:03:16] <rodinux> ```
dpkg -l | grep postgresql
ii postgresql 15+248+deb12u1 all object-relational SQL database (supported version)
ii postgresql-13 13.20-0+deb11u1 amd64 The World's Most Advanced Open Source Relational Database
ii postgresql-15 15.17-1.pgdg12+1 amd64 The World's Most Advanced Open Source Relational Database
ii postgresql-15-pgvector 0.8.2-1.pgdg12+1 amd64 Open-source vector similarity search for Postgres
ii postgresql-client-13 13.20-0+deb11u1 amd64 front-end programs for PostgreSQL 13
ii postgresql-client-15 15.17-1.pgdg12+1 amd64 front-end programs for PostgreSQL 15
ii postgresql-client-common 248+deb12u1 all manager for multiple PostgreSQL client versions
ii postgresql-common 248+deb12u1 all PostgreSQL database-cluster manager
ii postgresql-contrib 15+248+deb12u1 all additional facilities for PostgreSQL (supported version)
ii postgresql-server-dev-15 15.17-1.pgdg12+1 amd64 development files for PostgreSQL 15 server-side programming
ii postgresql-server-dev-all:amd64 248+deb12u1 amd64 extension build tool for multiple PostgreSQL versions

[11:04:23] <rodinux> I think it must work because the package `postgresql-15-pgvector` is installed... I hope so, not have yet try
[11:09:16] <rodinux> I was very affraid to upgrade without a backup with a `yunohost app upgrade discourse -b --debug` but it have works... I do a snapshot before if rollback needed...
[16:37:14] <Liam.c> hey, just updated to 2.14.3~ynh2 and I can confirm it solved the export issue !
thanks a lot !
[18:19:14] <isAAAc> Hello all
[18:19:27] <isAAAc> i have the impression that my fail2ban isn't banning anything anymore,
is there a command to reload a clean configuration that works, and that doesn't overlook any jails from the installed apps?
i'm looking through the “moulinette” commands, but so far i haven't found anything
[18:20:53] <isAAAc> https://krashboyz.org/zerobin/?cafadd93d8973240#AVBPiZ5GBfgoEPDy9sq6sAKVDJqTA16tqBdgZXEfhjHZ
[18:23:58] <isAAAc> Aleks (he/him/il/lui): i found https://github.com/YunoHost/issues/issues/2254 , but it is a bit old
[20:55:26] <Chatpitaine Caverne> Hello,
You could try a `sudo yunohost tools regen-conf fail2ban --dry-run --with-diff` if it says something, then run again without the --dry-run and --with diff.
If it doesn't say anything, then this is not a config issue.