Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

502 error after update 4.0.1 #4400

Closed
ghost opened this issue Sep 21, 2016 · 5 comments
Closed

502 error after update 4.0.1 #4400

ghost opened this issue Sep 21, 2016 · 5 comments

Comments

@ghost
Copy link

ghost commented Sep 21, 2016

After upgrading from version 0.39.0 to 0.40.1, chat an error 502. OS - Red Hat 4.4.6-4

  1. node -v - v6.6.0.
  2. sudo n install 4.5 - install : node-vinstall : Error: invalid version install.

3. Error from logfile

assert.js:93
throw new assert.AssertionError({
^
AssertionError: "undefined" === "function"
at wrapPathFunction (/root/Rocket.Chat/programs/server/mini-files.js:77:10)
at Object. (/root/Rocket.Chat/programs/server/mini-files.js:108:$
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object. (/root/Rocket.Chat/programs/server/boot.js:9:13)
at Module._compile (module.js:456:26)
error: Forever detected script exited with code: 8
error: Script restart attempt #24

@engelgabriel
Copy link
Member

engelgabriel commented Sep 22, 2016

node -v should be v4.5.0

@Flauschbaellchen
Copy link

Flauschbaellchen commented Sep 22, 2016

Type n 4.5 to change the version - the docs stating a wrong syntax (#4379, RocketChat/docs-old#96)

@ghost
Copy link
Author

ghost commented Sep 22, 2016

I set 4.5.0 ver.

[root@****]# node -v
v4.5.0

Error from log

Error: Cannot find module 'is-property'
at Function.Module._resolveFilename (module.js:325:15)
at Function.Module._load (module.js:276:25)
at Module.require (module.js:353:17)
at require (internal/module.js:12:17)
at Object. (/root/Rocket.Chat/programs/server/npm/node_modules/m$
at Module._compile (module.js:409:26)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
at Module.Mp.load (/root/Rocket.Chat/programs/server/npm/node_modules/meteo$
at Function.Module._load (module.js:300:12)
at Module.require (module.js:353:17)
...................................................................................

@engelgabriel
Copy link
Member

did you do a npm install before running?

@engelgabriel
Copy link
Member

See:
meteor/meteor#7358
https://forums.meteor.com/t/cannot-find-module-is-property/26029/5

Please reopen if the problem persists

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

No branches or pull requests

3 participants