R
RailwayPipapu ꔪꕐꖛ

CSV files in storage/app/data/csv not accessible?

Hello, I've setup a laravel api on railway. I have a seeder that tries to load csv files from the directory mentioned in the title.
$files = Storage::disk('local')->files('data/csv');
echo 'Files: ' . PHP_EOL;
print_r($files);
$files = Storage::disk('local')->files('data/csv');
echo 'Files: ' . PHP_EOL;
print_r($files);
the printed out files is just an empty array ..
#15 1.242 Files:
#15 1.242 Array
#15 1.242 (
#15 1.242 )
#15 1.242 Files:
#15 1.242 Array
#15 1.242 (
#15 1.242 )
Any Ideas?
P
Percy44d ago
Project ID: fbb9abf1-59d9-4091-830c-01471f0d1c5e
P
Pipapu ꔪꕐꖛ44d ago
fbb9abf1-59d9-4091-830c-01471f0d1c5e
B
Brody44d ago
how are you sure that there are actually files in that directory?
P
Pipapu ꔪꕐꖛ44d ago
dude i really am stupid xD You are right there is no such folder in my goddamn github repo .. Thanks for asking that .. Im gonna put the computer down for today xD its time to get some shut eye before anything
B
Brody44d ago
haha always gotta be asking these kind of questions
Want results from more Discord servers?
Add your server
More Posts
I have not touched my project in several weeks but at midnight railway reverted to a very old versioI'm very confused it looks like my project was deployed last night, although I have not touched it iI can't add DNS from GoDaddy to RailwayThey recommend me to change the server name...Unable to connect database after payentHello, i just pay for the month, now i'm unable to connect to the database. please help1,2GB RAM usage in React APPDo you know if it's normal this size of ram in a frontend created with react and typescript?Shopify proxy and HTTP/1.0Hello, I need help from members using Railway to host a Shopify app. I ran into this problem where Is it possible to change the default config of a Mysql Container?By default the container uses up a minimum of 500mb of ram, I found a stack overflow post on how to Cannot link, login nor logout with cli>railway logout 🚨 Response not successful status=404 >railway login 🚨 Response not successful staLost 2FA code for my accountI have lost my 2FA authenticator codes and I would like to reset my accountHow does it work the HD allocationI need 360gb to use how much does it cost?how to restore postgres db from dumb?i was given my db archives because my db was deleted due to migration. I am trying to restore the dbActivate SSL on my custom domainHello, I bought the domain apocolinks.com at DreamHost.com, this domain already has an active SSL ceBest way to secure postgres?What would be the best way to secure my postgres instance from outside connections? I would just turdeployments "Crashed"Hello, good afternoon, my problem is: deployments "Crashed" and the information in deploy logs MessaHow to use railway with monorepo?I created a new project and essentially my server code is not at the top level, and instead is one dHow can i set a limit?How can i set a limit per month?How can i pause my deployed MySQL Database before my trial plan ends?My project is named "amakusersdb".Cache mount ID is not prefixed with cache keyI'm getting the error above with this Dockerfile: ```dockerfile ARG NODE_VERSION=20.11.1 # Alpine Made a Paid account with Email and linking it with GitHub makes a separate trial accountHello Guys! I bought Railway Hobby plan three days ago and I'm trying to build my apps on Railway. B