9 months ago
I am trying to add a celery worker service to my django app. I have created a seperate service using the same github repo. To override procfile I am defining startcommand as this
celery -A <projectname>.celery_app worker -E -l info --uid=nobody
when not using --uid it crashes and gives me error that "you are running celery as a superuser".
I even tried a different command to just check if python installation was the issue but it was fine. there is something wrong at railway's end i am assuming because pkgutil is included in standard library.
Can you please provide a fix for this?
1 Replies
9 months ago
Could you please ensure that your Python environment is correctly configured on Railway? You might want to verify that the version of Python you're using includes pkgutil. You can specify the Python version in your requirements.txt or Pipfile.
Status changed to Awaiting User Response Railway • 9 months ago
4 months ago
This thread has been marked as solved automatically due to a lack of recent activity. Please re-open this thread or create a new one if you require further assistance. Thank you!
Status changed to Solved Railway • 4 months ago