Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker Backend Not running #354

Open
codewith-arijit opened this issue Oct 1, 2021 · 3 comments
Open

Docker Backend Not running #354

codewith-arijit opened this issue Oct 1, 2021 · 3 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@codewith-arijit
Copy link

Bug Report

Current Behavior

The Backend App is not running after installing through Docker.
I checked through the docker logs, which are as follows:


During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/bin/gunicorn", line 8, in <module>
    sys.exit(run())
  File "/usr/local/lib/python3.8/site-packages/gunicorn/app/wsgiapp.py", line 67, in run
    WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]").run()
  File "/usr/local/lib/python3.8/site-packages/gunicorn/app/base.py", line 231, in run
    super().run()
  File "/usr/local/lib/python3.8/site-packages/gunicorn/app/base.py", line 72, in run
    Arbiter(self).run()
  File "/usr/local/lib/python3.8/site-packages/gunicorn/arbiter.py", line 229, in run
    self.halt(reason=inst.reason, exit_status=inst.exit_status)
  File "/usr/local/lib/python3.8/site-packages/gunicorn/arbiter.py", line 342, in halt
    self.stop()
  File "/usr/local/lib/python3.8/site-packages/gunicorn/arbiter.py", line 393, in stop
    time.sleep(0.1)
  File "/usr/local/lib/python3.8/site-packages/gunicorn/arbiter.py", line 242, in handle_chld
    self.reap_workers()
  File "/usr/local/lib/python3.8/site-packages/gunicorn/arbiter.py", line 525, in reap_workers
    raise HaltServer(reason, self.WORKER_BOOT_ERROR)
gunicorn.errors.HaltServer: <HaltServer 'Worker failed to boot.' 3>`

⚙️ Environment

  • Python version(s):
    • 3.8.10
  • OS: Ubuntu 20.04 LTS

Possible Solution

Additional context/Screenshots

@codewith-arijit codewith-arijit added the bug Something isn't working label Oct 1, 2021
@RusherRG
Copy link
Member

RusherRG commented Oct 1, 2021

@codewith-arijit Are you building the docker image using BackEndApp/Dockerfile? Also, there should be more errors above the snippet you added. Could you please share those as well?

@codewith-arijit
Copy link
Author

@codewith-arijit Are you building the docker image using BackEndApp/Dockerfile? Also, there should be more errors above the snippet you added. Could you please share those as well?

I am using docker-compose, as mentioned in the installation.
Here you go with the whole logs: Pastebin

@RusherRG
Copy link
Member

RusherRG commented Oct 1, 2021

Thanks for reporting the bug. We'll look into it.

@McTechie McTechie added the help wanted Extra attention is needed label Feb 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants