• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Resolved Individual subscription - Roundcube Webmail 500 Internal Server Error

seqoi

Regular Pleskian
Little bit of an issue here. I have 5 subscriptions on my Plesk Onyx server.

Webmail works on all of them - only one particular user is getting this error and can not login to his email

webmail.domainname.something is currently unable to handle this request.

HTTP ERROR 500


I am trying to identify problem with no avail. Server restarted, all seem to be fine - other people on same type of subscription are fine they use webmail (roundcube) just fine. Only this one particular user is having problem.

var/log/plesk-roundcube/error

Code:
[23-Mar-2017 08:20:45 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 103
[23-Mar-2017 08:20:45 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
[23-Mar-2017 08:21:02 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 103
[23-Mar-2017 08:21:02 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
[23-Mar-2017 08:21:04 UTC] PHP Warning:  date(): 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_utils.php on line 1256
[23-Mar-2017 08:21:04 +0000]: <uscer563> IMAP Error: Login failed for [email protected] from 176.xx.xxx.xxx.(X-Real-IP: 176.xx.xx.xxx.). Authentication failed. in /usr/share/psa-roundcube/program/lib/Roundcube/rcube_imap.php on line 193 (POST /?_task=login&_action=login)
[23-Mar-2017 08:21:04 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:491
Stack trace:
#0 /usr/share/psa-roundcube/program/lib/Roundcube/rcube_user.php(491): DateTime->__construct('now')
#1 /usr/share/psa-roundcube/program/include/rcmail.php(619): rcube_user->failed_login()
#2 /usr/share/psa-roundcube/index.php(118): rcmail->login('[email protected]...', '%432GerWsxc', 'localhost', true)
#3 {main}
  thrown in /usr/share/psa-roundcube/program/lib/Roundcube/rcube_user.php on line 491

Any clue? Before someone ask - yes i double checked and password i am entering on login is correct one.

I mean it is only this one particular user. Everything else is working, all other subscriptions works...
 
Update - under same subscription i just created new "test" account and this account can log in perfectly. Everything is working. That being said - what could happen with previous account? User used it for 60 days normally. Is there a way to rebuild account which have issues?
 
Hi seqoi,

pls. consider to put YOUR unique timezone at "/etc/psa-webmail/roundcube/php.ini".

Example:
Code:
date.timezone = Europe/Berlin



Further informations:
The timezone - settings for the custom php.ini for webmail is taken from your unique additional PHP - settings ( service plans, subscriptions, domains ). Pls. consider to insert the correct timezone and search as well for missing or commented out settings.

Examples to search for current settings in php.ini 's:
Code:
find /etc/php -type f -name "php.ini" -exec grep --color -Hni "date.timezone"  {} \;

find /etc/php5 -type f -name "php.ini" -exec grep --color -Hni "date.timezone"  {} \;

find /opt/plesk/php -type f -name "php.ini" -exec grep --color -Hni "date.timezone"  {} \;

find /etc/psa-webmail -type f -name "php.ini" -exec grep --color -Hni "date.timezone"  {} \;

find //var/www/vhosts -type f -name "php.ini" -exec grep --color -Hni "date.timezone"  {} \;
 
Last edited by a moderator:
Hi! Just wanted to report here. Customer was providing me (after all) wrong mail password. He (it was she actually) changed it but forgot to mention me that password is changed. Only when i mentioned that i might have Authorization problem she recalled it.

So log files where authentic and i just lost 2 hours for nothing more nothing less then wrong password - LOL :)

UHFF01 thanks for your timezone tip - you are great as usual :)
 
Back
Top