- Open a terminal and do killall beam.smp and then killall beam (do this as your user, not as root or using sudo). I got 'no process found' errors in both cases but this will make sure all CouchDB Desktop processes have been killed.
- Again in a terminal, do rm ~/.config/desktop-couch/desktop-couch.ini
- Still in your trusty terminal, do dbus-send --session --dest=org.desktopcouch.CouchDB --print-reply --type=method_call / org.desktopcouch.CouchDB.getPort
This will restart CouchDB and tell you what port it's running on.
- Open the couchdb.html file referenced above and you should be redirected to Futon
Sunday, April 17, 2011
Accessing and Restarting Desktop CouchDB on Ubuntu/Mint
Recent versions of Ubuntu (and Ubuntu-based distros like LinuxMint) ship with Desktop CouchDB to interact with Ubuntu One and store things like replicated bookmarks in Firefox, contacts in Evolution, and some other data. If you want to access Futon (CouchDB's web-based admin tool) for this instance of CouchDB you need to do a bit of hunting, but I found this page on freedesktop.org that was very helpful, and I thought I'd document here as well in case I forget this information in the future (which I'm sure I will!). Accessing FutonOpen a terminal and navigate to ~/.local/share/desktop-couch and open couchdb.html in a browser (e.g. firefox couchdb.html), or navigate to file:///.local/share/desktop-couch/couchdb.html in your browser. This takes you to a page that will redirect you to Futon after a few seconds, at which point you can see which port CouchDB is running on and what the admin user name is. If CouchDB Desktop Isn't RunningIn my case CouchDB Desktop wasn't running for some reason so I had to follow these steps to get it going again: