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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T17:41:47+00:00 2026-06-13T17:41:47+00:00

when I push my code of etherpad, it said that [31m[2012-11-03 15:14:00.102] [ERROR] console

  • 0

when I push my code of etherpad, it said that

[31m[2012-11-03 15:14:00.102] [ERROR] console – [39mThere was an error process
ing your settings.json file: process is not defined

this key code is below

/*
  This file must be valid JSON. But comments are allowed

  Please edit settings.json, not settings.json.template
*/
{
  //Ip and port which etherpad should bind at
  "ip": process.env.VCAP_APP_HOST,
  "port" : process.env.VCAP_APP_POR,

  //The Type of the database. You can choose between dirty, postgres, sqlite and mysql
  //You shouldn't use "dirty" for for anything else than testing or development
  /*"dbType" : "dirty",*/
  //the database specific settings
  /*"dbSettings" : {
                   "filename" : "var/dirty.db"
                 },*/

  /* An Example of MySQL Configuration */
   "dbType" : "mysql",
   "dbSettings" : {
                    "user"    : process.env.VCAP_SERVICES["etherpadDB"][0]["credentials"]["user"], 
                    "host"    : process.env.VCAP_SERVICES["etherpadDB"][0]["host"], 
                    "password": process.env.VCAP_SERVICES["etherpadDB"][0]["password"], 
                    "database": process.env.VCAP_SERVICES["etherpadDB"][0]["name"]
                  },



}
  • 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-13T17:41:49+00:00Added an answer on June 13, 2026 at 5:41 pm

    This is surely because your file is not valid JSON. JSON does not have a value type of “process.” If you rewrite the file using the actual values rather than references, it should work.

    So instead of:

    "ip": process.env.VCAP_APP_HOST
    

    use the value of the referenced variable, as in:

    "ip": "10.0.0.1"
    

    See http://www.json.org/ for how to write JSON.

    EDIT

    Since you need to update the contents of the JSON config file from variables that Cloud Foundry keeps in the process environment, you’ll need to modify your EtherPad Lite installation to rebuild the settings.json file each time you start EtherPad Lite.

    Please see:

    https://github.com/raisch/sandbox/blob/master/EtherPadLite-CloudFoundry/buildConfigFile.js

    for instructions on how to update your EtherPad Lite.

    Please note that as I do not have an account at Cloud Foundry, I cannot test this in place. However, assuming that the process environment contains the values you reference in your example, this will create a valid settings.json file every time you start your EtherPad Lite instance.

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

Sidebar

Related Questions

I'm writing a powershell script that needs to push code to several git repositories
Newbie Question. I have a UIWebView that I push HTML code into. In the
On Heroku, as soon as you push new code, the web-serving instances restart... even
I push a fragment on the fragment stack using the following code: FragmentManager fragmentManager
Will this code ever wait on the mutex inside the producer's void push(data) ?
Within my code, I need to push an int onto Lua's stack. I know
The following code sample (also at http://jsfiddle.net/MZwBS/ ) var items = []; items.push({ example:
I have the following code. <s:push value=#session['person']> <s:if test=%{admin=='y'}> <a class=add href=/projit1/project/addProject.jsp>Create a Project</a>
I have following code in my application. [self.navigationController pushViewController:x animated:YES]; It will push a
I found that this C++ code: vector<int> a; a.push_back(1); a.push_back(2); vector<int>::iterator it = a.begin();

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.