sampaiodiego / rocket.chat.app-poll

Rocket.Chat App for creating polls.
MIT License
50 stars 39 forks source link

Polls doesn’t restart after Rocket and mongoDB update #75

Open lascapi opened 2 years ago

lascapi commented 2 years ago

Hi, since we are with RocketChat v4.5.2 the poll app doesn’t work anymore.

Here our configuration:

Version
4.5.2
ID de déploiement
HrkaShDxAHeexpMAd
Version d'Apps Engine
1.31.0
Version de Node
v14.18.3
Mise à jour de la base de données
256 (14 mars 2022 22:13)
MongoDB
4.2.19 / wiredTiger (oplog Activé)
Détails du commit
HEAD: (ed2cb3fe6)
Branche: HEAD
PID
11

And the error we got in the logs :

Instance: ERbqDJFyt5eTCKv54
debug: 2022-03-14T21:14:00.020Z Appelant: anonymous OR constructor -> App

[
  "Constructed the App Poll (c33fa1a6-68a7-491e-bf49-9d7b99671c48)",
  "v2.0.0 which depends on the API v^1.12.0!",
  "Created by Diego Sampaio"
]

debug: 2022-03-14T21:14:00.021Z Appelant: anonymous OR constructor

[
  "The status is now: constructed"
]

debug: 2022-03-14T21:14:00.021Z Appelant: anonymous OR constructor

[
  "The status is now: compiler_error_disabled"
]

error: 2022-03-14T21:14:00.021Z Appelant: anonymous OR constructor
[
  "{\"stack\":\"Error: FileNotFound: file 61911db00955a0000755e005 was not found
    at /app/bundle/programs/server/npm/node_modules/meteor/npm-mongo/node_modules/mongodb/lib/gridfs-stream/download.js:285:17
    at /app/bundle/programs/server/npm/node_modules/meteor/npm-mongo/node_modules/mongodb/lib/utils.js:704:5
    at executeCallback (/app/bundle/programs/server/npm/node_modules/meteor/npm-mongo/node_modules/mongodb/lib/operations/execute_operation.js:65:7)
    at handleCallback (/app/bundle/programs/server/npm/node_modules/meteor/npm-mongo/node_modules/mongodb/lib/utils.js:109:55)
    at /app/bundle/programs/server/npm/node_modules/meteor/npm-mongo/node_modules/mongodb/lib/operations/find_one.js:31:9
    at /app/bundle/programs/server/npm/node_modules/meteor/npm-mongo/node_modules/mongodb/lib/utils.js:704:5
    at /app/bundle/programs/server/npm/node_modules/meteor/npm-mongo/node_modules/mongodb/lib/cursor.js:252:9
    at /app/bundle/programs/server/npm/node_modules/meteor/npm-mongo/node_modules/mongodb/lib/core/cursor.js:746:9
    at handleCallback (/app/bundle/programs/server/npm/node_modules/meteor/npm-mongo/node_modules/mongodb/lib/core/cursor.js:32:5)
    at /app/bundle/programs/server/npm/node_modules/meteor/npm-mongo/node_modules/mongodb/lib/core/cursor.js:690:38
    at Cursor._endSession (/app/bundle/programs/server/npm/node_modules/meteor/npm-mongo/node_modules/mongodb/lib/core/cursor.js:404:7)
    at _setCursorNotifiedImpl (/app/bundle/programs/server/npm/node_modules/meteor/npm-mongo/node_modules/mongodb/lib/core/cursor.js:699:10)
    at setCursorNotified (/app/bundle/programs/server/npm/node_modules/meteor/npm-mongo/node_modules/mongodb/lib/core/cursor.js:690:3)
    at done (/app/bundle/programs/server/npm/node_modules/meteor/npm-mongo/node_modules/mongodb/lib/core/cursor.js:465:16)
    at queryCallback (/app/bundle/programs/server/npm/node_modules/meteor/npm-mongo/node_modules/mongodb/lib/core/cursor.js:510:20)
    at /app/bundle/programs/server/npm/node_modules/meteor/npm-mongo/node_modules/mongodb/lib/core/cursor.js:555:9
    at /app/bundle/programs/server/npm/node_modules/meteor/npm-mongo/node_modules/mongodb/lib/utils.js:704:5
    at executeCallback (/app/bundle/programs/server/npm/node_modules/meteor/npm-mongo/node_modules/mongodb/lib/operations/execute_operation.js:65:7)
    at callbackWithRetry (/app/bundle/programs/server/npm/node_modules/meteor/npm-mongo/node_modules/mongodb/lib/operations/execute_operation.js:112:14)
    at /app/bundle/programs/server/npm/node_modules/meteor/npm-mongo/node_modules/mongodb/lib/cmap/connection_pool.js:350:13
    at handleOperationResult (/app/bundle/programs/server/npm/node_modules/meteor/npm-mongo/node_modules/mongodb/lib/core/sdam/server.js:565:5)
    at MessageStream.messageHandler (/app/bundle/programs/server/npm/node_modules/meteor/npm-mongo/node_modules/mongodb/lib/cmap/connection.js:281:5)\",\"message\":\"FileNotFound: file 61911db00955a0000755e005 was not found\",\"code\":\"ENOENT\"}"
]

I’m not sure if it’s because of the API a bit old or maybe the mongoDB Version ? Or something else ?

Thank’s for this app we use, and for the response. :)