.php.error.log filling with CPANELICSIMPORT: Touch file /.cpanel/icals/... (and /.cpanel/vcards/...)
Hi, one of my customer's email accounts is filling the following log file with the following 2 errors every hour or two and the log file is now +140MB and growing. How to make cPanel STFU? Customer in question did not complain about anything not working and it's been doing this for weeks so I'm looking for a fix to make it stop logging this nonsense... I think it began after upgrading to WHM 122 or 124, not sure. Now on WHM 124.0.17.
/home/CUSTOMER/logs/.php.error.log
-
Hey there! There was still a developer around I could poke about this one. I believe this is related to the removal of Horde last year and we just need to edit a configuration file to make this go away permanently. I've created case CPANEL-46144 for our team to address this as it *should* be a simple change.
For now, feel free to clear that log file to free up the space if you need to, and I'll post once that is resolved!
0 -
I did, but as you can imagine, the file got almost immediately recreated and the same 2 errors are filling it up again. I think my case could serve as a test once CPANEL-46144 fix is released. What do you reckon the ETA will be on this one? (in number of years)
0 -
You wouldn't be able to delete the file, just empty it out.
This should get fixed in a future version of 126 as it's a minor change.
For now, you can edit the configuration file in /usr/local/cpanel/base/3rdparty/roundcube/config/inc.d/ - it's likely called 99-cpanel_config.inc.php, although the number may be different on your particular server, and adjust the top "config" line to this:
$config['plugins'] = array_merge(array_diff($config['plugins'], array("cpanelicsimport", "cpanelvcfimport")));
and that will keep these logs from being created in the future.
Make a backup of that file first before adding the change just in case.
0 -
WDYM I wouldn't be able to delete the file? Yesterday evening, I did delete that file using the following command and it worked, but obviously, like I stated earlier, it was recreated shortly after and is now filling again:
rm -rf /home/CUSTOMER/logs/.php.error.log
Thanks for the other config thing, I'll wait a month and if the cPanel bug doesn't get fixed, I'll attempt the temp fix that you wrote.
0 -
Right, that's what I meant with "you can't delete the file" - it'll just get recreated again.
0 -
Ah, yes, of course.
0 -
Hello!
Today I found a 5GB error file with this.
Trying the fix.
0 -
Wow.
0 -
I had to roll back the fix, some users started reporting error 700 when trying to access webmail.
It was something similar to this, but the "Store trusted senders in" solution didn't work.
https://support.cpanel.net/hc/en-us/articles/21938572771863-Roundcube-Server-Error-Error-no-700
0
Please sign in to leave a comment.
Comments
9 comments