V
V
VA2016-12-21 18:46:56
Mail server
VA, 2016-12-21 18:46:56

Problem with RoundCube (Dovecot, Postfix, Nginx, Php-fpm)?

Hi all!
There was a problem with RoundCube after updating PHP from 5.3 to 5.5
First there was an error AUTHENTICATE PLAIN: Authentication failed
Downloaded the latest version of RoundCube, reinstalled
And at first everything was fine, the letters left
Then the IMAP error appeared: Empty password
Refreshed the page, and in general everything disappeared, after restarting php-fpm, the same thing, it works a little and again errors

$config['default_host'] = 'tls://localhost';
$config['smtp_port'] = 465;
$config['support_url'] = '';
$config['plugins'] = array();
$config['spellcheck_engine'] = 'pspell';
$config['imap_auth_type'] = 'PLAIN';

log in /roundcube/logs/error
spoiler
[21-Dec-2016 17:22:41 +0300]: <9i2vd9hs> IMAP Error: Login failed for [email protected] from 141.10.333.110. Authentication failed. in /var/www/roundcube/program/lib/Roundcube/rcube_imap.php on line 193 (POST /?_task=login&_action=login)
[21-Dec-2016 17:22:41 +0300]: <9i2vd9hs> DB Error: [1054] Unknown column 'failed_login' in 'field list' (SQL Query: UPDATE `users` SET `failed_login` = '2016-12-21 17:22:41', `failed_login_counter` = 1 WHERE `user_id` = '1') in /var/www/roundcube/program/lib/Roundcube/rcube_db.php on line 539 (POST /?_task=login&_action=login)
[21-Dec-2016 17:24:44 +0300]: <33pd4pom> IMAP Error: Login failed for [email protected] from 141.10.333.110. Authentication failed. in /var/www/roundcube/program/lib/Roundcube/rcube_imap.php on line 193 (POST /?_task=login&_action=login)
[21-Dec-2016 17:26:09 +0300]: <9vu5bqkc> IMAP Error: Login failed for [email protected] from 141.10.333.110. Authentication failed. in /var/www/roundcube/program/lib/Roundcube/rcube_imap.php on line 193 (POST /?_task=login&_action=login)
[21-Dec-2016 17:26:19 +0300]: <9vu5bqkc> IMAP Error: Login failed for [email protected] from 141.10.333.110. Authentication failed. in /var/www/roundcube/program/lib/Roundcube/rcube_imap.php on line 193 (POST /?_task=login&_action=login)
[21-Dec-2016 17:26:39 +0300]: <9vu5bqkc> IMAP Error: Login failed for [email protected] from 141.10.333.110. Authentication failed. in /var/www/roundcube/program/lib/Roundcube/rcube_imap.php on line 193 (POST /?_task=login&_action=login)
[21-Dec-2016 18:00:21 +0300]: <390g3con> IMAP Error: Could not save message in Sent in /var/www/roundcube/program/steps/mail/sendmail.inc on line 648 (POST /?_task=mail&_unlock=loading1482329096305&_lang=en&_framed=1&_action=send)


And on the main page with the RoundCube authorization form, scripts appeared under the form:
spoiler

<code>
jQuery.extend(jQuery.ui.dialog.prototype.options.position, { using: function(pos) { var me = jQuery(this), offset = me.css(pos).offset(), topOffset = offset.top - 12; if (topOffset < 0) me.css('top', pos.top - topOffset); if (offset.left + me.outerWidth() + 12 > jQuery(window).width()) me.css('left', pos.left - 12); } }); $(document).ready(function(){ rcmail.init(); var images = ["skins\/larry\/images\/ajaxloader.gif","skins\/larry\/images\/ajaxloader_dark.gif","skins\/larry\/images\/buttons.png","skins\/larry\/images\/addcontact.png","skins\/larry\/images\/filetypes.png","skins\/larry\/images\/listicons.png","skins\/larry\/images\/messages.png","skins\/larry\/images\/messages_dark.png","skins\/larry\/images\/quota.png","skins\/larry\/images\/selector.png","skins\/larry\/images\/splitter.png","skins\/larry\/images\/watermark.jpg"]; for (var i=0; i tomline" role="contentinfo"> Roundcube Webmail

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
VA, 2016-12-21
@Ozymandis

Enabled debug level 4
Here are the errors:

Warning: openssl_decrypt(): IV passed is 11 bytes long which is longer than the 8 expected by selected cipher, truncating in /var/www/roundcube/program/lib/Roundcube/rcube.php on line 874 
Warning: openssl_decrypt(): IV passed is 11 bytes long which is longer than the 8 expected by selected cipher, truncating in /var/www/roundcube/program/lib/Roundcube/rcube.php on line 874

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question