I upgraded to RC 0.5.2 but when I ran the update.sh it backs up the two files main.inc.php and db.inc.php ok, but replaced them with almost empty copies!
This is the directory listing
drwxr-xr-x 2 www-data www-data 4096 May 25 09:17 .
drwxr-xr-x 11 www-data www-data 4096 May 19 09:52 ..
-rw-r--r-- 1 www-data www-data 31 Sep 25 2005 .htaccess
-rw-r--r-- 1 www-data www-data 2347 May 25 09:13 db.old.php
-rw-r--r-- 1 www-data www-data 50 May 25 09:13 db.inc.php
-rw-r--r-- 1 www-data www-data 18732 May 25 09:13 main.old.php
-rw-r--r-- 1 www-data www-data 50 May 25 09:13 main.inc.php
-rw-r--r-- 1 www-data www-data 2392 Aug 8 2009 mimetypes.php
The new files, appear to no longer be ASCII files as when I try to open them in VI, I get an error.
Obviously RC fails with a message about being unable to find main.inc.php after running this script.
I need to run this script in order to fix the following error in the RC error log:
DB Error: MDB2 Error: no such field Query: _doQuery: [Error message: Could not execute statement] [Last executed query: INSERT INTO identities (changed, `name`, `organization`, `reply-to`, `bcc`, `standard`, `signature`, `html_signature`, `email`, user_id) VALUES (now(), 'John Smith', 'Example Company', '', '', '1', '', 0, 'john@example.com', '235')] [Native code: 1054] [Native message: Unknown column 'changed' in 'field list'] in /var/www/roundcube/roundcubemail-0.5.2/program/include/rcube_mdb2.php on line 642 (POST /?_task=settings&_action=save-identity)
I believe some of the database table structure might have changed and need a fix. Actually I upgraded some days ago and although the update script created the corrupted files, I just restored my originals and thought it was all ok but it seems not as I just noticed the errors today.
Note that I selected [0.5.1] for the thread prefix, as an entry for 0.5.2 does not yet seem to have been created. This is concerning my upgrade from RC 0.5.0 to 0.5.2.
Regards,
Peter