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 8536865
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T10:45:56+00:00 2026-06-11T10:45:56+00:00

I review the Cloud Foundry project and try to install it on a server

  • 0

I review the Cloud Foundry project and try to install it on a server

I will use Couchdb as a database service.

My principal question is : How use CouchDB in Cloud Foundry?

I install a CF instance with : vcap_dev_setup -c devbox_all.yml -D mydomain.com

The devbox.yml contains :

$  install : 
      - all.

In this install the couchdb_node and the couchdb_gateway is present by default.
But it seems to be bug in general.
When I delete a app and I have this error for example :

$ vmc delete notes2   
  Provisioned service [mongodb-d216a] detected, would you like to delete it? [yN]: y  
  Provisioned service [redis-8fcdc] detected, would you like to delete it? [yN]: y   
  Deleting application [notes2]: OK   
  Deleting service [mongodb-d216a]: Error 503: Unexpected response from service gateway 

So I tried to install a CF instance with this config.
(A standard single-node with redis, couch and mongo)

conf.yml :

$ jobs:
  install:
     - nats_server
    - router
    - stager
    - ccdb
    - cloud_controller:
        builtin_services:
         - redis
         - mongodb
         - couchdb
    - health_manager
    - dea
    - uaa
    - uaadb
    - redis_node:
        index: "0"
    - couchdb_node:
        index: "0"
    - mongodb_node:
        index: "0"
    - coudb_gateway
    - redis_gateway
    - mongodb_gateway

First, this config doesn’t work, because the option ‘couchdb’ is not a valable keyword (In the part built-in services)

So, what I do wrong?
Is in the way to integrate couch and it’s not finished last week ?

To continue, I success to install the CF instance without the couchdb built-in services option but with a couchdb_node, and a couchdb_gateway. And they start.
I suppose the service is runnable.

But i can’t use ‘couchdb’ in my app manifest.yml or choose this service to bind on.
(It’s seems normal because it’s not install as a service)

So, It seems to be close to work, but it’s not.

I resquest Ideas, Advice on this subject here because I didn’t find people talking about around the web.

Thank’s to read me.
Lucas

  • 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-06-11T10:45:57+00:00Added an answer on June 11, 2026 at 10:45 am

    I decided to try this myself and it appears to work OK. I created a new VCAP instance with vcap_dev_setup and the following configuration ..

    ---
    deployment:
      name: "cloudfoundry"
    jobs:
      install:
        - nats_server
        - cloud_controller:
            builtin_services:
              - mysql
              - postgresql
              - couchdb
        - stager
        - router
        - health_manager
        - uaa
        - uaadb
        - ccdb
        - dea
        - couchdb_gateway
        - couchdb_node:
            index: "0"
        - postgresql_gateway
        - postgresql_node:
            index: "0"
        - mysql_gateway
        - mysql_node:
            index: "0"
    

    I was able to bind instances of CouchDB to a node app and read the service info from VCAP_SERVICES, as below;

    '{"couchdb-1.2":[{"name":"couchdb-c7eb","label":"couchdb-1.2","plan":"free","tags":["key-value","cache","couchdb-1.2","couchdb"],"credentials":{"hostname":"127.0.0.1","host":"127.0.0.1","port":5984,"username":"7f3c0567-89cc-4240-b249-40d1f4586035","password":"8fef9e88-3df2-46a8-a22c-db02b2917251","name":"dde98c69f-01e9-4e97-b0d6-43bed946da95"}}]}'
    

    I was also able to tunnel the service to a local port and connect to it which you can see in this image

    CouchDB tunnel

    What version of Ubuntu have you used to install VCAP?

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

Sidebar

Related Questions

Please review my code. For every my Entity i've created a service class, where
We have cloud-hosted (RackSpace cloud) Ruby and Java apps that will interact as follows:
A review of SO doesn't categorically answer this question. It could be implied, but
I'm building a review site that will allow users to submit reviews which will
Upon pre-submission review, I realize this question might be incredibly silly. if (this.gameOver(gpos) >
The code review tool I use complains with the below when I start comparing
When performing a code review my approach is to use meld to view the
To review regular expresions I read this tutorial . Anyways that tutorial mentions that
Product review page doesn't show product reviews + review form. It is only happening
I review docs but I am lost... some problem with it: {% load i18n

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.