RocketChat / RocketChat/Rocket.Chat

Error: ENOENT: no such file or directory, stat '/tmp/zipFiles/3DcMuCJGRx64JX3wo.zip'

Open
#12,635 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
46.1k
Forks
13.9k
Avg merge
3d 3h
Merged PRs (30d)
130

Description

{ Error: ENOENT: no such file or directory, stat '/tmp/zipFiles/3DcMuCJGRx64JX3wo.zip'
Nov 16 11:45:00 xxx rocketchat-server.rocketchat-server[27989]: errno: -2,
Nov 16 11:45:00 xxx rocketchat-server.rocketchat-server[27989]: code: 'ENOENT',
Nov 16 11:45:00 xxx rocketchat-server.rocketchat-server[27989]: syscall: 'stat',
Nov 16 11:45:00 xxx rocketchat-server.rocketchat-server[27989]: path: '/tmp/zipFiles/3DcMuCJGRx64JX3wo.zip' }
Nov 16 12:00:00 xxxx rocketchat-server.rocketchat-server[27989]: {

Rocket.Chat Version: 0.71.1
NodeJS Version: 8.11.3 - x64
Platform: linux

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the ENOENT error for the /tmp/zipFiles/*.zip path on the reported Rocket.Chat 0.71.1 and NodeJS 8.11.3 environment. Trace the code that creates, stats, and consumes this temporary ZIP, then verify that the missing-file condition is handled and covered by a regression test.

Written by the indexing model from the issue text.

Assessment

Tech stack
node.js
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.