I'm upgrading from 0.31 to 0.4 beta. I followed the instructions in the UPGRADING file. I copied over all files specified. I ran the upgrade.sh file. It complained:
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20060613+lfs/imap.so' - /usr/lib/php5/20060613+lfs/imap.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20060613+lfs/ldap.so' - /usr/lib/php5/20060613+lfs/ldap.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20060613+lfs/mcrypt.so' - /usr/lib/php5/20060613+lfs/mcrypt.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20060613+lfs/mhash.so' - /usr/lib/php5/20060613+lfs/mhash.so: cannot open shared object file: No such file or directory in Unknown on line 0
and about the database:
WARNING: Database schema needs to be updated!
Open /etc/roundcube/SQL/mysql.update.sql and execute all queries that are superscribed with the currently installed version number
I copied out the required line from the mysql.upgrade.sql file and ran these into the database, without errors. I ran the upgrade script again and it complained exactly as before.
I tried to login but my password now no longer worked. I replaced .htaccess and checked file permissions. Password still not accepted.
I edited the main.inc.php file to enable the installer. Now when I navigate to the installer URL I get:
Warning: Cannot modify header information - headers already sent by (output started at /etc/roundcube/config/db.inc.php:68) in /etc/roundcube/installer/index.php on line
I searched for this and removed the two blank lines at the end of the file. Still can't log in