Roundcube Community Forum

Release Support => Pending Issues => Topic started by: USPS on July 12, 2013, 03:52:56 PM

Title: 0.8.6 to 0.9.2 Auto-upgrade script fail
Post by: USPS on July 12, 2013, 03:52:56 PM
I always do the auto upgrade option and it works great. This time, however, after auto upgrading from 0.8.6 to 0.9.2 the roundcucbe login page is blank (users cannot login). Going back to 0.8.6 "fixed" the issue for now. One difference in this upgrade is that I got the following prompt to update the config:

Running update script at target...
WARNING: Replaced config options:
(These config options have been replaced or renamed)
- 'top_posting' was replaced by 'reply_mode'

NOTICE: Obsolete config options:
(You still have some obsolete or inexistent properties set. This isn't a problem but should be noticed)
- 'mime_magic'

Do you want me to fix your local configuration? (y/N)
y
. backing up the current config files...
. writing /home/name/public_html/roundcube/config/main.inc.php...
. writing /home/name/public_html/roundcube/config/main.db.php...
Done.
Your configuration files are now up-to-date!
Executing database schema update.
All done.
-----------------------


My Server Info Server:
PHP Version 5.3.24
mySQL   5.1.68
Apache 2.2.24
Title: Re: 0.8.6 to 0.9.2 Auto-upgrade script fail
Post by: SKaero on July 12, 2013, 04:10:55 PM
Whats in the error log?
Title: Re: 0.8.6 to 0.9.2 Auto-upgrade script fail
Post by: USPS on July 12, 2013, 04:32:47 PM
First part shows login failed, though the login screen does not show up and the last part of log shows Fatal error, see below:

[11-Jul-2013 14:21:00 -0400]: IMAP Error: Login failed for [email protected] from 208.65.151.4. AUTHENTICATE PLAIN: Authentication failed. in /home/myname/public_html/roundcube/program/include/rcube_imap.php on line 191 (POST /rcube/?_ta$
[11-Jul-2013 14:21:14 -0400]: IMAP Error: Login failed for [email protected] from 208.65.151.4. AUTHENTICATE PLAIN: Authentication failed. in /home/myname/public_html/roundcube/program/include/rcube_imap.php on line 191 (POST /rcube/?_ta$
[11-Jul-2013 14:22:02 -0400]: IMAP Error: Login failed for [email protected] from 208.65.151.4. AUTHENTICATE PLAIN: Authentication failed. in /home/myname/public_html/roundcube/program/include/rcube_imap.php on line 191 (POST /rcube/?_ta$
[11-Jul-2013 14:22:12 -0400]: IMAP Error: Login failed for [email protected] from 208.65.151.4. AUTHENTICATE PLAIN: Authentication failed. in /home/myname/public_html/roundcube/program/include/rcube_imap.php on line 191 (POST /rcube/?_ta$
[12-Jul-2013 15:36:20 America/New_York] PHP Fatal error:  Class 'PDO' not found in /home/myname/public_html/roundcube/program/lib/Roundcube/rcube_db_mysql.php on line 134
[12-Jul-2013 15:36:22 America/New_York] PHP Fatal error:  Class 'PDO' not found in /home/myname/public_html/roundcube/program/lib/Roundcube/rcube_db_mysql.php on line 134
[12-Jul-2013 15:36:23 America/New_York] PHP Fatal error:  Class 'PDO' not found in /home/myname/public_html/roundcube/program/lib/Roundcube/rcube_db_mysql.php on line 134
Title: Re: 0.8.6 to 0.9.2 Auto-upgrade script fail
Post by: SKaero on July 12, 2013, 05:17:51 PM
RoundCube 0.9.x requires the php PDO extension and the PDO extension for your database (i.e. pdo_mysql) it appears you don't have it installed.
Title: Re: 0.8.6 to 0.9.2 Auto-upgrade script fail
Post by: USPS on July 12, 2013, 05:30:27 PM
Ah, thank you. Did not know that this was a requirement now. Probably the auto-upgrade script should be able for this to be checked/notified that this was the case before doing the upgrade.