Skip to content

Etherpad-lite 1.8.18 doesn't run with Passenger #5683

@avkarenow

Description

@avkarenow

Etherpad-lite doesn't run with Passenger but working fine from commandline (src/bin/run.sh)
Hangs with:

[2023-01-28 19:51:17.940] [INFO] plugins - npm --version: 6.14.15

Tested on
Passenger 6 (Nginx)
Node.js v14 and v16

I fixed it by editing src/node/server.js last lines:

//if (require.main === module) exports.start();
exports.start();

It seems that exports.start() is never called while running with Passenger.
I guess we need to do a better fix than that ;)

Metadata

Metadata

Assignees

No one assigned

    Labels

    StaleNo recent activity

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions