Skip to content

Error: secret option required for sessions  #2063

Description

@amalfahad

I'm getting this error when I try to connect to the server. Can someone help, please?!
Thanks

alheety:~/local/etherpad/etherpad-lite$ bin/run.sh
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...
[2014-01-21 01:08:27.089] [WARN] console - You need to set a sessionKey value in settings.json, this will allow your users to reconnect to your Etherpad Instance if your instance restarts
[2014-01-21 01:08:27.091] [WARN] console - DirtyDB is used. This is fine for testing but not recommended for production.
[2014-01-21 01:08:28.532] [INFO] console - Installed plugins: ep_etherpad-lite
[2014-01-21 01:08:28.574] [INFO] console - Your Etherpad git version is e4fbf4b
[2014-01-21 01:08:28.575] [INFO] console - Report bugs at https://github.com/ether/etherpad-lite/issues
[2014-01-21 01:08:28.689] [INFO] console - info - 'socket.io started'
[2014-01-21 01:08:28.806] [INFO] console - You can access your Etherpad instance at http://0.0.0.0:9001/
[2014-01-21 01:08:28.806] [WARN] console - Admin username and password not set in settings.json. To access admin please uncomment and edit 'users' in settings.json
[2014-01-21 01:08:41.027] [ERROR] console - Error: secret option required for sessions
at Object.session as handle
at next (/home/alheety/local/etherpad/etherpad-lite/src/node_modules/express/node_modules/connect/lib/proto.js:199:15)
at Object.cookieParser as handle
at next (/home/alheety/local/etherpad/etherpad-lite/src/node_modules/express/node_modules/connect/lib/proto.js:199:15)
at Object.handle (/home/alheety/local/etherpad/etherpad-lite/src/node_modules/log4js/lib/connect-logger.js:95:2)
at next (/home/alheety/local/etherpad/etherpad-lite/src/node_modules/express/node_modules/connect/lib/proto.js:199:15)
at Object.exports.expressConfigure.args.app.use.log4js.connectLogger.level as handle
at next (/home/alheety/local/etherpad/etherpad-lite/src/node_modules/express/node_modules/connect/lib/proto.js:199:15)
at Object.exports.restartServer.app.configure.hooks.callAll.app as handle
at next (/home/alheety/local/etherpad/etherpad-lite/src/node_modules/express/node_modules/connect/lib/proto.js:199:15)
[2014-01-21 01:08:41.262] [ERROR] console - Error: secret option required for sessions
at Object.session as handle
at next (/home/alheety/local/etherpad/etherpad-lite/src/node_modules/express/node_modules/connect/lib/proto.js:199:15)
at Object.cookieParser as handle
at next (/home/alheety/local/etherpad/etherpad-lite/src/node_modules/express/node_modules/connect/lib/proto.js:199:15)
at Object.handle (/home/alheety/local/etherpad/etherpad-lite/src/node_modules/log4js/lib/connect-logger.js:95:2)
at next (/home/alheety/local/etherpad/etherpad-lite/src/node_modules/express/node_modules/connect/lib/proto.js:199:15)
at Object.exports.expressConfigure.args.app.use.log4js.connectLogger.level as handle
at next (/home/alheety/local/etherpad/etherpad-lite/src/node_modules/express/node_modules/connect/lib/proto.js:199:15)
at Object.exports.restartServer.app.configure.hooks.callAll.app as handle
at next (/home/alheety/local/etherpad/etherpad-lite/src/node_modules/express/node_modules/connect/lib/proto.js:199:15)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions