Roundcube install failing out of the box

This has got to be simple but I’m just missing something.
Truenas 25.04.2.3
Roundcube app Version: v1.3.9

I specified host paths for the 4 volumes. The vols were owned by apps:apps when I installed. The db volume I select automatic permissions.

When I go to webui

Oops… something went wrong!

An internal error has occurred. Your request cannot be processed at this time.
For administrators: Please check the application and/or server error logs for more information

Roundcube logs:
Application Name:roundcubeContainer ID:bc…ee
2025-09-19 19:07:20.561114+00:00roundcubemail not found in /var/www/html - copying now…
2025-09-19 19:07:20.648949+00:00Complete! ROUNDCUBEMAIL has been successfully copied to /var/www/html
2025-09-19 19:07:20.655300+00:00wait-for-it.sh: waiting 30 seconds for postgres:5432
2025-09-19 19:07:20.657629+00:00wait-for-it.sh: postgres:5432 is available after 0 seconds
2025-09-19 19:07:20.659770+00:00Write root config to /var/www/html/config/config.inc.php
2025-09-19 19:07:20.660874+00:00Write Docker config to /var/www/html/config/config.docker.inc.php
2025-09-19 19:07:21.237257+00:00Creating database schema… [OK]
2025-09-19 19:07:21.283263+00:00AH00558: apache2: Could not reliably determine the server’s fully qualified domain name, using f…b::3. Set the ‘ServerName’ directive globally to suppress this message
2025-09-19 19:07:21.289209+00:00AH00558: apache2: Could not reliably determine the server’s fully qualified domain name, using f…b::3. Set the ‘ServerName’ directive globally to suppress this message
2025-09-19 19:07:21.305418+00:00[Fri Sep 19 19:07:21.305305 2025] [mpm_prefork:notice] [pid 1:tid 1] AH00163: Apache/2.4.65 (Debian) PHP/8.4.12 configured – resuming normal operations
2025-09-19 19:07:21.305445+00:00[Fri Sep 19 19:07:21.305317 2025] [core:notice] [pid 1:tid 1] AH00094: Command line: ‘apache2 -D FOREGROUND’
2025-09-19 19:07:22.633627+00:00127.0.0.1 - - [19/Sep/2025:19:07:22 +0000] “GET /?ping=ping HTTP/1.1” 200 1134 “-” “curl/8.14.1”
2025-09-19 19:07:29.062465+00:00192.168.x.y - - [19/Sep/2025:19:07:29 +0000] “GET / HTTP/1.1” 200 925 “-” “Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36”
2025-09-19 19:07:31.916169+00:00192.168.x.y - - [19/Sep/2025:19:07:31 +0000] “GET / HTTP/1.1” 200 924 “-” “Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36”

I could share the postgres logs if it seemed relevant but having looked at them, there are no issues reported.

Any assistance is much appreciated. Cheers!

I’m seeing this in the apache errors log when I try and browse the site:
DB Error: SQLSTATE[HY000] [2002] No such file or directory in /var/www/html/program/lib/Roundcube/rcube_db.php on line 201 (GET /)

my connect string looks something like
$config[‘db_dsnw’] = ‘pgsql://roundcube:@postgres:5432/roundcube’;

but when i try and connect from php it seems like its connecting
root@mycontainer:/var/www/html# php -r “new PDO(‘pgsql:host=postgres;port=5432;dbname=roundcube’, ‘roundcube’, ‘’); echo ‘Connected successfully’;”
Connected successfullyroot@mycontainer:/var/www/html#

i’ve about exhausted my knowledge on things to try, even the usual AI suspects are not helping much at this point. Thanks for looking.