timvisee / timvisee/send-docker-compose
Cant upload a file, uploading stucks at 75%
Open
Nobody has claimed this yet.
- Dominant language
- No language data
- Stars
- 170
- Forks
- 21
- PR merge metrics
- No merged PRs in 30d
Description
When trying to upload a simple txt file, uploading froze on 75%
Error msg:
send-docker-compose-send-1 | [ 'https://timuzkas.mywire.org', 'wss://timuzkas.mywire.org' ]
send-docker-compose-send-1 | {"Timestamp":1707994689088000000,"Logger":"FirefoxSend","Type":"uncaughtException","Severity":0,"Pid":1,"EnvVersion":"2.0","Fields":{"error":"Error: ENOENT: no such file or directory, unlink '/uploads/1-f8e4897cc92c2e9b'","stack":"\n at Object.unlinkSync (node:fs:1718:3)\n at WriteStream.<anonymous> (/app/server/storage/fs.js:34:12)\n at WriteStream.emit (node:events:402:35)\n at WriteStream.emit (node:domain:475:12)\n at emitErrorNT (node:internal/streams/destroy:157:8)\n at emitErrorCloseNT (node:internal/streams/destroy:122:3)\n at processTicksAndRejections (node:internal/process/task_queues:83:21)"}}
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the upload failure log and inspect /app/server/storage/fs.js at line 34, where the missing /uploads file is unlinked. Reproduce the simple .txt upload in the docker-compose setup and trace when the temporary file is removed. Done means the upload completes past 75% without the ENOENT error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker-compose, node.js
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100