最近、Ubuntu を 13.04 から 13.10 にアップグレードしました。すべてうまくいきましたが、アップグレードの数日後、CouchDB インスタンスに問題が発生していることに気付きました。
アップグレード前に作成されたデータベースにはプレフィックス「1.2.0/」が付けられたため、現在は「1.2.0/_users」のように見え、CURL または Futon を使用して開くことができません。試してみると、Futonでエラーが発生しました:
Error: illegal_database_name
Name: '120/_users'. Only lowercase characters (a-z), digits (0-9), and any of the characters _, $, (, ), +, -, and / are allowed. Must begin with a letter.
データベースを復元するにはどうすればよいですか?
追加した:
DB をファイルシステムにコピーすると、次のエラーが発生しました。
Error: {{case_clause,{{badmatch,{error,eacces}},
[{couch_file,init,1,[{file,"couch_file.erl"},{line,314}]},
{gen_server,init_it,6,[{file,"gen_server.erl"},{line,304}]},
{proc_lib,init_p_do_apply,3,
[{file,"proc_lib.erl"},{line,239}]}]}},
[{couch_server,handle_info,2,[{file,"couch_server.erl"},{line,437}]},
{gen_server,handle_msg,5,[{file,"gen_server.erl"},{line,604}]},
{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,239}]}]}
{gen_server,call,
[couch_server,
{open,<<"eksploracja">>,
[{user_ctx,
{user_ctx,null,
[<<"_admin">>],
<<"{couch_httpd_auth, default_authentication_handler}">>}}]},
infinity]}