No such file or directory
I have a storage container mounted to my app under "/storage". I'm just trying to figure out what path I should be trying to access from in my app since "/storage" itself or "./storage" doesn't seem to do the trick. Thanks
Solution:Jump to solution
When you deploy an application it goes into
/app/<application_code>
by default. I have found success with mounting my volumes to /app/<volume_mount_point>
as your application has all the permissions it needs in that folder11 Replies
Project ID:
3cfaeb38-a573-484f-93ad-93fd2f8bbb51
3cfaeb38-a573-484f-93ad-93fd2f8bbb51
Solution
When you deploy an application it goes into
/app/<application_code>
by default. I have found success with mounting my volumes to /app/<volume_mount_point>
as your application has all the permissions it needs in that folderWhat language are you using for your project?
It's an ExpressJS project
Do you mean I should write "/app/storage" as the custom mount point? Or is that the default when it is set to "/storage"?
I would use
/app/storage
as the mount point in your volume settings, and see if that helps. I believe just putting /storage
mounts it to the root folder of the container, not our apps.
At least that’s what I’ve had to do for a few projects nowI've given it a try and it seems to disagree once deployed
That's the result of this change:
Thank you. I can do some more testing with this a bit later today to see what the deal is.
Thank you!
Solved it. Interestingly the same /app/storage mounting point ended up magically working so I don't know why it was an issue before. Thanks for your help
Awesome! Glad it’s working