ether / etherpad-lite

Etherpad: A modern really-real-time collaborative document editor.
http://docs.etherpad.org/
Apache License 2.0
16.26k stars 2.81k forks source link

Insists on using dirty db - and other problems on fresh install #1774

Closed phoebebright closed 11 years ago

phoebebright commented 11 years ago

Despite give mysql credentials in settings,json (and double checking they are working) etherpad insists on using dirty db depite mysql database being setup. This may or may not be related to this error when I use "start etherpad-lite" (following these instructions more or less)

I have the following in the error log:

Ensure that all dependencies are up to date... If this is the first time you have run Etherpad please be patient. Ensure jQuery is downloaded and up to date... Clear minfified cache... ensure custom css/js files are created...

events.js:72 throw er; // Unhandled 'error' event ^ Error: EACCES, open '/home/etherpad-lite/dirty.db'

If I use bin/run.sh I get more info and the system starts up ok.

root@vividlogic:/home/etherpad-lite# bin/run.sh You shouldn't start Etherpad-Lite as root! Please type 'Etherpad Lite rocks my socks' or supply the '--root' argument if you still want to start it as root Etherpad Lite rocks my socks [: 29: Etherpad: unexpected operator Ensure that all dependencies are up to date... If this is the first time you have run Etherpad please be patient. Ensure jQuery is downloaded and up to date... Clear minfified cache... ensure custom css/js files are created... start... [2013-05-08 16:43:30.446] [WARN] console - DirtyDB is used. This is fine for testing but not recommended for production. [2013-05-08 16:43:30.778] [DEBUG] pluginfw - [ undefined ] 'returning' [2013-05-08 16:43:30.780] [DEBUG] pluginfw - [ 'ep_headings@0.1.6' ] 'returning' [2013-05-08 16:43:30.780] [DEBUG] pluginfw - [ 'ep_tables@0.1.1' ] 'returning' [2013-05-08 16:43:30.780] [DEBUG] pluginfw - [ 'yajsml@1.1.6' ] 'returning' [2013-05-08 16:43:30.781] [DEBUG] pluginfw - [ 'request@2.9.100' ] 'returning' [2013-05-08 16:43:30.781] [DEBUG] pluginfw - [ 'require-kernel@1.0.5' ] 'returning' [2013-05-08 16:43:30.781] [DEBUG] pluginfw - [ 'resolve@0.2.8' ] 'returning' [2013-05-08 16:43:30.781] [DEBUG] pluginfw - [ 'socket.io@0.9.14' ] 'returning' [2013-05-08 16:43:30.781] [DEBUG] pluginfw - [ 'ueberDB@0.2.0' ] 'returning' [2013-05-08 16:43:30.781] [DEBUG] pluginfw - [ 'express@3.1.0' ] 'returning' [2013-05-08 16:43:30.781] [DEBUG] pluginfw - [ 'async@0.1.22' ] 'returning' [2013-05-08 16:43:30.782] [DEBUG] pluginfw - [ 'connect@2.7.9' ] 'returning' [2013-05-08 16:43:30.782] [DEBUG] pluginfw - [ 'clean-css@0.3.2' ] 'returning' [2013-05-08 16:43:30.782] [DEBUG] pluginfw - [ 'uglify-js@1.2.5' ] 'returning' [2013-05-08 16:43:30.782] [DEBUG] pluginfw - [ 'formidable@1.0.9' ] 'returning' [2013-05-08 16:43:30.782] [DEBUG] pluginfw - [ 'log4js@0.5.8' ] 'returning' [2013-05-08 16:43:30.782] [DEBUG] pluginfw - [ 'nodemailer@0.3.44' ] 'returning' [2013-05-08 16:43:30.783] [DEBUG] pluginfw - [ 'jsdom-nocontextifiy@0.2.10' ] 'returning' [2013-05-08 16:43:30.783] [DEBUG] pluginfw - [ 'async-stacktrace@0.0.2' ] 'returning' [2013-05-08 16:43:30.783] [DEBUG] pluginfw - [ 'npm@1.2.19' ] 'returning' [2013-05-08 16:43:30.784] [DEBUG] pluginfw - [ 'ejs@0.6.1' ] 'returning' [2013-05-08 16:43:30.784] [DEBUG] pluginfw - [ 'graceful-fs@1.1.5' ] 'returning' [2013-05-08 16:43:30.784] [DEBUG] pluginfw - [ 'slide@1.1.3' ] 'returning' [2013-05-08 16:43:30.784] [DEBUG] pluginfw - [ 'semver@1.0.13' ] 'returning' [2013-05-08 16:43:30.784] [DEBUG] pluginfw - [ 'security@1.0.0' ] 'returning' [2013-05-08 16:43:30.784] [DEBUG] pluginfw - [ 'tinycon@0.0.1' ] 'returning' [2013-05-08 16:43:30.784] [DEBUG] pluginfw - [ 'underscore@1.3.1' ] 'returning' [2013-05-08 16:43:30.785] [DEBUG] pluginfw - [ 'unorm@1.0.0' ] 'returning' [2013-05-08 16:43:30.785] [DEBUG] pluginfw - [ 'languages4translatewiki@0.1.3' ] 'returning' [2013-05-08 16:43:30.785] [DEBUG] pluginfw - [ 'swagger-node-express@1.2.3' ] 'returning' [2013-05-08 16:43:30.785] [DEBUG] pluginfw - [ 'channels@0.0.4' ] 'returning' [2013-05-08 16:43:30.785] [DEBUG] pluginfw - [ 'wd@0.0.31' ] 'returning' [2013-05-08 16:43:30.786] [DEBUG] pluginfw - [ 'socket.io-client@0.9.11' ] 'returning' [2013-05-08 16:43:30.786] [DEBUG] pluginfw - [ 'policyfile@0.0.4' ] 'returning' [2013-05-08 16:43:30.786] [DEBUG] pluginfw - [ 'base64id@0.1.0' ] 'returning' [2013-05-08 16:43:30.786] [DEBUG] pluginfw - [ 'redis@0.7.3' ] 'returning' [2013-05-08 16:43:30.786] [DEBUG] pluginfw - [ 'ws@0.4.25' ] 'returning' [2013-05-08 16:43:30.787] [DEBUG] pluginfw - [ 'xmlhttprequest@1.4.2' ] 'returning' [2013-05-08 16:43:30.787] [DEBUG] pluginfw - [ 'active-x-obfuscator@0.0.1' ] 'returning' [2013-05-08 16:43:30.787] [DEBUG] pluginfw - [ 'commander@0.6.1' ] 'returning' [2013-05-08 16:43:30.787] [DEBUG] pluginfw - [ 'tinycolor@0.0.1' ] 'returning' [2013-05-08 16:43:30.787] [DEBUG] pluginfw - [ 'options@0.0.5' ] 'returning' [2013-05-08 16:43:30.787] [DEBUG] pluginfw - [ 'zeparser@0.0.5' ] 'returning' [2013-05-08 16:43:30.788] [DEBUG] pluginfw - [ 'mysql@0.9.5' ] 'returning' [2013-05-08 16:43:30.788] [DEBUG] pluginfw - [ 'pg@0.14.1' ] 'returning' [2013-05-08 16:43:30.788] [DEBUG] pluginfw - [ 'dirty@0.9.7' ] 'returning' [2013-05-08 16:43:30.788] [DEBUG] pluginfw - [ 'async@0.1.15' ] 'returning' [2013-05-08 16:43:30.788] [DEBUG] pluginfw - [ 'channels@0.0.2' ] 'returning' [2013-05-08 16:43:30.788] [DEBUG] pluginfw - [ 'node-redis@0.1.5' ] 'returning' [2013-05-08 16:43:30.788] [DEBUG] pluginfw - [ 'helenus@0.6.2' ] 'returning' [2013-05-08 16:43:30.788] [DEBUG] pluginfw - [ 'hashish@0.0.4' ] 'returning' [2013-05-08 16:43:30.789] [DEBUG] pluginfw - [ 'traverse@0.6.3' ] 'returning' [2013-05-08 16:43:30.789] [DEBUG] pluginfw - [ 'generic-pool@2.0.3' ] 'returning' [2013-05-08 16:43:30.789] [DEBUG] pluginfw - [ 'deprecate@0.1.0' ] 'returning' [2013-05-08 16:43:30.789] [DEBUG] pluginfw - [ 'helenus-thrift@0.7.3' ] 'returning' [2013-05-08 16:43:30.789] [DEBUG] pluginfw - [ 'node-uuid@1.3.3' ] 'returning' [2013-05-08 16:43:30.790] [DEBUG] pluginfw - [ 'connect@2.7.2' ] 'returning' [2013-05-08 16:43:30.790] [DEBUG] pluginfw - [ 'commander@0.6.1' ] 'returning' [2013-05-08 16:43:30.790] [DEBUG] pluginfw - [ 'range-parser@0.0.4' ] 'returning' [2013-05-08 16:43:30.790] [DEBUG] pluginfw - [ 'mkdirp@0.3.3' ] 'returning' [2013-05-08 16:43:30.790] [DEBUG] pluginfw - [ 'cookie@0.0.5' ] 'returning' [2013-05-08 16:43:30.790] [DEBUG] pluginfw - [ 'buffer-crc32@0.1.1' ] 'returning' [2013-05-08 16:43:30.791] [DEBUG] pluginfw - [ 'fresh@0.1.0' ] 'returning' [2013-05-08 16:43:30.791] [DEBUG] pluginfw - [ 'methods@0.0.1' ] 'returning' [2013-05-08 16:43:30.791] [DEBUG] pluginfw - [ 'send@0.1.0' ] 'returning' [2013-05-08 16:43:30.791] [DEBUG] pluginfw - [ 'cookie-signature@0.0.1' ] 'returning' [2013-05-08 16:43:30.792] [DEBUG] pluginfw - [ 'debug@0.7.2' ] 'returning' [2013-05-08 16:43:30.792] [DEBUG] pluginfw - [ 'qs@0.5.1' ] 'returning' [2013-05-08 16:43:30.792] [DEBUG] pluginfw - [ 'formidable@1.0.11' ] 'returning' [2013-05-08 16:43:30.792] [DEBUG] pluginfw - [ 'bytes@0.1.0' ] 'returning' [2013-05-08 16:43:30.792] [DEBUG] pluginfw - [ 'pause@0.0.1' ] 'returning' [2013-05-08 16:43:30.793] [DEBUG] pluginfw - [ 'mime@1.2.6' ] 'returning' [2013-05-08 16:43:30.793] [DEBUG] pluginfw - [ 'qs@0.6.4' ] 'returning' [2013-05-08 16:43:30.793] [DEBUG] pluginfw - [ 'formidable@1.0.13' ] 'returning' [2013-05-08 16:43:30.793] [DEBUG] pluginfw - [ 'cookie-signature@1.0.1' ] 'returning' [2013-05-08 16:43:30.793] [DEBUG] pluginfw - [ 'buffer-crc32@0.2.1' ] 'returning' [2013-05-08 16:43:30.793] [DEBUG] pluginfw - [ 'cookie@0.0.5' ] 'returning' [2013-05-08 16:43:30.794] [DEBUG] pluginfw - [ 'send@0.1.0' ] 'returning' [2013-05-08 16:43:30.794] [DEBUG] pluginfw - [ 'bytes@0.2.0' ] 'returning' [2013-05-08 16:43:30.794] [DEBUG] pluginfw - [ 'fresh@0.1.0' ] 'returning' [2013-05-08 16:43:30.794] [DEBUG] pluginfw - [ 'pause@0.0.1' ] 'returning' [2013-05-08 16:43:30.794] [DEBUG] pluginfw - [ 'debug@0.7.2' ] 'returning' [2013-05-08 16:43:30.794] [DEBUG] pluginfw - [ 'mime@1.2.6' ] 'returning' [2013-05-08 16:43:30.794] [DEBUG] pluginfw - [ 'range-parser@0.0.4' ] 'returning' [2013-05-08 16:43:30.795] [DEBUG] pluginfw - [ 'optimist@0.1.9' ] 'returning' [2013-05-08 16:43:30.795] [DEBUG] pluginfw - [ 'async@0.1.15' ] 'returning' [2013-05-08 16:43:30.795] [DEBUG] pluginfw - [ 'dequeue@1.0.3' ] 'returning' [2013-05-08 16:43:30.795] [DEBUG] pluginfw - [ 'mailcomposer@0.1.31' ] 'returning' [2013-05-08 16:43:30.795] [DEBUG] pluginfw - [ 'simplesmtp@0.2.4' ] 'returning' [2013-05-08 16:43:30.795] [DEBUG] pluginfw - [ 'optimist@0.4.0' ] 'returning' [2013-05-08 16:43:30.795] [DEBUG] pluginfw - [ 'mimelib@0.2.12' ] 'returning' [2013-05-08 16:43:30.796] [DEBUG] pluginfw - [ 'mime@1.2.9' ] 'returning' [2013-05-08 16:43:30.796] [DEBUG] pluginfw - [ 'encoding@0.1.6' ] 'returning' [2013-05-08 16:43:30.796] [DEBUG] pluginfw - [ 'addressparser@0.1.3' ] 'returning' [2013-05-08 16:43:30.796] [DEBUG] pluginfw - [ 'iconv-lite@0.2.7' ] 'returning' [2013-05-08 16:43:30.796] [DEBUG] pluginfw - [ 'rai@0.1.7' ] 'returning' [2013-05-08 16:43:30.796] [DEBUG] pluginfw - [ 'xoauth2@0.1.8' ] 'returning' [2013-05-08 16:43:30.796] [DEBUG] pluginfw - [ 'wordwrap@0.0.2' ] 'returning' [2013-05-08 16:43:30.797] [DEBUG] pluginfw - [ 'htmlparser@1.7.6' ] 'returning' [2013-05-08 16:43:30.797] [DEBUG] pluginfw - [ 'cssom@0.2.5' ] 'returning' [2013-05-08 16:43:30.797] [DEBUG] pluginfw - [ 'semver@1.1.4' ] 'returning' [2013-05-08 16:43:30.797] [DEBUG] pluginfw - [ 'ini@1.1.0' ] 'returning' [2013-05-08 16:43:30.797] [DEBUG] pluginfw - [ 'slide@1.1.4' ] 'returning' [2013-05-08 16:43:30.797] [DEBUG] pluginfw - [ 'abbrev@1.0.4' ] 'returning' [2013-05-08 16:43:30.798] [DEBUG] pluginfw - [ 'graceful-fs@1.2.0' ] 'returning' [2013-05-08 16:43:30.798] [DEBUG] pluginfw - [ 'minimatch@0.2.12' ] 'returning' [2013-05-08 16:43:30.798] [DEBUG] pluginfw - [ 'nopt@2.1.1' ] 'returning' [2013-05-08 16:43:30.798] [DEBUG] pluginfw - [ 'rimraf@2.1.4' ] 'returning' [2013-05-08 16:43:30.798] [DEBUG] pluginfw - [ 'request@2.20.0' ] 'returning' [2013-05-08 16:43:30.798] [DEBUG] pluginfw - [ 'which@1.0.5' ] 'returning' [2013-05-08 16:43:30.799] [DEBUG] pluginfw - [ 'tar@0.1.17' ] 'returning' [2013-05-08 16:43:30.799] [DEBUG] pluginfw - [ 'fstream@0.1.22' ] 'returning' [2013-05-08 16:43:30.800] [DEBUG] pluginfw - [ 'block-stream@0.0.6' ] 'returning' [2013-05-08 16:43:30.800] [DEBUG] pluginfw - [ 'inherits@1.0.0' ] 'returning' [2013-05-08 16:43:30.800] [DEBUG] pluginfw - [ 'mkdirp@0.3.5' ] 'returning' [2013-05-08 16:43:30.800] [DEBUG] pluginfw - [ 'read@1.0.4' ] 'returning' [2013-05-08 16:43:30.800] [DEBUG] pluginfw - [ 'lru-cache@2.3.0' ] 'returning' [2013-05-08 16:43:30.805] [DEBUG] pluginfw - [ 'node-gyp@0.9.5' ] 'returning' [2013-05-08 16:43:30.805] [DEBUG] pluginfw - [ 'fstream-npm@0.1.4' ] 'returning' [2013-05-08 16:43:30.805] [DEBUG] pluginfw - [ 'uid-number@0.0.3' ] 'returning' [2013-05-08 16:43:30.806] [DEBUG] pluginfw - [ 'archy@0.0.2' ] 'returning' [2013-05-08 16:43:30.806] [DEBUG] pluginfw - [ 'chownr@0.0.1' ] 'returning' [2013-05-08 16:43:30.806] [DEBUG] pluginfw - [ 'npmlog@0.0.2' ] 'returning' [2013-05-08 16:43:30.806] [DEBUG] pluginfw - [ 'ansi@0.1.2' ] 'returning' [2013-05-08 16:43:30.807] [DEBUG] pluginfw - [ 'npm-registry-client@0.2.22' ] 'returning' [2013-05-08 16:43:30.808] [DEBUG] pluginfw - [ 'read-package-json@0.4.1' ] 'returning' [2013-05-08 16:43:30.808] [DEBUG] pluginfw - [ 'read-installed@0.1.1' ] 'returning' [2013-05-08 16:43:30.809] [DEBUG] pluginfw - [ 'glob@3.2.1' ] 'returning' [2013-05-08 16:43:30.809] [DEBUG] pluginfw - [ 'init-package-json@0.0.8' ] 'returning' [2013-05-08 16:43:30.810] [DEBUG] pluginfw - [ 'osenv@0.0.3' ] 'returning' [2013-05-08 16:43:30.811] [DEBUG] pluginfw - [ 'lockfile@0.3.1' ] 'returning' [2013-05-08 16:43:30.814] [DEBUG] pluginfw - [ 'retry@0.6.0' ] 'returning' [2013-05-08 16:43:30.818] [DEBUG] pluginfw - [ 'once@1.1.1' ] 'returning' [2013-05-08 16:43:30.818] [DEBUG] pluginfw - [ 'npmconf@0.0.24' ] 'returning' [2013-05-08 16:43:30.818] [DEBUG] pluginfw - [ 'opener@1.3.0' ] 'returning' [2013-05-08 16:43:30.819] [DEBUG] pluginfw - [ 'chmodr@0.1.0' ] 'returning' [2013-05-08 16:43:30.819] [DEBUG] pluginfw - [ 'cmd-shim@1.1.0' ] 'returning' [2013-05-08 16:43:30.819] [DEBUG] pluginfw - [ 'sha@1.0.1' ] 'returning' [2013-05-08 16:43:30.819] [DEBUG] pluginfw - [ 'editor@0.0.4' ] 'returning' [2013-05-08 16:43:30.819] [DEBUG] pluginfw - [ 'child-process-close@0.1.1' ] 'returning' [2013-05-08 16:43:30.820] [DEBUG] pluginfw - [ 'sigmund@1.0.0' ] 'returning' [2013-05-08 16:43:30.822] [DEBUG] pluginfw - [ 'form-data@0.0.8' ] 'returning' [2013-05-08 16:43:30.822] [DEBUG] pluginfw - [ 'mime@1.2.9' ] 'returning' [2013-05-08 16:43:30.822] [DEBUG] pluginfw - [ 'hawk@0.10.2' ] 'returning' [2013-05-08 16:43:30.822] [DEBUG] pluginfw - [ 'node-uuid@1.4.0' ] 'returning' [2013-05-08 16:43:30.822] [DEBUG] pluginfw - [ 'cookie-jar@0.3.0' ] 'returning' [2013-05-08 16:43:30.822] [DEBUG] pluginfw - [ 'aws-sign@0.3.0' ] 'returning' [2013-05-08 16:43:30.823] [DEBUG] pluginfw - [ 'oauth-sign@0.3.0' ] 'returning' [2013-05-08 16:43:30.823] [DEBUG] pluginfw - [ 'http-signature@0.9.11' ] 'returning' [2013-05-08 16:43:30.823] [DEBUG] pluginfw - [ 'forever-agent@0.3.0' ] 'returning' [2013-05-08 16:43:30.823] [DEBUG] pluginfw - [ 'tunnel-agent@0.3.0' ] 'returning' [2013-05-08 16:43:30.823] [DEBUG] pluginfw - [ 'json-stringify-safe@3.0.0' ] 'returning' [2013-05-08 16:43:30.824] [DEBUG] pluginfw - [ 'qs@0.5.6' ] 'returning' [2013-05-08 16:43:30.824] [DEBUG] pluginfw - [ 'combined-stream@0.0.4' ] 'returning' [2013-05-08 16:43:30.824] [DEBUG] pluginfw - [ 'async@0.2.7' ] 'returning' [2013-05-08 16:43:30.824] [DEBUG] pluginfw - [ 'delayed-stream@0.0.5' ] 'returning' [2013-05-08 16:43:30.824] [DEBUG] pluginfw - [ 'hoek@0.7.6' ] 'returning' [2013-05-08 16:43:30.824] [DEBUG] pluginfw - [ 'boom@0.3.8' ] 'returning' [2013-05-08 16:43:30.825] [DEBUG] pluginfw - [ 'cryptiles@0.1.3' ] 'returning' [2013-05-08 16:43:30.825] [DEBUG] pluginfw - [ 'sntp@0.1.4' ] 'returning' [2013-05-08 16:43:30.825] [DEBUG] pluginfw - [ 'assert-plus@0.1.2' ] 'returning' [2013-05-08 16:43:30.825] [DEBUG] pluginfw - [ 'asn1@0.1.11' ] 'returning' [2013-05-08 16:43:30.825] [DEBUG] pluginfw - [ 'ctype@0.5.2' ] 'returning' [2013-05-08 16:43:30.826] [DEBUG] pluginfw - [ 'mute-stream@0.0.3' ] 'returning' [2013-05-08 16:43:30.826] [DEBUG] pluginfw - [ 'fstream-ignore@0.0.6' ] 'returning' [2013-05-08 16:43:30.827] [DEBUG] pluginfw - [ 'couch-login@0.1.16' ] 'returning' [2013-05-08 16:43:30.827] [DEBUG] pluginfw - [ 'normalize-package-data@0.1.2' ] 'returning' [2013-05-08 16:43:30.827] [DEBUG] pluginfw - [ 'github-url-from-git@1.1.1' ] 'returning' [2013-05-08 16:43:30.827] [DEBUG] pluginfw - [ 'promzard@0.2.0' ] 'returning' [2013-05-08 16:43:30.828] [DEBUG] pluginfw - [ 'config-chain@1.1.7' ] 'returning' [2013-05-08 16:43:30.828] [DEBUG] pluginfw - [ 'proto-list@1.2.2' ] 'returning' [2013-05-08 16:43:30.828] [DEBUG] pluginfw - [ 'fast-list@1.0.2' ] 'returning' [2013-05-08 16:43:30.828] [DEBUG] pluginfw - [ 'docco@0.4.0' ] 'returning' [2013-05-08 16:43:30.829] [DEBUG] pluginfw - [ 'commander@1.1.1' ] 'returning' [2013-05-08 16:43:30.829] [DEBUG] pluginfw - [ 'keypress@0.1.0' ] 'returning' [2013-05-08 16:43:30.829] [DEBUG] pluginfw - [ 'underscore@1.4.4' ] 'returning' [2013-05-08 16:43:30.829] [DEBUG] pluginfw - [ 'vargs@0.1.0' ] 'returning' [2013-05-08 16:43:30.830] [DEBUG] pluginfw - [ 'request@2.12.0' ] 'returning' [2013-05-08 16:43:30.830] [DEBUG] pluginfw - [ 'q@0.8.12' ] 'returning' [2013-05-08 16:43:30.830] [DEBUG] pluginfw - [ 'form-data@0.0.3' ] 'returning' [2013-05-08 16:43:30.830] [DEBUG] pluginfw - [ 'mime@1.2.7' ] 'returning' [2013-05-08 16:43:30.830] [DEBUG] pluginfw - [ 'combined-stream@0.0.3' ] 'returning' [2013-05-08 16:43:30.830] [DEBUG] pluginfw - [ 'async@0.1.9' ] 'returning' [2013-05-08 16:43:30.830] [DEBUG] pluginfw - [ 'delayed-stream@0.0.5' ] 'returning' [2013-05-08 16:43:30.966] [DEBUG] ueberDB - GET - pad:-:: - ["pad:testpad","pad:racingdoc_pid_configmanagement"] - from database [2013-05-08 16:43:31.278] [INFO] console - Installed plugins: ep_etherpad-lite, ep_headings, ep_tables [2013-05-08 16:43:31.279] [DEBUG] console - Installed parts: ep_tables/tables ep_headings/main ep_etherpad-lite/swagger ep_etherpad-lite/adminsettings ep_etherpad-lite/adminplugins ep_etherpad-lite/admin ep_etherpad-lite/tests ep_etherpad-lite/socketio ep_etherpad-lite/errorhandling ep_etherpad-lite/importexport ep_etherpad-lite/apicalls ep_etherpad-lite/webaccess ep_etherpad-lite/padreadonly ep_etherpad-lite/padurlsanitize ep_etherpad-lite/specialpages ep_etherpad-lite/i18n ep_etherpad-lite/static ep_etherpad-lite/express [2013-05-08 16:43:31.310] [DEBUG] console - Installed hooks:

