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 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 Futon

Open 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 Running

In my case CouchDB Desktop wasn't running for some reason so I had to follow these steps to get it going again:

  1. 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.
  2. Again in a terminal, do rm ~/.config/desktop-couch/desktop-couch.ini
  3. 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.
  4. Open the couchdb.html file referenced above and you should be redirected to Futon


carriebradshawc said...

Designer Brand introduction【Louis vuitton】1, Louis Vuitton, founded in 1854, now part of French luxury goods designed for high production Moet Hennessy Louis Vuitton Group.2,1854 years, Louis Vuitton end of the luggage in the palace of the Queen's production division's work in Paris, created the first leather shop, the main production flat trunk lid, LV brand officially founded.3,150 years, LV has been commanding the world fashion trend. In the minds of consumers set up their own firm and can not be replaced luxury empire castle.【Coach】American classic leather goods brand COACH, an image with simple, durable and unique style to win consumers. The good old word of mouth and have the COACH Handbags, was actually the original inspiration came from a softball glove, brand founder Miles Caha watch baseball games in a scene, surprised to find that the more you use the more softball gloves with smooth, The more soft features, so he tried to go back to after the special treatment of leather to make it more flexible, with easy to discoloring, wear characteristics, and simply use a damp cloth, you can maintain the perfect leather goods such as new, of course, this durable Facilitate the design, right by the majority of consumers love!【Prada】In 1913, Prada in Milan, Italy, founded the first boutique downtown, founder Mario · Prada (Mali Opp Lada) designed by fashion and high-quality handbags, luggage, leather accessories and cosmetics cases and other Products obtained from the royal family and upper class loved and sought after. Today, this boutique still favored the upper class in Italy still has a high reputation and fame, Prada value embodied in products has been regarded as extraordinary in everyday life to enjoy.【Gucci】Gucci is an Italian fashion brands, from Gucci Augustine Chi was founded in Florence in 1921. Gucci products include fashion, leather goods, shoes, watches, neckties, scarves, perfumes, household goods and pet supplies, Chinese translation Gucci, Gucci. Gucci has always been high-end fashion brands, luxury, sexy and famous, as "a symbol of status and wealth," Brand become rich consumer darling of high society, the business community has always been favored, while yet elegant fashion. Gucci is now the largest Italian Fashion Group【Omega】OMEGA is Swiss watch brands. Began in 1848, Omega in sailing, track and field, swimming and other world class events as the standard time, and often sponsored golf tournament in Europe, won the Olympic timer for thirty one much. OMEGA Watch is the first and only one to be worn on the moon watch.【OKALEY】Brand Name: Oakley , registration: United States, 1975, Oakley by Jim Jannard and co-founder of basketball star Michael Jordan. Main Products: Oakley Sunglasses, sports shoes, sportswear, watches, travel bags, leather wallets and hats cited.

arkadash said...

I would like to thank you for the efforts you have made in composing this article. I am going for the same best work from you in the future as well. In fact your fanciful writing abilities has prompted me to start my own blog now. Actually the blogging is spreading its wings rapidly. Your write up is a fine example of it. steroids for sale

markken said...

Pretty good post.I found this site very informative. workout routines Ready to hear more in the future.thank you for share.

markken said...

This takes you to a page that will redirect you to Futon after a few seconds, buy steroids at which point you can see which port CouchDB is running on and what the admin user name is