简体   繁体   English

Baasbox服务器中的RidNotFoundException

[英]RidNotFoundException in Baasbox Server

I started receiving RidNotFoundException a few days back.I can find the documents in the baasbox admin panel . 几天前,我开始收到RidNotFoundException。可以在baasbox管理面板中找到文档。 But when I search them through api it says RidNotFoundException. 但是,当我通过api搜索它们时,显示RidNotFoundException。

When I tried to take a database backup it showed error and said some records are corrupted and stopped taking backup. 当我尝试进行数据库备份时,它显示错误,并说某些记录已损坏并停止进行备份。

I am really stucked. 我真的被卡住了。 Here is the message shown: 这是显示的消息:

{"result":"error","message":"RidNotFoundException: UUID 664fa522-e1b8-4c6f-91d7-5c38e7e7a6c0 not found","resource":"/document/myapp/664fa522-e1b8-4c6f-91d7-5c38e7e7a6c0","method":"GET","request_header":{"Accept":["*/*"],"Host":["localhost:9000"],"User-Agent":["curl/7.35.0"]},"API_version":"0.9.5-snapshot","http_code":404}

I am running BaasBox-0.9.5 in a droplet with 512 MB Ram and 20 GB disk space. 我在具有512 MB Ram和20 GB磁盘空间的液滴中运行BaasBox-0.9.5。 The database folder has occupied 332 MB storage. 数据库文件夹已占用332 MB的存储空间。

What can I do ? 我能做什么 ?

I investigated baasbox log . 我调查了baasbox日志。 From their I found that it was failing to reindex the records. 从他们那里我发现它无法为记录重新编制索引。

So I connected the database with an orientdb-1.7 console. 因此,我用orientdb-1.7控制台连接了数据库。 While trying to rebuild from their I found an inconsistent record was causing it. 在尝试从他们的数据库中重建数据时,我发现不一致的记录导致了它。 It had the same id as the next record. 它具有与下一条记录相同的ID。 Probably due to some error a duplicate record was created. 可能由于某些错误而创建了重复记录。 So I deleted one of them . 所以我删除了其中之一。 Voila !!! 瞧!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM