Advertisement
Guest User

Untitled

a guest
Jan 5th, 2022
330
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 4.76 KB | None | 0 0
  1. sudo docker-compose up
  2. Building with native build. Learn about native build in Compose here: https://docs.docker.com/go/compose-native-build/
  3. Starting potok-lk_django_1 ... done
  4. Starting potok-lk_db_1     ... done
  5. Starting c3297c9ce8c7_potok-lk_nginx_1 ... done
  6. Attaching to potok-lk_db_1, potok-lk_django_1, c3297c9ce8c7_potok-lk_nginx_1
  7. c3297c9ce8c7_potok-lk_nginx_1 | /docker-entrypoint.sh: /docker-entrypoint.d/ is not empty, will attempt to perform configuration
  8. c3297c9ce8c7_potok-lk_nginx_1 | /docker-entrypoint.sh: Looking for shell scripts in /docker-entrypoint.d/
  9. c3297c9ce8c7_potok-lk_nginx_1 | /docker-entrypoint.sh: Launching /docker-entrypoint.d/10-listen-on-ipv6-by-default.sh
  10. db_1      |
  11. db_1      | PostgreSQL Database directory appears to contain a database; Skipping initialization
  12. db_1      |
  13. db_1      | 2022-01-05 20:50:17.718 UTC [1] LOG:  starting PostgreSQL 13.4 on x86_64-pc-linux-musl, compiled by gcc (Alpine 10.3.1_git20210424) 10.3.1 20210424, 64-bit
  14. db_1      | 2022-01-05 20:50:17.718 UTC [1] LOG:  listening on IPv4 address "0.0.0.0", port 5432
  15. db_1      | 2022-01-05 20:50:17.718 UTC [1] LOG:  listening on IPv6 address "::", port 5432
  16. db_1      | 2022-01-05 20:50:17.726 UTC [1] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
  17. c3297c9ce8c7_potok-lk_nginx_1 | 10-listen-on-ipv6-by-default.sh: info: /etc/nginx/conf.d/default.conf is not a file or does not exist
  18. db_1      | 2022-01-05 20:50:17.735 UTC [22] LOG:  database system was shut down at 2022-01-05 20:50:11 UTC
  19. c3297c9ce8c7_potok-lk_nginx_1 | /docker-entrypoint.sh: Launching /docker-entrypoint.d/20-envsubst-on-templates.sh
  20. db_1      | 2022-01-05 20:50:17.740 UTC [1] LOG:  database system is ready to accept connections
  21. c3297c9ce8c7_potok-lk_nginx_1 | /docker-entrypoint.sh: Launching /docker-entrypoint.d/30-tune-worker-processes.sh
  22. c3297c9ce8c7_potok-lk_nginx_1 | /docker-entrypoint.sh: Configuration complete; ready for start up
  23. c3297c9ce8c7_potok-lk_nginx_1 | 2022/01/05 20:50:18 [emerg] 1#1: unknown directive "listen:80" in /etc/nginx/conf.d/nginx-conf.conf:6
  24. c3297c9ce8c7_potok-lk_nginx_1 | nginx: [emerg] unknown directive "listen:80" in /etc/nginx/conf.d/nginx-conf.conf:6
  25. c3297c9ce8c7_potok-lk_nginx_1 exited with code 1
  26. django_1  | [2022-01-05 20:50:18 +0000] [1] [INFO] Starting gunicorn 20.1.0
  27. django_1  | [2022-01-05 20:50:18 +0000] [1] [INFO] Listening at: http://0.0.0.0:8000 (1)
  28. django_1  | [2022-01-05 20:50:18 +0000] [1] [INFO] Using worker: sync
  29. django_1  | [2022-01-05 20:50:18 +0000] [7] [INFO] Booting worker with pid: 7
  30. django_1  | [2022-01-05 20:50:18 +0000] [7] [ERROR] Exception in worker process
  31. django_1  | Traceback (most recent call last):
  32. django_1  |   File "/usr/local/lib/python3.9/site-packages/gunicorn/arbiter.py", line 589, in spawn_worker
  33. django_1  |     worker.init_process()
  34. django_1  |   File "/usr/local/lib/python3.9/site-packages/gunicorn/workers/base.py", line 134, in init_process
  35. django_1  |     self.load_wsgi()
  36. django_1  |   File "/usr/local/lib/python3.9/site-packages/gunicorn/workers/base.py", line 146, in load_wsgi
  37. django_1  |     self.wsgi = self.app.wsgi()
  38. django_1  |   File "/usr/local/lib/python3.9/site-packages/gunicorn/app/base.py", line 67, in wsgi
  39. django_1  |     self.callable = self.load()
  40. django_1  |   File "/usr/local/lib/python3.9/site-packages/gunicorn/app/wsgiapp.py", line 58, in load
  41. django_1  |     return self.load_wsgiapp()
  42. django_1  |   File "/usr/local/lib/python3.9/site-packages/gunicorn/app/wsgiapp.py", line 48, in load_wsgiapp
  43. django_1  |     return util.import_app(self.app_uri)
  44. django_1  |   File "/usr/local/lib/python3.9/site-packages/gunicorn/util.py", line 359, in import_app
  45. django_1  |     mod = importlib.import_module(module)
  46. django_1  |   File "/usr/local/lib/python3.9/importlib/__init__.py", line 127, in import_module
  47. django_1  |     return _bootstrap._gcd_import(name[level:], package, level)
  48. django_1  |   File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
  49. django_1  |   File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  50. django_1  |   File "<frozen importlib._bootstrap>", line 972, in _find_and_load_unlocked
  51. django_1  |   File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
  52. django_1  |   File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
  53. django_1  |   File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  54. django_1  |   File "<frozen importlib._bootstrap>", line 984, in _find_and_load_unlocked
  55. django_1  | ModuleNotFoundError: No module named 'app'
  56. django_1  | [2022-01-05 20:50:18 +0000] [7] [INFO] Worker exiting (pid: 7)
  57. django_1  | [2022-01-05 20:50:18 +0000] [1] [INFO] Shutting down: Master
  58. django_1  | [2022-01-05 20:50:18 +0000] [1] [INFO] Reason: Worker failed to boot.
  59. potok-lk_django_1 exited with code 3
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement