I had been experiencing some Ubuntu One syncing issues that were originating with the local CouchDB. The database has no important information in it, but seems to be persisting across apt-get purges. What can I do to reset CouchDB and DesktopCouch to the initial install state?

For whomever is wondering, the current issues I am experiencing is: Value could not be retrieved. (Unauthorized: ('unauthorized','Authentication required.')) in the Services tab of the ubuntuone-control-panel. desktopcouch-service fails to start because it is receiving a 401 error from couchdb.

  • He probably means he also deleted the .ini files in /etc/couchdb – fishears Nov 1 '11 at 15:30

You can

rm -r ~/.config/desktop-couch/
rm -r ~/.local/share/desktop-couch/
rm -r ~/.cache/desktop-couch/

and things should start working again.

  • This does not fix the issue. The Ubuntu One app is still receiving a 401 error from the CouchDB instance, which suggests that what you gave is not sufficient to reset to a known config. (I also reinstalled all the relevant packages) – Chris Whelan May 4 '11 at 8:41
  • Deleting all of the couchdb config files, as well as the directories you suggested, got it working. – Chris Whelan May 5 '11 at 4:50
  • Which are “all of the couchdb config files” that you deleted in addition to the directories I mentioned? I'll update my answer. – Chipaca May 5 '11 at 20:27
  • @chris-whelan Any update on this? I have hit the same issue. Thanks. – Daviey May 21 '11 at 8:56

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.