Error -- Could not write to disk

My server process is unable to write to the disk, but I don’t know why. I even added 777 permissions on the directory

Jan 7 02:48:05 PM  
{"level":50,"time":1641595685954,"pid":62,"hostname":"srv-c6elp2vh8vlcnlnvsm5g-76455dbcd9-cq2ff","reqId":"req-l","req":{"method":"GET","url":"/profile/nichoth","hostname":"pub2.onrender.com","remoteAddress":"10.104.67.28","remotePort":55486},"res":{"statusCode":500},"err":{"type":"InternalServerError","message":{},"stack":"InternalServerError: Error: could not write to tmpfile\n    at /opt/render/project/src/node_modules/@planetary-ssb/viewer/index.js:206:54\n    at /opt/render/project/src/node_modules/multiblob/index.js:235:28\n    at next (/opt/render/project/src/node_modules/pull-write-file/index.js:14:26)\n    at /opt/render/project/src/node_modules/pull-stream/throughs/map.js:19:9\n    at /opt/render/project/src/node_modules/pull-stream/throughs/through.js:19:9\n    at /opt/render/project/src/node_modules/pull-stream/throughs/async-map.js:28:19\n    at /opt/render/project/src/node_modules/pull-stream/throughs/through.js:19:9\n    at /opt/render/project/src/node_modules/pull-stream/sources/error.js:5:5\n    at /opt/render/project/src/node_modules/pull-stream/throughs/through.js:16:14\n    at next (/opt/render/project/src/node_modules/pull-stream/throughs/async-map.js:27:9)","status":500,"statusCode":500,"expose":false},"msg":{}}