CodeLover
CodeLover
RRailway
Created by CodeLover on 11/16/2024 in #✋|help
My Django App is down (not responding) and deployments fail at creating containers
I have 4 apps in Railway and one is not responding. I tried a new deployment too and it is stuck at deployment step but there is no error in the logs. Thanks for your help #🚨|incidents #✋|#help
4 replies
RRailway
Created by CodeLover on 3/5/2024 in #✋|help
Railway volumes in Django not working as expected
Hello! I added a Volume to my Django project on Railway for persistent storage of PDF-Generated files. I set the mount path to /media. From what I read, there will be a media folder in the base directory (or maybe I need to create one if it does not exist) where the data will be persisted. However when I deploy changes all the files are lost. When I try to access a file using os.path.join('media', 'hello.pdf') I get a file does not exist error. I don't know if I am missing something.
11 replies
RRailway
Created by CodeLover on 2/22/2024 in #✋|help
How to stop celery worker in my project?
Hello. I hope you're doing well. I have a django project running along with a celery worker for executing bg tasks. The code for starting the worker is in my profile like so: Web: celery -A config worker --loglevel=info --concurrency=4 & python manage.py migrate && gunicorn config.wsgi --bind 0.0.0.0:$PORT Now how do I remove all running tasks and restart the worker afresh?
8 replies
RRailway
Created by CodeLover on 1/20/2024 in #✋|help
Database migration issue. The process stopped at Step 3 the Deploy Migration Service
I tried to migrate my railway database but it returned an error at step three without showing any log info
52 replies