gerk
gerk
RRailway
Created by gerk on 7/22/2023 in #✋|help
How does storage work inside railway?
I'll figure something out, right now I'm happy with the current result
24 replies
RRailway
Created by gerk on 7/22/2023 in #✋|help
How does storage work inside railway?
or output.log in this case
24 replies
RRailway
Created by gerk on 7/22/2023 in #✋|help
How does storage work inside railway?
tried running without /dev/null locally, still outputs the same thing, the command itself is outputting it to laravel.log
24 replies
RRailway
Created by gerk on 7/22/2023 in #✋|help
How does storage work inside railway?
Running php artisan schedule:run >> /dev/null 2>&1 only outputs what's running inside the log viewer By this, I mean, it only outputs Schedule X has ran... bla bla bla to the log viewer
24 replies
RRailway
Created by gerk on 7/22/2023 in #✋|help
How does storage work inside railway?
Running php artisan schedule:run >> /dev/null 2>&1 only outputs what's running inside the log viewer but it doesn't include the command's outputs, I still have no clue how to output cron logs to stdout. running them using their respective command logs them to stdout and stderr though, problem with running them without the scheduler is that they overlap
24 replies
RRailway
Created by gerk on 7/22/2023 in #✋|help
How does storage work inside railway?
How do I mark this thread as resolved?
24 replies
RRailway
Created by gerk on 7/22/2023 in #✋|help
How does storage work inside railway?
Update: this seems to fix the issue with cron logs not getting picked up by laravel while at the same time sharing this instace It seems like railway doesn't create the logs sub directory, it's getting saved inside the root of the storage path
24 replies
RRailway
Created by gerk on 7/22/2023 in #✋|help
How does storage work inside railway?
Is it possible to add a project ID for this thread?
24 replies
RRailway
Created by gerk on 7/22/2023 in #✋|help
How does storage work inside railway?
someone stated at the laracast forum that inorder to use the scheduler, this should be ran php artisan schedule:run >> /dev/null 2>&1 But this doesn't seem to output anything, my env is set to stdout for logging
24 replies
RRailway
Created by gerk on 7/22/2023 in #✋|help
How does storage work inside railway?
I have 2 instances running, 1 for CRON and the other for fetching the log file exclusively
24 replies
RRailway
Created by gerk on 7/22/2023 in #✋|help
How does storage work inside railway?
Or are storages separated by instances?
24 replies
RRailway
Created by gerk on 7/22/2023 in #✋|help
How does storage work inside railway?
Laravel storage_path() saves the log files inside /var/app/www/ (can't remember the full path, but you get the idea) but when fetching it, it returns a file not found error, by any chance is it because of permissions?
24 replies
RRailway
Created by gerk on 7/22/2023 in #✋|help
How does storage work inside railway?
N/A
24 replies
RRailway
Created by gerk on 4/28/2023 in #✋|help
503 when deploying a Laravel Application
There should be a log inside the deploy tab telling you that it's listening to a port
10 replies
RRailway
Created by gerk on 4/28/2023 in #✋|help
503 when deploying a Laravel Application
Make sure your application is listening to 0.0.0.0 and the $PORT variable, that's how I fixed mine
10 replies
RRailway
Created by gerk on 4/28/2023 in #✋|help
503 when deploying a Laravel Application
the thread can be locked now
10 replies
RRailway
Created by gerk on 4/28/2023 in #✋|help
503 when deploying a Laravel Application
UPDATE: I finally got it fixed, apparently adding a procfile is causing the issue, It seems to me that it's overriding the listener after the build process
10 replies
RRailway
Created by gerk on 4/28/2023 in #✋|help
503 when deploying a Laravel Application
UPDATE: even with the railway template, still throws a 503 error. I'm running out of options
10 replies
RRailway
Created by gerk on 4/28/2023 in #✋|help
503 when deploying a Laravel Application
c3fe1dab-94ef-478f-8681-7593e0603ac7
10 replies