53 Replies
a year ago
i'm going to need some more information, why is it crashing?
the problem was my was django but the project service provider was nodejs i changed to python but why did this happened
a year ago
node is detected when you have a package.json file
a year ago
plenty of reasons why a django app could have a package.json, and nixpacks does it best to attempt to deploy a wide variety of apps, but unfortunately that means it wont be able to deploy every kind of project, some projects would need a little bit of extra config
i am getting FileNotFoundError: [Errno 2] No such file or directory: '/app/media/archives/AatoGadidSaami.docx', when i upload media file and i want to download it , is there extra steps i need to do to make sure file upload is served correctly on railway , on my django app everything is setup correctly
a year ago
how big is that docx file?
a year ago
this would be a config issue with your app, do you have a url handler setup to serve that file?
a year ago
lets see your urls.py file please
here is urls.py project level
a year ago
what is the MEDIA_URL set to?
a year ago
you likely need to use a regex path as shown here -
a year ago
looks good at first glace, let me know if that works
a year ago
if you want the files to persist between deployments, yes
of course i need the files to be persistant can you guide how to do it please
a year ago
try mounting a volume to /app/media
a year ago
i can't move a way from here i click the volume and i paste /app/media/ it just skips back to this same screen
a year ago
have you tried typing out the text?
a year ago
i am unable to reproduce, right click your service to attach a volume
a year ago
you are in the project canvas, that is correct
a year ago
that is called a service, click it and then enter the path
a year ago
there is no volume there?
a year ago
assuming it was mounted at the correct location, yes
Access to XMLHttpRequest at 'https://notary-api-v2.up.railway.app/auth/token/login/' from origin 'https://notary-ui-v2.up.railway.app' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource., sorry new error , before everything was working
a year ago
a year ago
no, try to redeploy
a year ago
are you sure that is the correct domain?
a year ago
just a ui bug
still error : Not Found
The train has not arrived at the station.
Please check your network settings to confirm that your domain has provisioned.
If you are a visitor, please let the owner know you're stuck at the station.
Request ID:
GokiIyUCRge7xm82vdQx4Q_2823689937, what is wrong