MIGHTY_MIDHUN
MIGHTY_MIDHUN
RRailway
Created by MIGHTY_MIDHUN on 9/11/2024 in #✋|help
Problem With Django Channels in Production
Hi all. I'm finding an issue with django channels in production. I'm running my django using docker. Everything works fine locally with environment variables set those same as production. But in production im getting the error --- Not Found: /ws/restaurant/11/orders/ I dont get this error locally even though im connected those of railway
25 replies
RRailway
Created by MIGHTY_MIDHUN on 8/17/2024 in #✋|help
Application failed to respond
Im getting this error whenever im deploying my Django application.I'm using docker. Here is the link to my github repo https://github.com/midhun98/hospital_site
32 replies
RRailway
Created by MIGHTY_MIDHUN on 8/1/2024 in #✋|help
Is GDAL installed? If it is, try setting GDAL_LIBRARY_PATH in your settings.
How to fix this error in postgres . how to install postgres extensions in railway. this is my settings in django if os.name == 'nt': GDAL_LIBRARY_PATH = os.path.join('C:\', 'OSGeo4W', 'bin', 'gdal309.dll') GEOS_LIBRARY_PATH = os.path.join('C:\', 'OSGeo4W', 'bin', 'geos_c.dll')
6 replies
RRailway
Created by MIGHTY_MIDHUN on 3/13/2024 in #✋|help
[CRITICAL] WORKER TIMEOUT (pid:27)
Why am I getting this error in my Django Project. I'm using simple webapp to display the portfolio of a team. This is the live website https://starbouncers.com/
10 replies
RRailway
Created by MIGHTY_MIDHUN on 9/9/2023 in #✋|help
AttributeError: 'DatabaseWrapper' object has no attribute 'set_schema'
I'm using django with mutlitenants using the package django-tenants==3.5.0 When i deployed the app to railway im getting the error. AttributeError: 'DatabaseWrapper' object has no attribute 'set_schema' I have also updated the railway environment variables and set my engine to ... ENGINE=django_tenants.postgresql_backend But I'm not able to fix the error
38 replies
RRailway
Created by MIGHTY_MIDHUN on 8/23/2023 in #✋|help
Railway too slow
I have an issue with my railwat app. The app is too slow once update my github project. Making it almost unusable. I keep getting logs like this [2023-08-23 09:38:55 +0000] [13] [ERROR] Worker (pid:29) exited with code 1 [2023-08-23 09:38:55 +0000] [13] [ERROR] Worker (pid:29) exited with code 1.  [2023-08-23 09:38:55 +0000] [30] [INFO] Booting worker with pid: 30
22 replies
RRailway
Created by MIGHTY_MIDHUN on 7/27/2023 in #✋|help
where does railway.app store user uploaded media files
I have a django app deployed in railway. The user will upload some files like pdf or any other documents like word or images and i need to store them. So where can I view the files the user has uploaded.
10 replies
RRailway
Created by MIGHTY_MIDHUN on 7/19/2023 in #✋|help
Django issue with images
I have a django app with debug set as False. I upload images from the UI and I cant see the uploaded images because the debug is set to false. So how do I resolve this issue. For example : if I upload image in django superadmin then also I cant view them
31 replies
RRailway
Created by MIGHTY_MIDHUN on 1/15/2023 in #✋|help
Website loading too slow
I have deployed a website in railway and the loading time is taking 30+ seconds to load. The same site takes less than 2 seconds to load in my local django project. This is my site that i deployed Update - Issue fixed. The problem was with my images in the website they were too high in quality and taking time to load. Now its reduced to 6s. Still too high
8 replies
RRailway
Created by MIGHTY_MIDHUN on 10/28/2022 in #✋|help
Django migrations
Help me how to run the django makemigrations and migrate command. I'm unable to run migrations
3 replies