Right here's what I've tried to do:
1. Uploaded version 8 to server
2. Made a backup of all Roundcube-7 folders (named 'roundcube') and SQL db.
3. # apt-get remove roundcube
4. Attempted to run (from Roundcube8 folder) ./bin/installto.sh /path/to/Roundcube
At this point I had an error about a requirement, suhosin.session.encrypt, incorrect5. Checked symlinked .ht* file to make sure suhosin.session.encrypt was
disabled as required
Couldn't work out why it was complaining so attempted 'MANUAL UPGRADE'6. Replaced index.php and all files in
- ./bin/
- ./SQL/
- ./program/
7. rsync the contents of the following folders from your installation
directory into the target folder:
./skins/
./plugins/
At this point the Roundcube 7 folders have now been overwritten as Roundcube 8 folders8. Attempted to run ./bin/update.sh from the commandline but it failed again with suhosin.session.encrypt requirement.
- I checked it was disabled as required, it was.
- Tried replacing .ht* with roundcube 8 .ht* file. Didn't fix issue, so I put roundcube7 version back (as it was not a request of the documentation to replace the .ht* file with a new version)9. Moved over the ./install folder from roundcube8 folder to normal roundcube folder so i could
'open http://url-to-roundcube/installer/ in a browser and choose "3 Test config".' as stated as an alternate method of installation.
10. Updated config files with updated tags such as 'imap_folders' as instructed.
I didn't have the option for 'Test Config' so went through the install procedure and was informed DSN (write): NOT OK(MDB2 Error: not found)11. Checked config files. Config files remained unedited in this respect from roundcube7.
E.G.
db.inc.php file$rcmail_config = array();
/* Do not set db_dsnw here, use dpkg-reconfigure roundcube-core to configure database ! */
include_once("/etc/roundcube/debian-db.php");
switch ($dbtype) {
case "sqlite":
$rcmail_config['db_dsnw'] = "sqlite:///$basepath/$dbname?mode=0640";
break;
default:
if ($dbport != '') $dbport=":$dbport";
if ($dbserver == '') $dbserver="localhost";
$rcmail_config['db_dsnw'] = "$dbtype://$dbuser:$dbpass@$dbserver$dbport/$dbname";
break;
}
and
debian-db.php<?php
##
## database access settings in php format
## automatically generated from /etc/dbconfig-common/roundcube.conf
## by /usr/sbin/dbconfig-generate-include
## Tue, 24 Apr 2012 11:19:09 +0100
##
## by default this file is managed via ucf, so you shouldn't have to
## worry about manual changes being silently discarded. *however*,
## you'll probably also want to edit the configuration file mentioned
## above too.
##
$dbuser='roundcube';
$dbpass='[b]Correct passwd but REMOVED for this post[/b]';
$basepath='';
$dbname='roundcube';
$dbserver='';
$dbport='';
$dbtype='mysql';
I really like the structure of the folders as they are and I've made so everything is updated properly and the symlinks are correct.
I even ran dpkg-reconfigure roundcube-core in an attempt to get it working that way but no joy, first without reinstalling db, 2nd trying to reinstall it and overwrite it.
dpkg-reconfigure roundcube-core
dbconfig-common: writing config to /etc/dbconfig-common/roundcube.conf
Replacing config file /etc/roundcube/debian-db.php with new version
granting access to database roundcube for roundcube@localhost: already exists.
creating database roundcube: already exists.
populating database via sql... error encountered populating database:
mysql said: ERROR 1050 (42S01) at line 8: Table 'session' already exists
dbconfig-common: roundcube configure: aborted.
dbconfig-common: flushing administrative password
^ So I aborted and no changes made.
Any ideas?