After upgrading my 7 node couchbase cluster from 4.6.1 to 5.0.1 community edition I get this message in the browser window:
This cluster contains multiple server versions and is running in 4.5 compatibility mode.
I get these errors in the logs. Specifically a bucket called user on a specific node. I’ve tried removing nodes and adding them back into the cluster and the error moves to then to another node. Eventually coming back around to the same node again.
Unsuccessful user storage upgrade.
{error,{badmatch,{abort,{error,roles_validation,[ro_admin]}}},
[{menelaus_users,do_upgrade_to_spock,2,
[{file,“src/menelaus_users.erl”},{line,594}]},
{menelaus_users,upgrade_to_spock,2,
[{file,“src/menelaus_users.erl”},{line,547}]},
{cluster_compat_mode,do_upgrades,5,
[{file,“src/cluster_compat_mode.erl”},
{line,212}]},
{cluster_compat_mode,do_consider_switching_compat_mode,2,
[{file,“src/cluster_compat_mode.erl”},
{line,233}]},
{ns_orchestrator,consider_switching_compat_mode_dont_exit,0,
[{file,“src/ns_orchestrator.erl”},{line,1039}]},
{ns_orchestrator,consider_switching_compat_mode,0,
[{file,“src/ns_orchestrator.erl”},{line,1029}]},
{ns_orchestrator,handle_info,3,
[{file,“src/ns_orchestrator.erl”},{line,511}]},
{gen_fsm,handle_msg,7,[{file,“gen_fsm.erl”},{line,505}]}]} (repeated 8 times) hide
How do I fix this?