Need Help with CLI: Accessing Laravel Project Storage and Permissions on Railway

fbrizuelaHOBBY

a year ago

I'm encountering an issue with the CLI in my Laravel project hosted on Railway. Typically, on Linux, I navigate to the project folder and access the log file for troubleshooting. However, I'm unsure how to do this on Railway. Additionally, I'm struggling to find a way to create or grant write permissions to a folder within the 'public' directory. Any guidance on accessing project storage and managing permissions would be greatly appreciated.

4 Replies

a year ago

Unfortunately, there's no way that I know of to read log files at the moment. I've been meaning to implement some sort of log streaming for a while (I'm the author of the Nixpacks PHP provider), but I haven't had the time to do it yet. As to granting write permissions, are you using Nixpacks or a Dockerfile to build your app?


fbrizuelaHOBBY

a year ago

I'm using Nixpacks as the builder for my Laravel project on Railway. Could you please provide guidance on how to manage permissions or access project storage with Nixpacks?


fbrizuelaHOBBY

a year ago

Hello


Is the public directory in a Railway volume?