eejsBlock_styles
ep_tables/static/js/datatables:eejsBlock_styles from ep_tables/tables
eejsBlock_scripts
ep_tables/static/js/datatables:eejsBlock_scripts from ep_tables/tables
eejsBlock_editbarMenuLeft
ep_tables/static/js/datatables:eejsBlock_editbarMenuLeft from ep_tables/tables
eejsBlock_editbarMenuLeft
ep_headings/index from ep_headings/main
collectContentPre
ep_headings/static/js/shared from ep_headings/main
collectContentPost
ep_headings/static/js/shared from ep_headings/main
getLineHTMLForExport
ep_headings/index from ep_headings/main
expressCreateServer
ep_etherpad-lite/node/hooks/express/swagger:expressCreateServer from ep_etherpad-lite/swagger
expressCreateServer
ep_etherpad-lite/node/hooks/express/adminsettings:expressCreateServer from ep_etherpad-lite/adminsettings
expressCreateServer
ep_etherpad-lite/node/hooks/express/adminplugins:expressCreateServer from ep_etherpad-lite/adminplugins
expressCreateServer
ep_etherpad-lite/node/hooks/express/admin:expressCreateServer from ep_etherpad-lite/admin
expressCreateServer
ep_etherpad-lite/node/hooks/express/tests:expressCreateServer from ep_etherpad-lite/tests
expressCreateServer
ep_etherpad-lite/node/hooks/express/socketio:expressCreateServer from ep_etherpad-lite/socketio
expressCreateServer
ep_etherpad-lite/node/hooks/express/errorhandling:expressCreateServer from ep_etherpad-lite/errorhandling
expressCreateServer
ep_etherpad-lite/node/hooks/express/importexport:expressCreateServer from ep_etherpad-lite/importexport
expressCreateServer
ep_etherpad-lite/node/hooks/express/apicalls:expressCreateServer from ep_etherpad-lite/apicalls
expressCreateServer
ep_etherpad-lite/node/hooks/express/padreadonly:expressCreateServer from ep_etherpad-lite/padreadonly
expressCreateServer
ep_etherpad-lite/node/hooks/express/padurlsanitize:expressCreateServer from ep_etherpad-lite/padurlsanitize
expressCreateServer
ep_etherpad-lite/node/hooks/express/specialpages:expressCreateServer from ep_etherpad-lite/specialpages
expressCreateServer
ep_etherpad-lite/node/hooks/i18n:expressCreateServer from ep_etherpad-lite/i18n
expressCreateServer
ep_etherpad-lite/node/hooks/express/static:expressCreateServer from ep_etherpad-lite/static
socketio
ep_etherpad-lite/node/hooks/express/adminsettings:socketio from ep_etherpad-lite/adminsettings
socketio
ep_etherpad-lite/node/hooks/express/adminplugins:socketio from ep_etherpad-lite/adminplugins
expressConfigure
ep_etherpad-lite/node/hooks/express/webaccess:expressConfigure from ep_etherpad-lite/webaccess
createServer
ep_etherpad-lite/node/hooks/express:createServer from ep_etherpad-lite/express
restartServer
ep_etherpad-lite/node/hooks/express:restartServer from ep_etherpad-lite/express

[2013-05-08 16:43:31.311] [INFO] console - Your Etherpad Lite git version is 42e164c [2013-05-08 16:43:31.311] [INFO] console - Report bugs at https://github.com/ether/etherpad-lite/issues [2013-05-08 16:43:31.354] [INFO] console - info - 'socket.io started' [2013-05-08 16:43:31.400] [INFO] console - You can access your Etherpad-Lite instance at http://217.115.117.19:9001/ [2013-05-08 16:43:31.400] [INFO] console - The plugin admin page is at http://217.115.117.19:9001/admin/plugins

SETTINGS file

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

Please edit settings.json, not settings.json.template */ { // Name your instance! "title": "Etherpad at Work",

// favicon default name // alternatively, set up a fully specified Url to your own favicon "favicon": "favicon.ico",

//IP and port which etherpad should bind at "ip": "217.115.117.19", "port" : 9001,

// Session Key, used for reconnecting user sessions // Set this to a secure string at least 10 characters long. Do not share this value. "sessionKey" : "KJHSFger83&ddf",

/*
// Node native SSL support // this is disabled by default // // make sure to have the minimum and correct file access permissions set // so that the Etherpad server can access them

"ssl" : { "key" : "/path-to-your/epl-server.key", "cert" : "/path-to-your/epl-server.crt" },

*/

/* An Example of MySQL Configuration (/ "dbType" : "mysql", "dbSettings" : { "user" : "etherpad", "host" : "localhost", "password": "password", "database": "etherpad-lite" },

//the default text of a pad "defaultPadText" : "Welcome to Etherpad!\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\nGet involved with Etherpad at http:\/\/etherpad.org\n",

/* Users must have a session to access pads. This effectively allows only group pads to be accessed. */ "requireSession" : false,

/* Users may edit pads but not create new ones. Pad creation is only via the API. This applies both to group pads and regular pads. */ "editOnly" : false,

/* if true, all css & js will be minified before sending to the client. This will improve the loading performance massivly, but makes it impossible to debug the javascript/css */ "minify" : true,

/* How long may clients use served javascript code (in seconds)? Without versioning this may cause problems during deployment. Set to 0 to disable caching / "maxAge" : 21600, // 60 * 60 \ 6 = 6 hours

/* This is the path to the Abiword executable. Setting it to null, disables abiword. Abiword is needed to advanced import/export features of pads*/
"abiword" : null,

/* This setting is used if you require authentication of all users. Note: /admin always requires authentication. */ "requireAuthentication": false,

/* Require authorization by a module, or a user with is_admin set, see below. */ "requireAuthorization": false,

/* 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": "honeycup", "is_admin": true }, "user": { "password": "testuser", "is_admin": false } },

// restrict socket.io transport methods "socketTransportProtocols" : ["xhr-polling", "jsonp-polling", "htmlfile"],

/* The log level we are using, can be: DEBUG, INFO, WARN, ERROR */ "loglevel": "DEBUG",

//Logging configuration. See log4js documentation for further information // https://github.com/nomiddlename/log4js-node // You can add as many appenders as you want here: "logconfig" : { "appenders": [ { "type": "console" //, "category": "access"// only logs pad access } /* , { "type": "file" , "filename": "your-log-file-here.log" , "maxLogSize": 1024 , "backups": 3 // how many log files there're gonna be at max //, "category": "test" // only log a specific category }/ / , { "type": "logLevelFilter" , "level": "warn" // filters out all log messages that have a lower level than "error" , "appender": { Use whatever appender you want here } }/ / , { "type": "logLevelFilter" , "level": "error" // filters out all log messages that have a lower level than "error" , "appender": { "type": "smtp" , "subject": "An error occured in your EPL instance!" , "recipients": "bar@blurdybloop.com, baz@blurdybloop.com" , "sendInterval": 60_5 // in secs -- will buffer log messages; set to 0 to send a mail for every message , "transport": "SMTP", "SMTP": { // see https://github.com/andris9/Nodemailer#possible-transport-methods "host": "smtp.example.com", "port": 465, "secureConnection": true, "auth": { "user": "foo@example.com", "pass": "barfoo" } } } }/ ] } }

I have had a problem with it running out of memory with

FATAL ERROR: Malloced operator new Allocation failed - process out of memory

But only when I have the admin/plugins page running. Not sure if this is related or not.

Running on Ubuntu VPS Ubuntu 10.10 1.5Gb memory

Any suggestions on where the problem is?

JohnMcLear commented 11 years ago

You haven't uncommented properly

JohnMcLear commented 11 years ago

also chown -R etherpad-lite your etherpad lite folder..

phoebebright commented 11 years ago

Settings looking better:

"ssl" : { "key" : "/path-to-your/epl-server.key", "cert" : "/path-to-your/epl-server.crt" },

// An Example of MySQL Configuration (/ "dbType" : "mysql", "dbSettings" : { "user" : "etherpad", "host" : "localhost", "password": "honeycup", "database": "etherpad-lite" },

But still on bin/run.sh

root@vividlogic:/home/etherpad-lite# bin/run.sh You shouldn't start Etherpad-Lite as root! Please type 'Etherpad Lite rocks my socks' or supply the '--root' argument if you still want to start it as root Etherpad Lite rocks my socks [: 29: Etherpad: unexpected operator Ensure that all dependencies are up to date... If this is the first time you have run Etherpad please be patient. Ensure jQuery is downloaded and up to date... Clear minfified cache... ensure custom css/js files are created... start...

[2013-05-08 17:23:10.328] [WARN] console - DirtyDB is used. This is fine for testing but not recommended for production.

JohnMcLear commented 11 years ago

git pull

get latest version, pretty sure I fixed that unexpected operator thing, still, it's running fine :)

phoebebright commented 11 years ago

Was only one version out but still getting [: 29: Etherpad: unexpected operator

However, using the mysql database now, it was just my screwed up comments.

Thanks for your help and looking forward to using Etherpad again. Nothing better on the web in my view!

Phoebe.