-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Description
Issue Description
Parse server is crashing on Login and Sign up requests for node:9-alpine
or any other alpine
images. It works fine on node:9
or any other node images.
Steps to reproduce
- Take the latest pull of https://github.com/parse-community/parse-server-example
- Modify Dockerfile - change
FROM node:latest
toFROM node:9-alpine
- Build and run docker image
- Make signup or login request
Expected Results
Should create new user
Actual Outcome
The server will crash with following trace
Segmentation fault npm ERR! code ELIFECYCLE npm ERR! errno 139 npm ERR! [email protected] start:
node index.js npm ERR! Exit status 139 npm ERR! npm ERR! Failed at the [email protected] start script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. 2018-03-16T11:00:21.637131130Z npm ERR! A complete log of this run can be found in:
Environment Setup
-
Server
- parse-server version (Be specific! Don't say 'latest'.) : [2.7.4]
- Operating System: [node:9-alpine]
- Localhost or remote server? (AWS, Heroku, Azure, Digital Ocean, etc): [localhost]
-
Database
- MongoDB version: [3.2]
- Storage engine: [FILL THIS OUT]
- Hardware: [FILL THIS OUT]
- Localhost or remote server? (AWS, mLab, ObjectRocket, Digital Ocean, etc): [Remote - cosmosdb]
Logs/Trace
Log output 1 verbose cli [ '/usr/local/bin/node', '/usr/local/bin/npm', 'start' ] 2 info using [email protected] 3 info using [email protected] 4 verbose run-script [ 'prestart', 'start', 'poststart' ] 5 info lifecycle [email protected]~prestart: [email protected] 6 info lifecycle [email protected]~start: [email protected] 7 verbose lifecycle [email protected]~start: unsafe-perm in lifecycle true 8 verbose lifecycle [email protected]~start: PATH: /usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/parse/node_m 9 verbose lifecycle [email protected]~start: CWD: /parse 10 silly lifecycle [email protected]~start: Args: [ '-c', 'node index.js' ] 11 silly lifecycle [email protected]~start: Returned: code: 139 signal: null 12 info lifecycle [email protected]~start: Failed to exec start script 13 verbose stack Error: [email protected] start:
node index.js13 verbose stack Exit status 139 13 verbose stack at EventEmitter.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:285:16) 13 verbose stack at EventEmitter.emit (events.js:127:13) 13 verbose stack at ChildProcess.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14) 13 verbose stack at ChildProcess.emit (events.js:127:13) 13 verbose stack at maybeClose (internal/child_process.js:936:16) 13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:220:5) 14 verbose pkgid [email protected] 15 verbose cwd /parse 16 verbose Linux 4.9.60-linuxkit-aufs 17 verbose argv "/usr/local/bin/node" "/usr/local/bin/npm" "start" 18 verbose node v9.7.1 19 verbose npm v5.6.0 20 error code ELIFECYCLE 21 error errno 139 22 error [email protected] start:
node index.js 22 error Exit status 139 23 error Failed at the [email protected] start script. 23 error This is probably not a problem with npm. There is likely additional logging output above. 24 verbose exit [ 139, true ]