Permission Denied when trying to write on Volume

Hi, I'm migrating my project onto Railway, and currently facing error that my application can't write a new file onto a volume. Here's the full error: /home/capes-api/capes/<filename>: permission denied
Solution:
Fixed this issue using /app/storage directory instead of my own.
Jump to solution
3 Replies
Percy
Percy2y ago
Project ID: 716652d4-2a28-4de9-b3e6-1341b7bf85d6
Solution
Pelfox
Pelfox2y ago
Fixed this issue using /app/storage directory instead of my own.
Brody
Brody2y ago
for future reference, you can get that error by trying to write into a directory structure that doesn't exist
Want results from more Discord servers?
Add your server