gerk
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 overlap24 replies
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
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 logging24 replies
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