Dispatcharr - backup feature broken in version Postgres 18

Hello there,

I wanted to enable the backup feature within the Settings –> Backup & Restore page. unfortunately, activating it popped up an error related to Postgresql pg_dump

Error
Failed to create backup: pg_dump failed: pg_dump: error: aborting because of server version mismatch pg_dump: detail:
server version: 18.2 (Debian
18.2-1.pgdg13+1); pg_dump version: 17.7
(Ubuntu 17.7-3.pgdg24.04+1)

1 Like

Happening here too. Is there an upstream for the app shipped in the catalog? I’d like to dig in and see if I can solve this.

It looks like an issue with the container image thats being used, and that image not shipping with an updated version of pg_dump.

They could switch to a different container image, or just build one with the proper version of pg_dump installed.

Refer to the Apps Documentation section.

Is that supposed to be useful ?

It does answer @CubedRoot’s question about the upstream. Their issue tracker has [Bug]: Modular Mode Postgres Checl · Issue #1045 · Dispatcharr/Dispatcharr · GitHub, which might be related, though it quotes a different error message.

It did help a bit. There are some twist ties on the Truenas web page that drop down and give more information, but I am still trying to figure out if this is an issue with the actual Dispatcharr project, or how its being packaged in a container.

I’ll open an issue in the Dispatcharr upstream with this error to see if its something in the build there, or if its something more downstream and how its running on Truenas.

Heres the Github Issue I created on this:

So, quick update.
It seems that the author that submitted dispatcharr to the truenas github repo jumped the gun and rolled it with postgresql 18. Unfortunately the actual upstream isn’t ready to move from 17 to 18. Although 18 is backwards compatiable and will work, things like pg_dump will have issues.

So, the fix for now, is to reinstall the app from the catalog, and select Postrgresql 17 as your database. Luckily I didn’t have any settings or things saved, so it was easy. But, if you have already started using 18 you can wait until the upstream moves from 17 to 18 or do a manual dump and migrate down to 17.

See this issue on Truenas repo for this app: