8 months ago
After searching so much, I turn to you. Does anyone know why this error occurs in Railway if I have space on the platform and in MongoDB?
node:internal/fs/promises:743
(await PromisePrototypeThen(
^
Error: ENOSPC: no space left on device, write
at async write (node:internal/fs/promises:743:8)
at async writeFileHandle (node:internal/fs/promises:498:7) {
errno: -28,
code: 'ENOSPC',
syscall: 'write'
}
Node.js v21.7.3
ELIFECYCLE Command failed with exit code 1.
ⓘ Deployment information is only viewable by project members and Railway employees.
3 Replies
8 months ago
While the volume metrics may say you have not yet hit the 500MB limit, that is slightly irrelevant as this error is caused by mongo trying to allocate more space than what you have free on the volume.
You will need to upgrade to Hobby and then go into the volume's settings to grow it to 5GB.
8 months ago
Then this would be an application level issue that we are unable to provide assistance with because we do not offer coding help.
I recommend sites like stackoverflow as this error would not be related to the Railway platform.
Status changed to Closed brody • 8 months ago