Sharp is not a function, i cant made image uploads

After manual Update for 3.1 version, i can’t made file image file Uploads,

due to the lack of clarity in some implementation procedures I chose to keep my application manual and I hope that one day the manual implementation processes will be clearer for those unfamiliar with coding

in terminal i see the following message:

Error: FileNotFound: no file with id PLZMkidGnZ4wKP3JA found
at /var/www/html/Rocket.Chat/programs/server/npm/node_modules/meteor/npm-mongo/node_modules/mongodb/lib/gridfs-stream/index.js:188:25
at /var/www/html/Rocket.Chat/programs/server/npm/node_modules/meteor/npm-mongo/node_modules/mongodb/lib/utils.js:410:17
at /var/www/html/Rocket.Chat/programs/server/npm/node_modules/meteor/npm-mongo/node_modules/mongodb/lib/utils.js:398:11
at ClientSession.endSession (/var/www/html/Rocket.Chat/programs/server/npm/node_modules/meteor/npm-mongo/node_modules/mongodb-core/lib/sessions.js:134:41)
at executeCallback (/var/www/html/Rocket.Chat/programs/server/npm/node_modules/meteor/npm-mongo/node_modules/mongodb/lib/utils.js:395:17)
at deleteCallback (/var/www/html/Rocket.Chat/programs/server/npm/node_modules/meteor/npm-mongo/node_modules/mongodb/lib/operations/collection_ops.js:349:17)
at /var/www/html/Rocket.Chat/programs/server/npm/node_modules/meteor/npm-mongo/node_modules/mongodb/lib/operations/collection_ops.js:364:54
at handleCallback (/var/www/html/Rocket.Chat/programs/server/npm/node_modules/meteor/npm-mongo/node_modules/mongodb/lib/utils.js:128:55)
at /var/www/html/Rocket.Chat/programs/server/npm/node_modules/meteor/npm-mongo/node_modules/mongodb/lib/operations/collection_ops.js:1259:5
at handler (/var/www/html/Rocket.Chat/programs/server/npm/node_modules/meteor/npm-mongo/node_modules/mongodb-core/lib/sdam/topology.js:893:24)
at /var/www/html/Rocket.Chat/programs/server/npm/node_modules/meteor/npm-mongo/node_modules/mongodb-core/lib/connection/pool.js:397:18
at processTicksAndRejections (internal/process/task_queues.js:79:11)

Server Setup Information

➔ System ➔ startup
➔ ±------------------------------------------+
➔ | SERVER RUNNING |
➔ ±------------------------------------------+
➔ | |
➔ | Rocket.Chat Version: 3.1.1 |
➔ | NodeJS Version: 12.16.1 - x64 |
➔ | MongoDB Version: 4.0.16 |
➔ | MongoDB Engine: wiredTiger |
➔ | Platform: Ubuntu 16.04|
➔ | ReplicaSet OpLog: Enabled |
➔ | Commit Hash: 0a16a86bee |
➔ | Commit Branch: HEAD |
➔ | |
➔ ±------------------------------------------+