FS#26903 - couchdb 1.1.1 fails to load existing databases

Attached to Project: Community Packages
Opened by Sebastian (mit_service) - Tuesday, 15 November 2011, 14:46 GMT
Last edited by Andrea Scarpino (BaSh) - Tuesday, 15 November 2011, 14:48 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To No-one
Architecture All
Severity Critical
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
After the update to couchdb 1.1.1 the server does not run correctly when previous data is present. As the upgrade to 1.1.1 was in fact a downgrade from an unstable svn revision the couchdb process can not handle the migration of existing database files to a usable format. It produces an error in the log files and fails to serve any data. This breaks all couchdb applications with existing data!
The only fix I could find is to delete everything in /var/lib/couchdb/ and loose all existing data in the process.

The error message in the log is (excerpt):
Tue, 15 Nov 2011 13:11:53 GMT] [error] [<0.99.0>] {error_report,<0.30.0>,
{<0.99.0>,crash_report,
[[{initial_call,{couch_file,init,['Argument__1']}},
{pid,<0.99.0>},
{registered_name,[]},
{error_info,
{exit,
{bad_return_value,
{database_disk_version_error,
"Incorrect disk header version"}},
[{gen_server,terminate,6},
{proc_lib,init_p_do_apply,3}]}},
{ancestors,[<0.98.0>]},
{messages,[]},
{links,[]},
{dictionary,[]},
{trap_exit,true},
{status,running},
{heap_size,610},
{stack_size,24},
{reductions,1205}],
[]]}}


Additional info:
* package version(s): 1.1.1 x86 and x86_64
* config and/or log files etc.


Steps to reproduce:
-have existing data
-upgrade to couchdb 1.1.1
-restart couchdb
-try to access data
This task depends upon

Closed by  Andrea Scarpino (BaSh)
Tuesday, 15 November 2011, 14:48 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#26902 

Loading...