DeadMozay
DeadMozay
The problem is solved by setting `websockify == 0.7.0` and moving `/etc/nginx/conf.d/wok.conf` to `/etc/nginx/vhost.d/wok.conf`
> Hi, > Thank you so much for this contribution. > I am not very experienced with build systems and even packaging many other systems. But I looked into the...
> > > Hi, > > > Thank you so much for this contribution. > > > I am not very experienced with build systems and even packaging many other...
> Why? It's just a python app, let's keep in python way. For each distribution, there are certain rules for packaging applications, some distributions package python with simultaneous support for...
> [RocketChat/Rocket.Chat#26231](https://github.com/RocketChat/Rocket.Chat/issues/26231) > > FIX does not solve this problem, I added `directConnection=true`, with docker it probably solves it, without docker the error still remains mongodb 5.0
``` ❯ echo $MONGO_URL mongodb://127.0.0.1:27017/rocketchat?replicaSet=rs0&directConnection=true ``` ``` ❯ echo $MONGO_OPLOG_URL mongodb://127.0.0.1:27017/local?replicaSet=rs0&directConnection=true ``` ``` ❯ /usr/bin/node /opt/Rocket.Chat/main.js /opt/Rocket.Chat/programs/server/node_modules/fibers/future.js:313 throw(ex); ^ MongoServerSelectionError: Server selection timed out after 30000 ms at Timeout._onTimeout (/opt/Rocket.Chat/programs/server/npm/node_modules/meteor/npm-mongo/node_modules/mongodb/lib/sdam/topology.js:312:38)...
> rs.initiate( _id: "rs0", members: [ { _id: 0, host: "MONGODB URL" } ] ) already done, did not help ``` replocal:PRIMARY> rs.initiate({_id: "rs0", members: [{ _id: 0, host :...
> and it will not delete all data from a DB?
> it works up to rocketchat version 5.0.0 ``` ❯ mongo rocketchat --eval "db.dropDatabase()" MongoDB shell version v5.0.9 connecting to: mongodb://127.0.0.1:27017/rocketchat?compressors=disabled&gssapiServiceName=mongodb Implicit session: session { "id" : UUID("a2f03843-1f72-421d-afdc-3e0259c8d21f") } MongoDB...
`reconfig()` did not help Fixed, dropped the `local` database, performed initialization, restored from a backup, it worked