Facebook
From Michael Bishop, 1 Year ago, written in Plain Text.
Embed
Download Paste or View Raw
Hits: 326
  1. wizarr               | [2023-09-27 12:37:13 -0400] [1] [INFO] Starting gunicorn 20.1.0
  2.  
  3. wizarr               | [2023-09-27 12:37:13 -0400] [1] [INFO] Listening at: http://0.0.0.0:5690 (1)
  4.  
  5. wizarr               | [2023-09-27 12:37:13 -0400] [1] [INFO] Using worker: sync
  6.  
  7. wizarr               | [2023-09-27 12:37:13 -0400] [8] [INFO] Booting worker with pid: 8
  8.  
  9. wizarr               | [2023-09-27 12:37:13 -0400] [9] [INFO] Booting worker with pid: 9
  10.  
  11. wizarr               | [2023-09-27 12:37:13 -0400] [10] [INFO] Booting worker with pid: 10
  12.  
  13. wizarr               | [2023-09-27 12:37:13 -0400] [9] [ERROR] Exception in worker process
  14.  
  15. wizarr               | Traceback (most recent call last):
  16.  
  17. wizarr               |   File "/usr/local/lib/python3.11/site-packages/gunicorn/arbiter.py", line 589, in spawn_worker
  18.  
  19. wizarr               |     worker.init_process()
  20.  
  21. wizarr               |   File "/usr/local/lib/python3.11/site-packages/gunicorn/workers/base.py", line 134, in init_process
  22.  
  23. wizarr               |     self.load_wsgi()
  24.  
  25. wizarr               |   File "/usr/local/lib/python3.11/site-packages/gunicorn/workers/base.py", line 146, in load_wsgi
  26.  
  27. wizarr               |     self.wsgi = self.app.wsgi()
  28.  
  29. wizarr               |                 ^^^^^^^^^^^^^^^
  30.  
  31. wizarr               |   File "/usr/local/lib/python3.11/site-packages/gunicorn/app/base.py", line 67, in wsgi
  32.  
  33. wizarr               |     self.callable = self.load()
  34.  
  35. wizarr               |                     ^^^^^^^^^^^
  36.  
  37. wizarr               |   File "/usr/local/lib/python3.11/site-packages/gunicorn/app/wsgiapp.py", line 58, in load
  38.  
  39. wizarr               |     return self.load_wsgiapp()
  40.  
  41. wizarr               |            ^^^^^^^^^^^^^^^^^^^
  42.  
  43. wizarr               |   File "/usr/local/lib/python3.11/site-packages/gunicorn/app/wsgiapp.py", line 48, in load_wsgiapp
  44.  
  45. wizarr               |     return util.import_app(self.app_uri)
  46.  
  47. wizarr               |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  48.  
  49. wizarr               |   File "/usr/local/lib/python3.11/site-packages/gunicorn/util.py", line 359, in import_app
  50.  
  51. wizarr               |     mod = importlib.import_module(module)
  52.  
  53. wizarr               |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  54.  
  55. wizarr               |   File "/usr/local/lib/python3.11/importlib/__init__.py", line 126, in import_module
  56.  
  57. wizarr               |     return _bootstrap._gcd_import(name[level:], package, level)
  58.  
  59. wizarr               |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  60.  
  61. wizarr               |   File "<frozen importlib._bootstrap>", line 1206, in _gcd_import
  62.  
  63. wizarr               |   File "<frozen importlib._bootstrap>", line 1178, in _find_and_load
  64.  
  65. wizarr               |   File "<frozen importlib._bootstrap>", line 1149, in _find_and_load_unlocked
  66.  
  67. wizarr               |   File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
  68.  
  69. wizarr               |   File "<frozen importlib._bootstrap_external>", line 940, in exec_module
  70.  
  71. wizarr               |   File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  72.  
  73. wizarr               |   File "/data/run.py", line 1, in <module>
  74.  
  75. wizarr               |     from app import app
  76.  
  77. wizarr               |   File "/data/app/__init__.py", line 18, in <module>
  78.  
  79. wizarr               |     Session(app)
  80.  
  81. wizarr               |   File "/usr/local/lib/python3.11/site-packages/flask_session/__init__.py", line 43, in __init__
  82.  
  83. wizarr               |     self.init_app(app)
  84.  
  85. wizarr               |   File "/usr/local/lib/python3.11/site-packages/flask_session/__init__.py", line 50, in init_app
  86.  
  87. wizarr               |     app.session_interface = self._get_interface(app)
  88.  
  89. wizarr               |                             ^^^^^^^^^^^^^^^^^^^^^^^^
  90.  
  91. wizarr               |   File "/usr/local/lib/python3.11/site-packages/flask_session/__init__.py", line 79, in _get_interface
  92.  
  93. wizarr               |     session_interface = FileSystemSessionInterface(
  94.  
  95. wizarr               |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  96.  
  97. wizarr               |   File "/usr/local/lib/python3.11/site-packages/flask_session/sessions.py", line 312, in __init__
  98.  
  99. wizarr               |     self.cache = FileSystemCache(cache_dir, threshold=threshold, mode=mode)
  100.  
  101. wizarr               |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  102.  
  103. wizarr               |   File "/usr/local/lib/python3.11/site-packages/cachelib/file.py", line 65, in __init__
  104.  
  105. wizarr               |     os.makedirs(self._path)
  106.  
  107. wizarr               |   File "<frozen os>", line 225, in makedirs
  108.  
  109. wizarr               | PermissionError: [Errno 13] Permission denied: './database/sessions'
  110.  
  111. wizarr               | [2023-09-27 12:37:13 -0400] [9] [INFO] Worker exiting (pid: 9)
  112.  
  113. wizarr               | [2023-09-27 12:37:13 -0400] [8] [ERROR] Exception in worker process
  114.  
  115. wizarr               | Traceback (most recent call last):
  116.  
  117. wizarr               |   File "/usr/local/lib/python3.11/site-packages/gunicorn/arbiter.py", line 589, in spawn_worker
  118.  
  119. wizarr               |     worker.init_process()
  120.  
  121. wizarr               |   File "/usr/local/lib/python3.11/site-packages/gunicorn/workers/base.py", line 134, in init_process
  122.  
  123. wizarr               |     self.load_wsgi()
  124.  
  125. wizarr               |   File "/usr/local/lib/python3.11/site-packages/gunicorn/workers/base.py", line 146, in load_wsgi
  126.  
  127. wizarr               |     self.wsgi = self.app.wsgi()
  128.  
  129. wizarr               |                 ^^^^^^^^^^^^^^^
  130.  
  131. wizarr               |   File "/usr/local/lib/python3.11/site-packages/gunicorn/app/base.py", line 67, in wsgi
  132.  
  133. wizarr               |     self.callable = self.load()
  134.  
  135. wizarr               |                     ^^^^^^^^^^^
  136.  
  137. wizarr               |   File "/usr/local/lib/python3.11/site-packages/gunicorn/app/wsgiapp.py", line 58, in load
  138.  
  139. wizarr               |     return self.load_wsgiapp()
  140.  
  141. wizarr               |            ^^^^^^^^^^^^^^^^^^^
  142.  
  143. wizarr               |   File "/usr/local/lib/python3.11/site-packages/gunicorn/app/wsgiapp.py", line 48, in load_wsgiapp
  144.  
  145. wizarr               |     return util.import_app(self.app_uri)
  146.  
  147. wizarr               |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  148.  
  149. wizarr               |   File "/usr/local/lib/python3.11/site-packages/gunicorn/util.py", line 359, in import_app
  150.  
  151. wizarr               |     mod = importlib.import_module(module)
  152.  
  153. wizarr               |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  154.  
  155. wizarr               |   File "/usr/local/lib/python3.11/importlib/__init__.py", line 126, in import_module
  156.  
  157. wizarr               |     return _bootstrap._gcd_import(name[level:], package, level)
  158.  
  159. wizarr               |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  160.  
  161. wizarr               |   File "<frozen importlib._bootstrap>", line 1206, in _gcd_import
  162.  
  163. wizarr               |   File "<frozen importlib._bootstrap>", line 1178, in _find_and_load
  164.  
  165. wizarr               |   File "<frozen importlib._bootstrap>", line 1149, in _find_and_load_unlocked
  166.  
  167. wizarr               |   File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
  168.  
  169. wizarr               |   File "<frozen importlib._bootstrap_external>", line 940, in exec_module
  170.  
  171. wizarr               |   File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  172.  
  173. wizarr               |   File "/data/run.py", line 1, in <module>
  174.  
  175. wizarr               |     from app import app
  176.  
  177. wizarr               |   File "/data/app/__init__.py", line 18, in <module>
  178.  
  179. wizarr               |     Session(app)
  180.  
  181. wizarr               |   File "/usr/local/lib/python3.11/site-packages/flask_session/__init__.py", line 43, in __init__
  182.  
  183. wizarr               |     self.init_app(app)
  184.  
  185. wizarr               |   File "/usr/local/lib/python3.11/site-packages/flask_session/__init__.py", line 50, in init_app
  186.  
  187. wizarr               |     app.session_interface = self._get_interface(app)
  188.  
  189. wizarr               |                             ^^^^^^^^^^^^^^^^^^^^^^^^
  190.  
  191. wizarr               |   File "/usr/local/lib/python3.11/site-packages/flask_session/__init__.py", line 79, in _get_interface
  192.  
  193. wizarr               |     session_interface = FileSystemSessionInterface(
  194.  
  195. wizarr               |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  196.  
  197. wizarr               |   File "/usr/local/lib/python3.11/site-packages/flask_session/sessions.py", line 312, in __init__
  198.  
  199. wizarr               |     self.cache = FileSystemCache(cache_dir, threshold=threshold, mode=mode)
  200.  
  201. wizarr               |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  202.  
  203. wizarr               |   File "/usr/local/lib/python3.11/site-packages/cachelib/file.py", line 65, in __init__
  204.  
  205. wizarr               |     os.makedirs(self._path)
  206.  
  207. wizarr               |   File "<frozen os>", line 225, in makedirs
  208.  
  209. wizarr               | PermissionError: [Errno 13] Permission denied: './database/sessions'
  210.  
  211. wizarr               | [2023-09-27 12:37:13 -0400] [8] [INFO] Worker exiting (pid: 8)
  212.  
  213. wizarr               | [2023-09-27 12:37:13 -0400] [10] [ERROR] Exception in worker process
  214.  
  215. wizarr               | Traceback (most recent call last):
  216.  
  217. wizarr               |   File "/usr/local/lib/python3.11/site-packages/gunicorn/arbiter.py", line 589, in spawn_worker
  218.  
  219. wizarr               |     worker.init_process()
  220.  
  221. wizarr               |   File "/usr/local/lib/python3.11/site-packages/gunicorn/workers/base.py", line 134, in init_process
  222.  
  223. wizarr               |     self.load_wsgi()
  224.  
  225. wizarr               |   File "/usr/local/lib/python3.11/site-packages/gunicorn/workers/base.py", line 146, in load_wsgi
  226.  
  227. wizarr               |     self.wsgi = self.app.wsgi()
  228.  
  229. wizarr               |                 ^^^^^^^^^^^^^^^
  230.  
  231. wizarr               |   File "/usr/local/lib/python3.11/site-packages/gunicorn/app/base.py", line 67, in wsgi
  232.  
  233. wizarr               |     self.callable = self.load()
  234.  
  235. wizarr               |                     ^^^^^^^^^^^
  236.  
  237. wizarr               |   File "/usr/local/lib/python3.11/site-packages/gunicorn/app/wsgiapp.py", line 58, in load
  238.  
  239. wizarr               |     return self.load_wsgiapp()
  240.  
  241. wizarr               |            ^^^^^^^^^^^^^^^^^^^
  242.  
  243. wizarr               |   File "/usr/local/lib/python3.11/site-packages/gunicorn/app/wsgiapp.py", line 48, in load_wsgiapp
  244.  
  245. wizarr               |     return util.import_app(self.app_uri)
  246.  
  247. wizarr               |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  248.  
  249. wizarr               |   File "/usr/local/lib/python3.11/site-packages/gunicorn/util.py", line 359, in import_app
  250.  
  251. wizarr               |     mod = importlib.import_module(module)
  252.  
  253. wizarr               |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  254.  
  255. wizarr               |   File "/usr/local/lib/python3.11/importlib/__init__.py", line 126, in import_module
  256.  
  257. wizarr               |     return _bootstrap._gcd_import(name[level:], package, level)
  258.  
  259. wizarr               |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  260.  
  261. wizarr               |   File "<frozen importlib._bootstrap>", line 1206, in _gcd_import
  262.  
  263. wizarr               |   File "<frozen importlib._bootstrap>", line 1178, in _find_and_load
  264.  
  265. wizarr               |   File "<frozen importlib._bootstrap>", line 1149, in _find_and_load_unlocked
  266.  
  267. wizarr               |   File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
  268.  
  269. wizarr               |   File "<frozen importlib._bootstrap_external>", line 940, in exec_module
  270.  
  271. wizarr               |   File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  272.  
  273. wizarr               |   File "/data/run.py", line 1, in <module>
  274.  
  275. wizarr               |     from app import app
  276.  
  277. wizarr               |   File "/data/app/__init__.py", line 18, in <module>
  278.  
  279. wizarr               |     Session(app)
  280.  
  281. wizarr               |   File "/usr/local/lib/python3.11/site-packages/flask_session/__init__.py", line 43, in __init__
  282.  
  283. wizarr               |     self.init_app(app)
  284.  
  285. wizarr               |   File "/usr/local/lib/python3.11/site-packages/flask_session/__init__.py", line 50, in init_app
  286.  
  287. wizarr               |     app.session_interface = self._get_interface(app)
  288.  
  289. wizarr               |                             ^^^^^^^^^^^^^^^^^^^^^^^^
  290.  
  291. wizarr               |   File "/usr/local/lib/python3.11/site-packages/flask_session/__init__.py", line 79, in _get_interface
  292.  
  293. wizarr               |     session_interface = FileSystemSessionInterface(
  294.  
  295. wizarr               |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  296.  
  297. wizarr               |   File "/usr/local/lib/python3.11/site-packages/flask_session/sessions.py", line 312, in __init__
  298.  
  299. wizarr               |     self.cache = FileSystemCache(cache_dir, threshold=threshold, mode=mode)
  300.  
  301. wizarr               |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  302.  
  303. wizarr               |   File "/usr/local/lib/python3.11/site-packages/cachelib/file.py", line 65, in __init__
  304.  
  305. wizarr               |     os.makedirs(self._path)
  306.  
  307. wizarr               |   File "<frozen os>", line 225, in makedirs
  308.  
  309. wizarr               | PermissionError: [Errno 13] Permission denied: './database/sessions'
  310.  
  311. wizarr               | [2023-09-27 12:37:13 -0400] [10] [INFO] Worker exiting (pid: 10)
  312.  
  313. wizarr               | Traceback (most recent call last):
  314.  
  315. wizarr               |   File "/usr/local/lib/python3.11/site-packages/gunicorn/arbiter.py", line 209, in run
  316.  
  317. wizarr               |     self.sleep()
  318.  
  319. wizarr               |   File "/usr/local/lib/python3.11/site-packages/gunicorn/arbiter.py", line 357, in sleep
  320.  
  321. wizarr               |     ready = select.select([self.PIPE[0]], [], [], 1.0)
  322.  
  323. wizarr               |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  324.  
  325. wizarr               |   File "/usr/local/lib/python3.11/site-packages/gunicorn/arbiter.py", line 242, in handle_chld
  326.  
  327. wizarr               |     self.reap_workers()
  328.  
  329. wizarr               |   File "/usr/local/lib/python3.11/site-packages/gunicorn/arbiter.py", line 525, in reap_workers
  330.  
  331. wizarr               |     raise HaltServer(reason, self.WORKER_BOOT_ERROR)
  332.  
  333. wizarr               | gunicorn.errors.HaltServer: <HaltServer 'Worker failed to boot.' 3>
  334.  
  335. wizarr               |
  336.  
  337. wizarr               | During handling of the above exception, another exception occurred:
  338.  
  339. wizarr               |
  340.  
  341. wizarr               | Traceback (most recent call last):
  342.  
  343. wizarr               |   File "/usr/local/bin/gunicorn", line 8, in <module>
  344.  
  345. wizarr               |     sys.exit(run())
  346.  
  347. wizarr               |              ^^^^^
  348.  
  349. wizarr               |   File "/usr/local/lib/python3.11/site-packages/gunicorn/app/wsgiapp.py", line 67, in run
  350.  
  351. wizarr               |     WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]").run()
  352.  
  353. wizarr               |   File "/usr/local/lib/python3.11/site-packages/gunicorn/app/base.py", line 231, in run
  354.  
  355. wizarr               |     super().run()
  356.  
  357. wizarr               |   File "/usr/local/lib/python3.11/site-packages/gunicorn/app/base.py", line 72, in run
  358.  
  359. wizarr               |     Arbiter(self).run()
  360.  
  361. wizarr               |   File "/usr/local/lib/python3.11/site-packages/gunicorn/arbiter.py", line 229, in run
  362.  
  363. wizarr               |     self.halt(reason=inst.reason, exit_status=inst.exit_status)
  364.  
  365. wizarr               |   File "/usr/local/lib/python3.11/site-packages/gunicorn/arbiter.py", line 342, in halt
  366.  
  367. wizarr               |     self.stop()
  368.  
  369. wizarr               |   File "/usr/local/lib/python3.11/site-packages/gunicorn/arbiter.py", line 388, in stop
  370.  
  371. wizarr               |     limit = time.time() + self.cfg.graceful_timeout
  372.  
  373. wizarr               |                           ^^^^^^^^^^^^^^^^^^^^^^^^^
  374.  
  375. wizarr               |   File "/usr/local/lib/python3.11/site-packages/gunicorn/config.py", line 64, in __getattr__
  376.  
  377. wizarr               |     def __getattr__(self, name):
  378.  
  379. wizarr               |
  380.  
  381. wizarr               |   File "/usr/local/lib/python3.11/site-packages/gunicorn/arbiter.py", line 242, in handle_chld
  382.  
  383. wizarr               |     self.reap_workers()
  384.  
  385. wizarr               |   File "/usr/local/lib/python3.11/site-packages/gunicorn/arbiter.py", line 525, in reap_workers
  386.  
  387. wizarr               |     raise HaltServer(reason, self.WORKER_BOOT_ERROR)
  388.  
  389. wizarr               | gunicorn.errors.HaltServer: <HaltServer 'Worker failed to boot.' 3>
  390.  
  391. wizarr exited with code 1
  392.  
  393.