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)
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.
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.