Forum archive
etherpad admin access
Note: Fix for etherpad turnkey 12.1:
echo -n "done" > /opt/etherpad-lite/src/.ep_initialized
chown nodejs:nodejs /opt/etherpad-lite/src/.ep_initialized
/etc/init.d/nodejs restart
Question:
How can I access the admin section of etherpad?
http://hostname/admin => The form requests a name/pass, I couldnt find the credencials for turnkey.
I tried lots of words, no avail...
I also tried to add lines to settings.json: (these lines arent there by default)
/* Users for basic authentication. is_admin = true gives access to /admin.
If you do not uncomment this, /admin will not be available! */
/*
"users": {
"admin": {
"password": "admin",
"is_admin": true
},
"user": {
"password": "user",
"is_admin": false
}
I got back the "nginx 504 Bad Gateway" error.
Background:
Yesterday I was testing etherpad with a friend, and she tried to add a picture to our "test" doc... since then, we could not connect to the doc "test". I wanted to try to loot at the issue from the admin interface.
Thanks for the help in advace! :)
Victor
You just need to add the user declaration towards the top of the settings file. I had the same problem as you when I first tested it... but a little mucking around I figured it out! :)
Here's my (working) settings.json:
{ "ip": "127.0.0.1", "port" : 8000, "dbType" : "mysql", "dbSettings" : { "user" : "etherpad", "host" : "localhost", "password": "8b2b02d8f53bb767f5adb5e44a9a085c", "database": "etherpad" }, "users": { "admin": { "password": "changeme1", "is_admin": true }, "user": { "password": "changeme1", "is_admin": false } }, "defaultPadText" : "Welcome to TurnKey Etherpad Lite!\n\nThis pad text is synchronized as you type, so that everyone viewing this page sees the same text. This allows you to collaborate seamlessly on documents!\n\nRelease notes: http:\/\/www.turnkeylinux.org\/etherpad\n", "requireSession" : false, "editOnly" : false, "minify" : true, "maxAge" : 21600000, // 6 hours "abiword" : null, "loglevel": "WARN" }I tested TKL EtherPad v13.0rc3 but I assume that would apply to v12.1 too.
Also out of interest do you think that the admin interface should be enabled by default? Is it generally something that many users would want? What value does that add do you think? Please excuse my ignorance, I've never really used EtherPad....