Assertion error
Your Rocket.Chat version: (make sure you are running the latest) upgrading process from 0.39.0 to 0.41.0
` root@h2529749:/opt# mv bundle/ Rocket.Chat root@h2529749:/opt# rm -rf rocket.chat.tgz root@h2529749:/opt# cd Rocket.Chat/programs/server/ root@h2529749:/opt/Rocket.Chat/programs/server# npm install npm WARN package.json [email protected] No description npm WARN package.json [email protected] No repository field. npm WARN package.json [email protected] No README data /
[email protected] install /opt/Rocket.Chat/programs/server/node_modules/fibers node build.js || nodejs build.js
make: Entering directory /opt/Rocket.Chat/programs/server/node_modules/fibers/build' CXX(target) Release/obj.target/fibers/src/fibers.o CXX(target) Release/obj.target/fibers/src/coroutine.o CC(target) Release/obj.target/fibers/src/libcoro/coro.o SOLINK_MODULE(target) Release/obj.target/fibers.node SOLINK_MODULE(target) Release/obj.target/fibers.node: Finished COPY Release/fibers.node make: Leaving directory/opt/Rocket.Chat/programs/server/node_modules/fibers/build'
Installed in /opt/Rocket.Chat/programs/server/node_modules/fibers/bin/linux-x64-v8-3.14/fibers.node
npm WARN cannot run in wd [email protected] node npm-rebuild.js (wd=/opt/Rocket.Chat/programs/server)
[email protected] node_modules/amdefine
[email protected] node_modules/meteor-promise
[email protected] node_modules/asap
[email protected] node_modules/underscore
[email protected] node_modules/eachline └── [email protected]
[email protected] node_modules/semver
[email protected] node_modules/source-map-support
[email protected] node_modules/source-map
[email protected] node_modules/promise
[email protected] node_modules/chalk ├── [email protected] ├── [email protected] ├── [email protected] ├── [email protected] ([email protected]) └── [email protected] ([email protected])
[email protected] node_modules/fibers root@h2529749:/opt/Rocket.Chat/programs/server# cd ../.. root@h2529749:/opt/Rocket.Chat# export ROOT_URL=http://vodteam.chat root@h2529749:/opt/Rocket.Chat# export MONGO_URL=mongodb://localhost:27017/rocketchat root@h2529749:/opt/Rocket.Chat# export PORT=80 root@h2529749:/opt/Rocket.Chat# node main.js
assert.js:93
throw new assert.AssertionError({
^
AssertionError: "undefined" === "function"
at wrapPathFunction (/opt/Rocket.Chat/programs/server/mini-files.js:77:10)
at Object.
`
Please follow https://rocket.chat/docs/installation/manual-installation/ubuntu/#update and make sure you are using NodeJS 4.5.0 now. Reopen the issue if the problem persists with you node and nom version.