Skip to content
This repository was archived by the owner on Jul 10, 2023. It is now read-only.
This repository was archived by the owner on Jul 10, 2023. It is now read-only.

"mongodb-runner start" failed because of no lsb_release on the system #157

@AurelienKun

Description

@AurelienKun

Hi everyone,
I try to setup a parse-server on my Synology NAS (arm) manually and so far i managed to install :

  • Node v8.9.4
  • parse-server v3.9.0
  • mongodb-runner v4.7.3

But when i run the command 'mongodb-runner start' I got this error
Error: Command failed: lsb_release -si /bin/sh: lsb_release: command not found
The thing is, Synology has customized the OS and some commands are not available. Is there a way to by-pass the use of this command ?

Here is the whole log :

$ mongodb-runner start
    Starting a MongoDB deployment to test against...
    /bin/sh: lsb_release: 
    command not found
    child_process.js:644
    throw err;
    ^
    Error: Command failed: lsb_release -si
    /bin/sh: lsb_release: command not found
    at checkExecSyncError (child_process.js:601:13)
    at execSync (child_process.js:641:13)
    at Object.lsbReleaseInfo (/volume1/homes/user/.npm-global/lib/node_modules/mongodb-runner/node_modules/mongodb-download-url/linuxDistro.js:20:20)
    at Object.getDistro (/volume1/homes/user/.npm-global/lib/node_modules/mongodb-runner/node_modules/mongodb-download-url/linuxDistro.js:9:30)
    at /volume1/homes/user/.npm-global/lib/node_modules/mongodb-runner/node_modules/mongodb-download-url/index.js:258:45
    at /volume1/homes/user/.npm-global/lib/node_modules/mongodb-runner/node_modules/mongodb-download-url/index.js:113:5
    at /volume1/homes/user/.npm-global/lib/node_modules/mongodb-runner/node_modules/mongodb-version-list/index.js:83:7
    at toCallback (/volume1/homes/user/.npm-global/lib/node_modules/mongodb-runner/node_modules/downcache/index.js:254:2)
    at /volume1/homes/user/.npm-global/lib/node_modules/mongodb-runner/node_modules/downcache/index.js:105:4
    at /volume1/homes/user/.npm-global/lib/node_modules/mongodb-runner/node_modules/graceful-fs/graceful-fs.js:115:16

Thank you for your help.

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