Error: The module '/opt/Rocket.Chat/programs/server/node_modules/fibers/bin/linux-x64-57-glibc/fibers.node
When starting rocketchat service
Server Setup Information
Version of Rocket.Chat Server:
Operating System: Debian 9
Deployment Method: source
Number of Running Instances: 1
DB Replicaset Oplog:
NodeJS Version: 12.14
MongoDB Version: v3.6.17
Proxy: nginx
Firewalls involved: none
Any additional Information
So i get this error when trying to upgrade from version 2 to latest version. It seems that rocket chat is still looking for fibers in the old folder linux-x64-57-glibc but instead i now have the linux-x64-72-glibc,
how can i resolve this?
Feb 27 11:40:56 chat rocketchat[679]: Error: Cannot find module ‘/opt/Rocket.Chat/programs/server/node_modules/fibers/bin/linux-x64-57-glibc/fibers’
Feb 27 11:40:56 chat rocketchat[679]: at Function.Module._resolveFilename (module.js:548:15)
Feb 27 11:40:56 chat rocketchat[679]: at Function.Module._load (module.js:475:25)
Feb 27 11:40:56 chat rocketchat[679]: at Module.require (module.js:597:17)
Feb 27 11:40:56 chat rocketchat[679]: at require (internal/module.js:11:18)
Feb 27 11:40:56 chat rocketchat[679]: at Object. (/opt/Rocket.Chat/programs/server/node_modules/fibers/fibers.js:14:39)
Feb 27 11:40:56 chat rocketchat[679]: at Module._compile (module.js:653:30)
It looks like rocketchat is looking for fibers in the old directory /linux-x64-57-glibc/ where as now we have /linux-x64-72-glibc