Rouncube error after ISPConfig auto saves
- Ubuntu 16.04 LTS
- nginx: Installed: 1.10.0-0ubuntu0.16.04.4
- roundcube: Installed: 1.2~beta+dfsg.1-0ubuntu1
- postfix: Installed: 3.1.0-3
- PHP 7.0
I notice that roundcube drops down with that message error after I check the System - Server config and Auto Saves.
"CONFIGURATION ERROR config.inc.php was not found. Please read the INSTALL instructions!"*
So, this is about ISPConfig 3.1 System configuration, but still not found what detail is it, because hapens without I change anything.
My idea is that somehow ISPConfig saves something that override the proper configuration and brakes the roundcube access.
I check the database access config, username, password == all fine.
I check config.inc.php == all fine.
It is bugging me how this happens, but the ISPconfig have some influence that break the Roundcube access.
- After ISPConfig "datalog_status_u_server:2" finish, the roundcube error window pop up.
How I'm certain? Because I installed fresh the ISPconfig, 3 times only to test the theory and always the same. Roundcube works fine till I access the System Config Panel.
Port 80 is for website
Port 8080 is for ISPConfig
Port 8081 is for phpMyAdmin and Roundcube.
phpMyadmin always work fine, problem is Roundcube.
2017/04/16 19:30:58 [error] 8389#0: *312 FastCGI sent in stderr: "PHP message: PHP Warning: Error writing to log file /var/log/roundcube/errors; Please check permissions in /usr/share/roundcube/program/lib/Roundcube/rcube.php on line 1339
PHP message: PHP Warning: SQLSTATE  Access denied for user 'roundcube'@'localhost' (using password: NO) in /usr/share/roundcube/program/lib/Roundcube/rcube.php on line 1441
PHP message: PHP Warning: Error writing to log file /var/log/roundcube/errors; Please check permissions in /usr/share/roundcube/program/lib/Roundcube/rcube.php on line 1339
PHP message: PHP Warning: config.inc.php was not found. in /usr/share/roundcube/program/lib/Roundcube/rcube.php on line 1441" while reading response header from upstream, client: xxx.xxx.xxx.xxx, server: _, request: "GET /squirrelmail/ HTTP/1.1", upstream: "fastcgi://unix:/var/lib/php7.0-fpm/apps.sock:", host: "xxx.xxx.xxx.xxx:8081"
ISPCONFIG ROUNDCUBE ERROR:
In Roundcube out of the box permission on some files & dirs depends on user is apache running as - www-data.
In nginx the apps.vhost running as ispapps user. After ISPConfig installation the permissions do not change.
Try to use:
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
Status changed to closedToggle commit list
reopenedToggle commit list