gpt4 book ai didi

ubuntu - ubuntu 升级后的 Couchdb 非法数据库名称

转载 作者:行者123 更新时间:2023-12-04 18:41:53 24 4
gpt4 key购买 nike

最近我将我的 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.

如何恢复我的数据库?

添加:

当我在文件系统中复制数据库时,出现以下错误:
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]}

最佳答案

您可以尝试重命名数据库文件。在 Ubuntu 上,它们存储在/var/lib/couchdb/路径下。

关于ubuntu - ubuntu 升级后的 Couchdb 非法数据库名称,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19892812/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com