I uncommented these lines in /etc/nginx/sites-available/ispconfig.vhost and reloaded nginx: Code: location /squirrelmail { root /usr/share/; index index.php index.html index.htm; location ~ ^/squirrelmail/(.+\.php)$ { try_files $uri =404; root /usr/share/; include /etc/nginx/fastcgi_params; fastcgi_pass unix:/var/lib/php7.0-fpm/ispconfig.sock; fastcgi_param HTTPS on; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME $request_filename; } location ~* ^/squirrelmail/(.+\.(jpg|jpeg|gif|css|png|js|ico|html|xml|txt))$ { root /usr/share/; } } location /webmail { rewrite ^/* /squirrelmail last; } the error logs show: Code: PHP message: PHP Warning: include_once(): Failed opening '/etc/roundcube/debian-db.php' for inclusion (include_path='/var/lib/roundcube/program/lib:.:/usr/share/php:/usr/share/roundcube/program/lib') in /etc/roundcube/debian-db-roundcube.php on line 2 PHP message: PHP Warning: file_put_contents(/var/log/roundcube/errors): failed to open stream: Permission denied in /usr/share/roundcube/program/lib/Roundcube/rcube.php on line 1242 PHP message: PHP Warning: Configuration error. Unsupported database driver: in /usr/share/roundcube/program/lib/Roundcube/rcube.php on line 1347" while reading response header from upstream, client: xx.xx.xx.99, server: _, request: "GET /squirrelmail/ HTTP/1.1", upstream: "fastcgi://unix:/var/lib/php7.0-fpm/ispconfig.sock:", host: "cp.xxxx.com:8080" 2019/12/14 11:56:29 [error] 22878#22878: *41 FastCGI sent in stderr: "PHP message: PHP Warning: include_once(/etc/roundcube/debian-db.php): failed to open stream: Permission denied in /etc/roundcube/debian-db-roundcube.php on line 2 PHP message: PHP Warning: include_once(): Failed opening '/etc/roundcube/debian-db.php' for inclusion (include_path='/var/lib/roundcube/program/lib:.:/usr/share/php:/usr/share/roundcube/program/lib') in /etc/roundcube/debian-db-roundcube.php on line 2 PHP message: PHP Warning: file_put_contents(/var/log/roundcube/errors): failed to open stream: Permission denied in /usr/share/roundcube/program/lib/Roundcube/rcube.php on line 1242 PHP message: PHP Warning: Configuration error. Unsupported database driver: in /usr/share/roundcube/program/lib/Roundcube/rcube.php on line 1347" while reading response header from upstream, client: xx.xx.xx.99, server: _, request: "GET /squirrelmail/ HTTP/1.1", upstream: "fastcgi://unix:/var/lib/php7.0-fpm/ispconfig.sock:", host: "cp.xx.com:8080"
I can connect to my DB with the credentials in /etc/roundcube/debian-db.php without a problem, so I know the access works.. maybe the config format changed during the upgrade or something like that.
I found these in the debian 10 guide and now I have: Code: CONFIGURATION ERROR config.inc.php was not found. Please read the INSTALL instructions! WE are making progress. Code: chown root:ispapps /etc/roundcube/debian-db.php chmod 640 /etc/roundcube/debian-db.php chown root:ispapps /etc/roundcube/config.inc.php chmod 640 /etc/roundcube/config.inc.php chown -R ispapps:adm /var/log/roundcube chmod -R 750 /var/log/roundcube chown -R ispapps:ispapps /var/lib/roundcube/temp chmod -R 750 /var/lib/roundcube/temp
chmod 777 /etc/roundcube/config.inc.php and chmod 777 /etc/roundcube/debian-db.php seemed to fix the problem.