{"action":"created","issue":{"url":"https://api.github.com/repos/ether/etherpad-lite/issues/2437","labels_url":"https://api.github.com/repos/ether/etherpad-lite/issues/2437/labels{/name}","comments_url":"https://api.github.com/repos/ether/etherpad-lite/issues/2437/comments","events_url":"https://api.github.com/repos/ether/etherpad-lite/issues/2437/events","html_url":"https://github.com/ether/etherpad-lite/issues/2437","id":53338857,"number":2437,"title":"console - ReferenceError: ejs:1 (\"Sorry, something bad happened\")","user":{"login":"SPQRInc","id":10261817,"avatar_url":"https://avatars.githubusercontent.com/u/10261817?v=3","gravatar_id":"","url":"https://api.github.com/users/SPQRInc","html_url":"https://github.com/SPQRInc","followers_url":"https://api.github.com/users/SPQRInc/followers","following_url":"https://api.github.com/users/SPQRInc/following{/other_user}","gists_url":"https://api.github.com/users/SPQRInc/gists{/gist_id}","starred_url":"https://api.github.com/users/SPQRInc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SPQRInc/subscriptions","organizations_url":"https://api.github.com/users/SPQRInc/orgs","repos_url":"https://api.github.com/users/SPQRInc/repos","events_url":"https://api.github.com/users/SPQRInc/events{/privacy}","received_events_url":"https://api.github.com/users/SPQRInc/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ether/etherpad-lite/labels/Bug","name":"Bug","color":"d7e102"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":22,"created_at":"2015-01-04T15:13:49Z","updated_at":"2015-01-13T15:21:58Z","closed_at":"2015-01-11T17:19:54Z","body":"Hi there,\r\n\r\nmy last issue was closed, but the error still appears...\r\n\r\nI installed Etherpad on CentOS according to this tutorial: https://www.digitalocean.com/community/tutorials/how-to-install-etherpad-for-production-with-node-js-and-mysql-on-a-vps\r\n\r\n\r\nI did a fresh install - unfortunately I'm getting this error:\r\n\r\n[2015-01-04 18:08:20.111] [ERROR] console - ReferenceError: ejs:1\r\n >> 1| <% e._init(buf); %><%\r\n    2|   var settings = require(\"ep_etherpad-lite/node/utils/Settings\");\r\n    3| %>\r\n    4| <!doctype html>\r\n\r\nbuf is not defined\r\n    at eval (eval at <anonymous> (/home/etherpad/etherpad-lite/src/node_modules/ejs/lib/ejs.js:281:12), <anonymous>:2:145)\r\n    at /home/etherpad/etherpad-lite/src/node_modules/ejs/lib/ejs.js:307:17\r\n    at Object.exports.render (/home/etherpad/etherpad-lite/src/node_modules/ejs/lib/ejs.js:166:13)\r\n    at Object.exports.require (/home/etherpad/etherpad-lite/src/node/eejs/index.js:122:17)\r\n    at /home/etherpad/etherpad-lite/src/node/hooks/express/specialpages.js:15:19\r\n    at callbacks (/home/etherpad/etherpad-lite/src/node_modules/express/lib/router/index.js:164:37)\r\n    at param (/home/etherpad/etherpad-lite/src/node_modules/express/lib/router/index.js:138:11)\r\n    at pass (/home/etherpad/etherpad-lite/src/node_modules/express/lib/router/index.js:145:5)\r\n    at Router._dispatch (/home/etherpad/etherpad-lite/src/node_modules/express/lib/router/index.js:173:5)\r\n    at Object.router (/home/etherpad/etherpad-lite/src/node_modules/express/lib/router/index.js:33:10)\r\n\r\n\r\nIf I start etherpad, I'm getting this error:\r\n\r\n[etherpad@pad etherpad-lite]$ ./bin/run.sh\r\nEnsure that all dependencies are up to date...  If this is the first time you have run Etherpad please be patient.\r\nnpm WARN package.json async-stacktrace@0.0.2 No repository field.\r\nnpm WARN package.json channels@0.0.4 No repository field.\r\nnpm WARN package.json tinycon@0.0.1 No repository field.\r\nEnsure jQuery is downloaded and up to date...\r\nClear minfified cache...\r\nEnsure custom css/js files are created...\r\nStarted Etherpad...\r\n[2015-01-04 18:11:08.173] [INFO] console - Installed plugins: ep_etherpad-lite\r\n[2015-01-04 18:11:08.192] [INFO] console - Your Etherpad git version is e2ea82f\r\n[2015-01-04 18:11:08.192] [INFO] console - Report bugs at https://github.com/ether/etherpad-lite/issues\r\n[2015-01-04 18:11:08.320] [INFO] console - You can access your Etherpad instance at http://0.0.0.0:9001/\r\n[2015-01-04 18:11:08.321] [WARN] console - Admin username and password not set in settings.json.  To access admin please uncomment and edit 'users' in settings.json\r\n\r\n\r\n\r\nIf I try to open etherpad via browser, the browser-output is:\r\n\r\n{\r\n  \"error\": \"Sorry, something bad happened!\"\r\n}\r\n\r\n\r\nThe console shows:\r\n\r\n[2015-01-04 18:11:50.853] [ERROR] console - ReferenceError: ejs:1\r\n >> 1| <% e._init(buf); %><%\r\n    2|   var settings = require(\"ep_etherpad-lite/node/utils/Settings\");\r\n    3| %>\r\n    4| <!doctype html>\r\n\r\nbuf is not defined\r\n    at eval (eval at <anonymous> (/home/etherpad/etherpad-lite/src/node_modules/ejs/lib/ejs.js:281:12), <anonymous>:2:8000)\r\n    at /home/etherpad/etherpad-lite/src/node_modules/ejs/lib/ejs.js:307:17\r\n    at Object.exports.render (/home/etherpad/etherpad-lite/src/node_modules/ejs/lib/ejs.js:166:13)\r\n    at Object.exports.require (/home/etherpad/etherpad-lite/src/node/eejs/index.js:122:17)\r\n    at /home/etherpad/etherpad-lite/src/node/hooks/express/specialpages.js:15:19\r\n    at callbacks (/home/etherpad/etherpad-lite/src/node_modules/express/lib/router/index.js:164:37)\r\n    at param (/home/etherpad/etherpad-lite/src/node_modules/express/lib/router/index.js:138:11)\r\n    at pass (/home/etherpad/etherpad-lite/src/node_modules/express/lib/router/index.js:145:5)\r\n    at Router._dispatch (/home/etherpad/etherpad-lite/src/node_modules/express/lib/router/index.js:173:5)\r\n    at Object.router (/home/etherpad/etherpad-lite/src/node_modules/express/lib/router/index.js:33:10)\r\n[2015-01-04 18:11:50.920] [INFO] ueberDB - Flushed 1 values\r\n\r\n\r\nThis error was on Debian 7 and now on CentOS - the VPS was always a fresh setup."},"comment":{"url":"https://api.github.com/repos/ether/etherpad-lite/issues/comments/69760110","html_url":"https://github.com/ether/etherpad-lite/issues/2437#issuecomment-69760110","issue_url":"https://api.github.com/repos/ether/etherpad-lite/issues/2437","id":69760110,"user":{"login":"baptistedonaux","id":3277332,"avatar_url":"https://avatars.githubusercontent.com/u/3277332?v=3","gravatar_id":"","url":"https://api.github.com/users/baptistedonaux","html_url":"https://github.com/baptistedonaux","followers_url":"https://api.github.com/users/baptistedonaux/followers","following_url":"https://api.github.com/users/baptistedonaux/following{/other_user}","gists_url":"https://api.github.com/users/baptistedonaux/gists{/gist_id}","starred_url":"https://api.github.com/users/baptistedonaux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/baptistedonaux/subscriptions","organizations_url":"https://api.github.com/users/baptistedonaux/orgs","repos_url":"https://api.github.com/users/baptistedonaux/repos","events_url":"https://api.github.com/users/baptistedonaux/events{/privacy}","received_events_url":"https://api.github.com/users/baptistedonaux/received_events","type":"User","site_admin":false},"created_at":"2015-01-13T15:21:58Z","updated_at":"2015-01-13T15:21:58Z","body":"Yeah, great ! Thank for your job !"}}