Fresh install RoundCube not working

After trying to open https://webmail.domain.tld i got this:
Screenshot_20240318_182410

/var/log/roundcube have only one file session.log

/var/log/nginx/domains/webmail.domain.tld.error.log have only this warnings:
[error] 2087502#2087502: *806076 FastCGI sent in stderr: “PHP message: PHP Warning: Undefined array key “temp_dir” in /var/lib/roundcube/program/lib/Roundcube/rcube_config.php on line 233; PHP message: PHP Warning: Undefined array key “temp_dir” in /var/lib/roundcube/program/lib/Roundcube/rcube_config.php on line 233; PHP message: PHP Warning: Undefined array key “drafts_mbox” in /var/lib/roundcube/program/lib/Roundcube/rcube_config.php on line 243; PHP message: PHP Warning: Undefined array key “junk_mbox” in /var/lib/roundcube/program/lib/Roundcube/rcube_config.php on line 243; PHP message: PHP Warning: Undefined array key “sent_mbox” in /var/lib/roundcube/program/lib/Roundcube/rcube_config.php on line 243; PHP message: PHP Warning: Undefined array key “trash_mbox” in /var/lib/roundcube/program/lib/Roundcube/rcube_config.php on line 243; PHP message: PHP Warning: Undefined array key “log_driver” in /var/lib/roundcube/program/lib/Roundcube/rcube_config.php on line 247” while reading response header from upstream, client: xxx.xxx.xxx.xxx, server: webmail.domain.tld, request: “GET / HTTP/2.0”, upstream: “fastcgi://127.0.0.1:9000”, host: “webmail.domain.tld”

I used nginx + php8.3-fpm
exim and dovecot works nice!
How i can fix that?

chown -R hestiamail:www-data /etc/roundcube/
find /etc/roundcube/ -type f -iname "*php" -exec chmod 640 {} \;
chown -R hestiamail:www-data /var/lib/roundcube/
chown -R hestiamail:www-data /var/log/roundcube/
2 Likes

WOW!!! Thank you so much!
Why it was wrong owner on this folders?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.