Hi,
I have a rocketchat server version 0.71.1. I would like update to 3.7, but I know that have a process for it.
I first step is update from 0.71.1 to 1.0.3.
I tried many times, and it works perfects for some minutes, but have in less 10 minutes the restart in container.
I tried also update the mongo to 3.4 before and update to 1.0.1 after that, and same problem.
happen this error.
{ Error: ENOENT: no such file or directory, stat '/tmp/zipFiles/fsLkhh3DvKBWCxC5M.zip'
errno: -2,
code: 'ENOENT',
syscall: 'stat',
path: '/tmp/zipFiles/fsLkhh3DvKBWCxC5M.zip' }
packages/rocketchat_monitoring.js:3549
return originalRun.call(this, val);
^
TypeError: err.stack.split is not a function
at Object.exports.parse (/app/bundle/programs/server/npm/node_modules/stack-trace/lib/stack-trace.js:26:25)
at new Error (/app/bundle/programs/server/npm/node_modules/bugsnag/lib/error.js:69:28)
at Function.Error.buildErrors (/app/bundle/programs/server/npm/node_modules/bugsnag/lib/error.js:82:20)
at notify (/app/bundle/programs/server/npm/node_modules/bugsnag/lib/bugsnag.js:37:34)
at Object.Bugsnag.notify (/app/bundle/programs/server/npm/node_modules/bugsnag/lib/bugsnag.js:174:10)
at notify (app/lib/server/lib/bugsnag.js:22:10)
at Object.Meteor._debug (app/lib/server/lib/bugsnag.js:32:2)
at Object.Meteor._debug (app/error-handler/server/lib/RocketChat.ErrorHandler.js:43:32)
at onException (packages/meteor.js:1338:14)
at runWithEnvironment (packages/meteor.js:1361:9)
Server Setup Information
- Version of Rocket.Chat Server: 0.71.1
- Operating System: Debian 9.9
- Deployment Method: docker containers (configuration below)
- Number of Running Instances: 1
- DB Replicaset Oplog: yes
- NodeJS Version:
- MongoDB Version:
- Proxy:
- Firewalls involved:
➔ ±------------------------------------------------------+
➔ | SERVER RUNNING |
➔ ±------------------------------------------------------+
➔ | |
➔ | Rocket.Chat Version: 1.0.2 |
➔ | NodeJS Version: 8.11.4 - x64 |
➔ | MongoDB Version: 3.4.24 |
➔ | MongoDB Engine: wiredTiger |
➔ | Platform: linux |
➔ | Process Port: 3000 |
➔ | Site URL: https://chat.mywebsite.com.br/ |
➔ | ReplicaSet OpLog: Enabled |
➔ | Commit Hash: abf67ce985 |
➔ | Commit Branch: HEAD |
➔ | |
➔ ±------------------------------------------------------+
Any additional Information
Container configuration:
version: '2'
services:
reverse-proxy:
image: nginx:latest
restart: always
ports:
- 443:443
- 80:80
volumes:
- ../nginx/nginxconfigs/:/etc/nginx
links:
- "rocketchat:rocketchat"
router:
image: router:latest
restart: always
environment:
volumes:
- ../RocketChatApiRouter:/app
ports:
- 5000:5000
links:
- "rocketchat:rocket"
rocketchat:
image: rocketchat/rocket.chat:1.0.2
restart: always
volumes:
- ./uploads:/app/uploads
environment:
- PORT=3000
- ROOT_URL=http://localhost:3000
- MONGO_URL=mongodb://mongo:27017/rocketchat
- MONGO_OPLOG_URL=mongodb://mongo:27017/local
- MAIL_URL=smtp://smtp.email
depends_on:
- mongo
ports:
- 3000:3000
labels:
- "traefik.backend=rocketchat"
- "traefik.frontend.rule=Host: rocketchat.website2.com.br"
mongo:
image: mongo:3.4
restart: always
volumes:
- ./data/db:/data/db
#- ./data/dump:/dump
command: mongod --smallfiles --oplogSize 128 --replSet rs0
labels:
- "traefik.enable=false"
# this container's job is just run the command to initialize the replica set.
# it will run the command and remove himself (it will not stay running)
mongo-init-replica:
image: mongo:3.4
command: 'mongo mongo/rocketchat --eval "rs.initiate({ _id: ''rs0'', members: [ { _id: 0, host: ''localhost:27017'' } ]})"'
depends_on:
- mongo
It is important for me, because the new windows app is not connecting in this server version.
tks.