Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
database setup instructions
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
stoneleaf  
View profile  
 More options Nov 17 2012, 10:50 am
From: stoneleaf <ethan.stonel...@gmail.com>
Date: Sat, 17 Nov 2012 07:50:18 -0800 (PST)
Local: Sat, Nov 17 2012 10:50 am
Subject: database setup instructions
My apologies is this is already covered -- my searching did not find
it.

I have just installed EPL, and I already have postgres installed at my
site.  I see that etherpad-lite supports many different dbs but I
couldn't find setup instructions for anything besides mysql.

Does anyone know of such a document?

My specific problem is this:

[settings.json]
  "dbType" : "postgres",
  "dbSettings" : {
                    "user"    : "etherpad-lite",
                    "host"    : "localhost",
                    "password": "etherpad",
                    "database": "etherpad"
                  },

[traceback]
/usr/local/lib/etherpad-lite$ bin/run.sh
Ensure that all dependencies are up to date...
Ensure jQuery is downloaded and up to date...
bin/installDeps.sh: 82: [: missing ]
Clear minfified cache...
ensure custom css/js files are created...
start...

events.js:71
        throw arguments[1]; // Unhandled 'error' event
                       ^
error: language "plpgsql" does not exist
    at p.parseE (/usr/local/lib/etherpad-lite/node_modules/pg/lib/
connection.js:473:11)
    at p.parseMessage (/usr/local/lib/etherpad-lite/node_modules/pg/
lib/connection.js:348:17)
    at Socket.p.attachListeners (/usr/local/lib/etherpad-lite/
node_modules/pg/lib/connection.js:84:22)
    at Socket.EventEmitter.emit (events.js:96:17)
    at TCP.onread (net.js:396:14)

I have tried

psql
connect etherpad
create language plpgsql

but I still get the error.

Any pointers, links, etc., would be greatly appreciated.

~Ethan~


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
John McLear  
View profile  
 More options Nov 18 2012, 1:17 pm
From: John McLear <johnym...@gmail.com>
Date: Sun, 18 Nov 2012 18:17:21 +0000
Local: Sun, Nov 18 2012 1:17 pm
Subject: Re: [etherpad-lite-dev] database setup instructions
https://github.com/Pita/ueberDB should help.

Basically
exports["postgres"] = {"user":"etherpadlite", host: "localhost",
"password":"etherpadlite", database: "etherpadlite"};

error: language "plpgsql" does not exist

looks like it might be an issue with UeberDB though.

Feel free to clone Ueber locally and test.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »