Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 743875
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T08:54:49+00:00 2026-05-14T08:54:49+00:00

I have a CouchDB database in production. One of the documents has been edited

  • 0

I have a CouchDB database in production. One of the documents has been edited (in Futon by an other developer).
And it’s lost it’s ID (don’t ask me how he did it).

So now the document’s id is an empty string, which makes it impossible to edit or delete via Futon.
Is there a way I could hack into CouchDB to delete that document anyway ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-14T08:54:50+00:00Added an answer on May 14, 2026 at 8:54 am

    I couldn’t delete the document. But the database itself could be deleted.
    And I couldn’t reproduce the bug in locale. The other developer says he just removed the _id param and saved. I don’t know what happened in CouchDB when he did it. But when I do so, it only recreates a new document (as we’d expect it to do).

    So I’ve been using couch_docs to retrieve the datas locally.
    As the id is empty, couch_docs doesn’t imports it. So you don’t even need to delete it manually.

    Then I reimport all the records in an other database. I change the references to the database name in my config and everything works fine.
    Destroying the database is not a problem even though there’s an empty id.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a CouchDB database with documents representing 100,000 events. Each event has, among
I have a couchdb database containing different types of documents. Unfortunately some of those
Given that I have some number of documents in my CouchDB database, I would
I have one couchdb database and I am querying it in parallel. Now, I
I have some couchDB database. and i want, as in mongodb , find one
I have create CouchDB database with documents that have slash (/) in the document
I have a python program that accesses a couchDB database, creates new documents and
i have a database in couchdb which contain 4 documents... here the sample and
Lets say I have two types of documents stored in my CouchDB database. First
I have the following document in a couchdb database: { _id: 000013a7-4df6-403b-952c-ed767b61554a, _rev: 1-54dc1794443105e9d16ba71531dd2850,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.