a year ago
here is log
please help
Starting Container
[2025-04-21 15:16:56 +0000] [2] [INFO] Handling signal: term
[2025-04-21 15:16:56 +0000] [59] [INFO] Worker exiting (pid: 59)
[2025-04-21 15:16:57 +0000] [61] [INFO] Worker exiting (pid: 61)
[2025-04-21 15:16:58 +0000] [2] [INFO] Shutting down: Master
Cloudinary configured successfully.
[2025-04-21 15:16:51 +0000] [2] [INFO] Starting gunicorn 21.2.0
[2025-04-21 15:16:51 +0000] [2] [INFO] Listening at: http://0.0.0.0:3000 (2)
[2025-04-21 15:16:51 +0000] [2] [INFO] Using worker: gthread
[2025-04-21 15:16:51 +0000] [59] [INFO] Booting worker with pid: 59
[2025-04-21 15:16:51 +0000] [61] [INFO] Booting worker with pid: 61
--- Healthcheck endpoint '/health' accessed ---
--- blur_service.py script started ---
Initializing PaddleOCR globally (forcing CPU)…
PaddleOCR initialized globally (CPU).
Stopping Container
26 Replies
a year ago
Your application seems to be sending a TERM signal on initialization?
a year ago
[2025-04-21 15:16:56 +0000] [2] [INFO] Handling signal: term
a year ago
Does it run locally?
a year ago
I don't know much about python
a year ago
What is it intended to do?
a year ago
Railway should automatically create the required docker environment for your app, there’s a bit of configuration you may need but we’ll start from scratch here
a year ago
A gunicorn api?
a year ago
I’m seeing gunicorn in the logs
a year ago
great. Flask? or another framework
a year ago
Great. copy the railway.json from the template linked below, then see if your app runs
a year ago
if you have any other config files, please delete them
a year ago
if you have one, yes
a year ago
we’re starting from scratch here with a known working setup
when i delected the railway toml file and created railway.json
Failed to parse JSON file railway.json: unexpected end of JSON input
when both was there
--- Healthcheck endpoint '/health' accessed ---
[2025-04-21 18:26:02 +0000] [2] [INFO] Handling signal: term
[2025-04-21 18:26:03 +0000] [59] [INFO] Worker exiting (pid: 59)
[2025-04-21 18:26:03 +0000] [61] [INFO] Worker exiting (pid: 61)
[2025-04-21 18:26:05 +0000] [2] [INFO] Shutting down: Master
Stopping Container
a year ago
please send the entire log file, not just a snippet. You can download the logs by clicking command/ctrl + k on the deployment menu
here is the downloaded deployed log