• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Issue no login into roundcube after update plesk 12.5 to 17

ESTUGO

Basic Pleskian
Hi there,

after upgrade from plesk 12.5 to 17, customer can not login into roundcube. I see the follow errors in the log:
/var/log/plesk-roundcube/errors


[16-Jan-2017 09:37:28 UTC] PHP Warning: strtotime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /usr/share/psa-roundcube/program/lib/Roundcube/rcube_session_db.php on line 104

[16-Jan-2017 09:37:28 UTC] PHP Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone.' in /usr/share/psa-roundcube/program/lib/Roundcube/rcube_user.php:523
Stack trace:
#0 /usr/share/psa-roundcube/program/lib/Roundcube/rcube_user.php(523): DateTime->__construct('2016-12-13 16:5...')
#1 /usr/share/psa-roundcube/program/include/rcmail.php(608): rcube_user->is_locked()
#2 /usr/share/psa-roundcube/index.php(118): rcmail->login('info@###-#####...', '#####', 'localhost', true)
#3 {main}
thrown in /usr/share/psa-roundcube/program/lib/Roundcube/rcube_user.php on line 523

After i set "date.timezone = Europe/Berlin" in "/etc/psa-webmail/roundcube/php.ini", the login works.

I think roundcube want to the entry "date.timezone"! The automatically entry "UTC" does not work.
 
Last edited:
I think that specific PHP warning came into play with an update of PHP. In earlier PHP versions it was not logged at all. Maybe when upgrading to Onyx you have also upgraded OS vendor PHP to a newer version? Anyway, good that you already fixed this.
 
Back
Top