Skip to content

Instantly share code, notes, and snippets.

@stefankoegl
Created April 26, 2014 21:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stefankoegl/11332148 to your computer and use it in GitHub Desktop.
Save stefankoegl/11332148 to your computer and use it in GitHub Desktop.
Couch 1.6.x upgrade
[Sat, 26 Apr 2014 21:56:42 GMT] [info] [<0.1117.0>] Stopping all ongoing replications because the replicator database was deleted or changed
[Sat, 26 Apr 2014 21:56:42 GMT] [error] [<0.1117.0>] ** Generic server couch_replicator_manager terminating
** Last message in was {'EXIT',<0.1119.0>,
{{badmatch,
{changes_args,"continuous",fwd,0,
1000000000000000,main_only,undefined,
infinity,[],undefined,[],true,[],false,
[]}},
[{couch_changes,handle_changes,3,
[{file,"couch_changes.erl"},{line,45}]},
{couch_replicator_manager,
'-changes_feed_loop/0-fun-1-',3,
[{file,"src/couch_replicator_manager.erl"},
{line,243}]}]}}
** When Server state == {state,<0.1119.0>,<0.1120.0>,<<"_replicator">>,[],10}
** Reason for termination ==
** {unexpected_msg,
{'EXIT',<0.1119.0>,
{{badmatch,
{changes_args,"continuous",fwd,0,1000000000000000,main_only,
undefined,infinity,[],undefined,[],true,[],false,[]}},
[{couch_changes,handle_changes,3,
[{file,"couch_changes.erl"},{line,45}]},
{couch_replicator_manager,'-changes_feed_loop/0-fun-1-',3,
[{file,"src/couch_replicator_manager.erl"},{line,243}]}]}}}
[Sat, 26 Apr 2014 21:56:42 GMT] [error] [<0.1117.0>] {error_report,<0.31.0>,
{<0.1117.0>,crash_report,
[[{initial_call,
{couch_replicator_manager,init,['Argument__1']}},
{pid,<0.1117.0>},
{registered_name,couch_replicator_manager},
{error_info,
{exit,
{unexpected_msg,
{'EXIT',<0.1119.0>,
{{badmatch,
{changes_args,"continuous",fwd,0,
1000000000000000,main_only,undefined,infinity,
[],undefined,[],true,[],false,[]}},
[{couch_changes,handle_changes,3,
[{file,"couch_changes.erl"},{line,45}]},
{couch_replicator_manager,
'-changes_feed_loop/0-fun-1-',3,
[{file,"src/couch_replicator_manager.erl"},
{line,243}]}]}}},
[{gen_server,terminate,6,
[{file,"gen_server.erl"},{line,747}]},
{proc_lib,init_p_do_apply,3,
[{file,"proc_lib.erl"},{line,227}]}]}},
{ancestors,
[couch_secondary_services,couch_server_sup,
<0.32.0>]},
{messages,[]},
{links,[<0.994.0>,<0.1120.0>]},
{dictionary,[]},
{trap_exit,true},
{status,running},
{heap_size,28657},
{stack_size,24},
{reductions,4770}],
[{neighbour,
[{pid,<0.1120.0>},
{registered_name,[]},
{initial_call,
{couch_event_sup,init,['Argument__1']}},
{current_function,{gen_server,loop,6}},
{ancestors,
[couch_replicator_manager,
couch_secondary_services,couch_server_sup,
<0.32.0>]},
{messages,[{'$gen_cast',stop}]},
{links,[<0.1117.0>,<0.989.0>]},
{dictionary,[]},
{trap_exit,false},
{status,runnable},
{heap_size,233},
{stack_size,9},
{reductions,32}]}]]}}
[Sat, 26 Apr 2014 21:56:42 GMT] [error] [<0.994.0>] {error_report,<0.31.0>,
{<0.994.0>,supervisor_report,
[{supervisor,{local,couch_secondary_services}},
{errorContext,child_terminated},
{reason,
{unexpected_msg,
{'EXIT',<0.1119.0>,
{{badmatch,
{changes_args,"continuous",fwd,0,
1000000000000000,main_only,undefined,infinity,[],
undefined,[],true,[],false,[]}},
[{couch_changes,handle_changes,3,
[{file,"couch_changes.erl"},{line,45}]},
{couch_replicator_manager,
'-changes_feed_loop/0-fun-1-',3,
[{file,"src/couch_replicator_manager.erl"},
{line,243}]}]}}}},
{offender,
[{pid,<0.1117.0>},
{name,replicator_manager},
{mfargs,{couch_replicator_manager,start_link,[]}},
{restart_type,permanent},
{shutdown,brutal_kill},
{child_type,worker}]}]}}
[Sat, 26 Apr 2014 21:56:42 GMT] [error] [emulator] Error in process <0.1129.0> with exit value: {{badmatch,{changes_args,"continuous",fwd,0,1000000000000000,main_only,undefined,infinity,[],undefined,[],true,[],false,[]}},[{couch_changes,handle_changes,3,[{file,"couch_changes.erl"},{line,45}]},{couch_replicator_manager,'-changes_feed_loop/0-fun-1-'...
[Sat, 26 Apr 2014 21:56:42 GMT] [error] [<0.1125.0>] Replication manager received unexpected message {'EXIT',
<0.1129.0>,
{{badmatch,
{changes_args,
"continuous",
fwd,
0,
1000000000000000,
main_only,
undefined,
infinity,
[],
undefined,
[],
true,
[],
false,
[]}},
[{couch_changes,
handle_changes,
3,
[{file,
"couch_changes.erl"},
{line,
45}]},
{couch_replicator_manager,
'-changes_feed_loop/0-fun-1-',
3,
[{file,
"src/couch_replicator_manager.erl"},
{line,
243}]}]}}
[Sat, 26 Apr 2014 21:56:42 GMT] [info] [<0.1127.0>] Opening index for db: mygpo_core_copy idx: _design/toplist sig: "535cbbfb9d4276917e1f2b25e0589f99"
[Sat, 26 Apr 2014 21:56:42 GMT] [info] [<0.1125.0>] Stopping all ongoing replications because the replicator database was deleted or changed
[Sat, 26 Apr 2014 21:56:42 GMT] [error] [<0.1125.0>] ** Generic server couch_replicator_manager terminating
** Last message in was {'EXIT',<0.1129.0>,
{{badmatch,
{changes_args,"continuous",fwd,0,
1000000000000000,main_only,undefined,
infinity,[],undefined,[],true,[],false,
[]}},
[{couch_changes,handle_changes,3,
[{file,"couch_changes.erl"},{line,45}]},
{couch_replicator_manager,
'-changes_feed_loop/0-fun-1-',3,
[{file,"src/couch_replicator_manager.erl"},
{line,243}]}]}}
** When Server state == {state,<0.1129.0>,<0.1130.0>,<<"_replicator">>,[],10}
** Reason for termination ==
** {unexpected_msg,
{'EXIT',<0.1129.0>,
{{badmatch,
{changes_args,"continuous",fwd,0,1000000000000000,main_only,
undefined,infinity,[],undefined,[],true,[],false,[]}},
[{couch_changes,handle_changes,3,
[{file,"couch_changes.erl"},{line,45}]},
{couch_replicator_manager,'-changes_feed_loop/0-fun-1-',3,
[{file,"src/couch_replicator_manager.erl"},{line,243}]}]}}}
[Sat, 26 Apr 2014 21:56:42 GMT] [info] [<0.1136.0>] Opening index for db: mygpo_core_copy idx: _design/tags sig: "526f358092e7c3b80b052437f90a304e"
[Sat, 26 Apr 2014 21:56:42 GMT] [error] [<0.1125.0>] {error_report,<0.31.0>,
{<0.1125.0>,crash_report,
[[{initial_call,
{couch_replicator_manager,init,['Argument__1']}},
{pid,<0.1125.0>},
{registered_name,couch_replicator_manager},
{error_info,
{exit,
{unexpected_msg,
{'EXIT',<0.1129.0>,
{{badmatch,
{changes_args,"continuous",fwd,0,
1000000000000000,main_only,undefined,infinity,
[],undefined,[],true,[],false,[]}},
[{couch_changes,handle_changes,3,
[{file,"couch_changes.erl"},{line,45}]},
{couch_replicator_manager,
'-changes_feed_loop/0-fun-1-',3,
[{file,"src/couch_replicator_manager.erl"},
{line,243}]}]}}},
[{gen_server,terminate,6,
[{file,"gen_server.erl"},{line,747}]},
{proc_lib,init_p_do_apply,3,
[{file,"proc_lib.erl"},{line,227}]}]}},
{ancestors,
[couch_secondary_services,couch_server_sup,
<0.32.0>]},
{messages,[]},
{links,[<0.994.0>,<0.1130.0>]},
{dictionary,[]},
{trap_exit,true},
{status,running},
{heap_size,28657},
{stack_size,24},
{reductions,4770}],
[]]}}
@ndrut
Copy link

ndrut commented Jul 11, 2014

Did you ever get this fixed? I can't find anything related to it recently posted besides this gist. If I disable replication entirely in the ini, it loads without error and this is on a fresh installation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment