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

[arm64] docker image issue #43

Closed
MaxWaldorf opened this issue Jan 26, 2022 · 2 comments
Closed

[arm64] docker image issue #43

MaxWaldorf opened this issue Jan 26, 2022 · 2 comments

Comments

@MaxWaldorf
Copy link
Contributor

MaxWaldorf commented Jan 26, 2022

Hello,

x64 image works fine but arm64 image needs tuning:

Wed, Jan 26 2022 11:02:41 pm | /wait: line 1: �ELF����: not found
Wed, Jan 26 2022 11:02:41 pm | /wait: line 1: syntax error: unterminated quoted string
Wed, Jan 26 2022 11:02:45 pm | Traceback (most recent call last):
Wed, Jan 26 2022 11:02:45 pm | File "/venv/tabby-web-9TtSrW0h-py3.7/lib/python3.7/site-packages/django/db/backends/base/base.py", line 219, in ensure_connection
Wed, Jan 26 2022 11:02:45 pm | self.connect()
Wed, Jan 26 2022 11:02:45 pm | File "/venv/tabby-web-9TtSrW0h-py3.7/lib/python3.7/site-packages/django/utils/asyncio.py", line 33, in inner
Wed, Jan 26 2022 11:02:45 pm | return func(*args, **kwargs)
Wed, Jan 26 2022 11:02:45 pm | File "/venv/tabby-web-9TtSrW0h-py3.7/lib/python3.7/site-packages/django/db/backends/base/base.py", line 200, in connect
Wed, Jan 26 2022 11:02:45 pm | self.connection = self.get_new_connection(conn_params)
Wed, Jan 26 2022 11:02:45 pm | File "/venv/tabby-web-9TtSrW0h-py3.7/lib/python3.7/site-packages/django/utils/asyncio.py", line 33, in inner
Wed, Jan 26 2022 11:02:45 pm | return func(*args, **kwargs)
Wed, Jan 26 2022 11:02:45 pm | File "/venv/tabby-web-9TtSrW0h-py3.7/lib/python3.7/site-packages/django/db/backends/mysql/base.py", line 234, in get_new_connection
Wed, Jan 26 2022 11:02:45 pm | connection = Database.connect(**conn_params)
Wed, Jan 26 2022 11:02:45 pm | File "/venv/tabby-web-9TtSrW0h-py3.7/lib/python3.7/site-packages/MySQLdb/__init__.py", line 130, in Connect
Wed, Jan 26 2022 11:02:45 pm | return Connection(*args, **kwargs)
Wed, Jan 26 2022 11:02:45 pm | File "/venv/tabby-web-9TtSrW0h-py3.7/lib/python3.7/site-packages/MySQLdb/connections.py", line 185, in __init__
Wed, Jan 26 2022 11:02:45 pm | super().__init__(*args, **kwargs2)
Wed, Jan 26 2022 11:02:45 pm | MySQLdb._exceptions.OperationalError: (2002, "Can't connect to MySQL server on '127.0.0.1' (115)")
Wed, Jan 26 2022 11:02:45 pm |  
Wed, Jan 26 2022 11:02:45 pm | The above exception was the direct cause of the following exception:
Wed, Jan 26 2022 11:02:45 pm |  
Wed, Jan 26 2022 11:02:45 pm | Traceback (most recent call last):
Wed, Jan 26 2022 11:02:45 pm | File "./manage.py", line 22, in <module>
Wed, Jan 26 2022 11:02:45 pm | main()
Wed, Jan 26 2022 11:02:45 pm | File "./manage.py", line 18, in main
Wed, Jan 26 2022 11:02:45 pm | execute_from_command_line(sys.argv)
Wed, Jan 26 2022 11:02:45 pm | File "/venv/tabby-web-9TtSrW0h-py3.7/lib/python3.7/site-packages/django/core/management/__init__.py", line 419, in execute_from_command_line
Wed, Jan 26 2022 11:02:45 pm | utility.execute()
Wed, Jan 26 2022 11:02:45 pm | File "/venv/tabby-web-9TtSrW0h-py3.7/lib/python3.7/site-packages/django/core/management/__init__.py", line 413, in execute
Wed, Jan 26 2022 11:02:45 pm | self.fetch_command(subcommand).run_from_argv(self.argv)
Wed, Jan 26 2022 11:02:45 pm | File "/venv/tabby-web-9TtSrW0h-py3.7/lib/python3.7/site-packages/django/core/management/base.py", line 354, in run_from_argv
Wed, Jan 26 2022 11:02:45 pm | self.execute(*args, **cmd_options)
Wed, Jan 26 2022 11:02:45 pm | File "/venv/tabby-web-9TtSrW0h-py3.7/lib/python3.7/site-packages/django/core/management/base.py", line 398, in execute
Wed, Jan 26 2022 11:02:45 pm | output = self.handle(*args, **options)
Wed, Jan 26 2022 11:02:45 pm | File "/venv/tabby-web-9TtSrW0h-py3.7/lib/python3.7/site-packages/django/core/management/base.py", line 89, in wrapped
Wed, Jan 26 2022 11:02:45 pm | res = handle_func(*args, **kwargs)
Wed, Jan 26 2022 11:02:45 pm | File "/venv/tabby-web-9TtSrW0h-py3.7/lib/python3.7/site-packages/django/core/management/commands/migrate.py", line 75, in handle
Wed, Jan 26 2022 11:02:45 pm | self.check(databases=[database])
Wed, Jan 26 2022 11:02:45 pm | File "/venv/tabby-web-9TtSrW0h-py3.7/lib/python3.7/site-packages/django/core/management/base.py", line 423, in check
Wed, Jan 26 2022 11:02:45 pm | databases=databases,
Wed, Jan 26 2022 11:02:45 pm | File "/venv/tabby-web-9TtSrW0h-py3.7/lib/python3.7/site-packages/django/core/checks/registry.py", line 76, in run_checks
Wed, Jan 26 2022 11:02:45 pm | new_errors = check(app_configs=app_configs, databases=databases)
Wed, Jan 26 2022 11:02:45 pm | File "/venv/tabby-web-9TtSrW0h-py3.7/lib/python3.7/site-packages/django/core/checks/database.py", line 13, in check_database_backends
Wed, Jan 26 2022 11:02:45 pm | issues.extend(conn.validation.check(**kwargs))
Wed, Jan 26 2022 11:02:45 pm | File "/venv/tabby-web-9TtSrW0h-py3.7/lib/python3.7/site-packages/django/db/backends/mysql/validation.py", line 9, in check
Wed, Jan 26 2022 11:02:45 pm | issues.extend(self._check_sql_mode(**kwargs))
Wed, Jan 26 2022 11:02:45 pm | File "/venv/tabby-web-9TtSrW0h-py3.7/lib/python3.7/site-packages/django/db/backends/mysql/validation.py", line 13, in _check_sql_mode
Wed, Jan 26 2022 11:02:45 pm | if not (self.connection.sql_mode & {'STRICT_TRANS_TABLES', 'STRICT_ALL_TABLES'}):
Wed, Jan 26 2022 11:02:45 pm | File "/venv/tabby-web-9TtSrW0h-py3.7/lib/python3.7/site-packages/django/utils/functional.py", line 48, in __get__
Wed, Jan 26 2022 11:02:45 pm | res = instance.__dict__[self.name] = self.func(instance)
Wed, Jan 26 2022 11:02:45 pm | File "/venv/tabby-web-9TtSrW0h-py3.7/lib/python3.7/site-packages/django/db/backends/mysql/base.py", line 405, in sql_mode
Wed, Jan 26 2022 11:02:45 pm | sql_mode = self.mysql_server_data['sql_mode']
Wed, Jan 26 2022 11:02:45 pm | File "/venv/tabby-web-9TtSrW0h-py3.7/lib/python3.7/site-packages/django/utils/functional.py", line 48, in __get__
Wed, Jan 26 2022 11:02:45 pm | res = instance.__dict__[self.name] = self.func(instance)
Wed, Jan 26 2022 11:02:45 pm | File "/venv/tabby-web-9TtSrW0h-py3.7/lib/python3.7/site-packages/django/db/backends/mysql/base.py", line 366, in mysql_server_data
Wed, Jan 26 2022 11:02:45 pm | with self.temporary_connection() as cursor:
Wed, Jan 26 2022 11:02:45 pm | File "/usr/local/lib/python3.7/contextlib.py", line 112, in __enter__
Wed, Jan 26 2022 11:02:45 pm | return next(self.gen)
Wed, Jan 26 2022 11:02:45 pm | File "/venv/tabby-web-9TtSrW0h-py3.7/lib/python3.7/site-packages/django/db/backends/base/base.py", line 603, in temporary_connection
Wed, Jan 26 2022 11:02:45 pm | with self.cursor() as cursor:
Wed, Jan 26 2022 11:02:45 pm | File "/venv/tabby-web-9TtSrW0h-py3.7/lib/python3.7/site-packages/django/utils/asyncio.py", line 33, in inner
Wed, Jan 26 2022 11:02:45 pm | return func(*args, **kwargs)
Wed, Jan 26 2022 11:02:45 pm | File "/venv/tabby-web-9TtSrW0h-py3.7/lib/python3.7/site-packages/django/db/backends/base/base.py", line 259, in cursor
Wed, Jan 26 2022 11:02:45 pm | return self._cursor()
Wed, Jan 26 2022 11:02:45 pm | File "/venv/tabby-web-9TtSrW0h-py3.7/lib/python3.7/site-packages/django/db/backends/base/base.py", line 235, in _cursor
Wed, Jan 26 2022 11:02:45 pm | self.ensure_connection()
Wed, Jan 26 2022 11:02:45 pm | File "/venv/tabby-web-9TtSrW0h-py3.7/lib/python3.7/site-packages/django/utils/asyncio.py", line 33, in inner
Wed, Jan 26 2022 11:02:45 pm | return func(*args, **kwargs)
Wed, Jan 26 2022 11:02:45 pm | File "/venv/tabby-web-9TtSrW0h-py3.7/lib/python3.7/site-packages/django/db/backends/base/base.py", line 219, in ensure_connection
Wed, Jan 26 2022 11:02:45 pm | self.connect()
Wed, Jan 26 2022 11:02:45 pm | File "/venv/tabby-web-9TtSrW0h-py3.7/lib/python3.7/site-packages/django/db/utils.py", line 90, in __exit__
Wed, Jan 26 2022 11:02:45 pm | raise dj_exc_value.with_traceback(traceback) from exc_value
Wed, Jan 26 2022 11:02:45 pm | File "/venv/tabby-web-9TtSrW0h-py3.7/lib/python3.7/site-packages/django/db/backends/base/base.py", line 219, in ensure_connection
Wed, Jan 26 2022 11:02:45 pm | self.connect()
Wed, Jan 26 2022 11:02:45 pm | File "/venv/tabby-web-9TtSrW0h-py3.7/lib/python3.7/site-packages/django/utils/asyncio.py", line 33, in inner
Wed, Jan 26 2022 11:02:45 pm | return func(*args, **kwargs)
Wed, Jan 26 2022 11:02:45 pm | File "/venv/tabby-web-9TtSrW0h-py3.7/lib/python3.7/site-packages/django/db/backends/base/base.py", line 200, in connect
Wed, Jan 26 2022 11:02:45 pm | self.connection = self.get_new_connection(conn_params)
Wed, Jan 26 2022 11:02:45 pm | File "/venv/tabby-web-9TtSrW0h-py3.7/lib/python3.7/site-packages/django/utils/asyncio.py", line 33, in inner
Wed, Jan 26 2022 11:02:45 pm | return func(*args, **kwargs)
Wed, Jan 26 2022 11:02:45 pm | File "/venv/tabby-web-9TtSrW0h-py3.7/lib/python3.7/site-packages/django/db/backends/mysql/base.py", line 234, in get_new_connection
Wed, Jan 26 2022 11:02:45 pm | connection = Database.connect(**conn_params)
Wed, Jan 26 2022 11:02:45 pm | File "/venv/tabby-web-9TtSrW0h-py3.7/lib/python3.7/site-packages/MySQLdb/__init__.py", line 130, in Connect
Wed, Jan 26 2022 11:02:45 pm | return Connection(*args, **kwargs)
Wed, Jan 26 2022 11:02:45 pm | File "/venv/tabby-web-9TtSrW0h-py3.7/lib/python3.7/site-packages/MySQLdb/connections.py", line 185, in __init__
Wed, Jan 26 2022 11:02:45 pm | super().__init__(*args, **kwargs2)
Wed, Jan 26 2022 11:02:45 pm | django.db.utils.OperationalError: (2002, "Can't connect to MySQL server on '127.0.0.1' (115)")
Wed, Jan 26 2022 11:02:47 pm | [2022-01-26 22:02:47 +0000] [10] [INFO] Starting gunicorn 20.1.0
Wed, Jan 26 2022 11:02:47 pm | [2022-01-26 22:02:47 +0000] [10] [INFO] Listening at: http://0.0.0.0:80 (10)
Wed, Jan 26 2022 11:02:47 pm | [2022-01-26 22:02:47 +0000] [10] [INFO] Using worker: sync
Wed, Jan 26 2022 11:02:47 pm | [2022-01-26 22:02:47 +0000] [12] [INFO] Booting worker with pid: 12
Wed, Jan 26 2022 11:02:47 pm | [2022-01-26 22:02:47 +0000] [13] [INFO] Booting worker with pid: 13
Wed, Jan 26 2022 11:02:47 pm | [2022-01-26 22:02:47 +0000] [14] [INFO] Booting worker with pid: 14
Wed, Jan 26 2022 11:02:47 pm | [2022-01-26 22:02:47 +0000] [15] [INFO] Booting worker with pid: 15

I tried to build the image locally:

shows a couple issues:

warning " > @fortawesome/angular-fontawesome@0.8.2" has incorrect peer dependency "@angular/core@^11.0.0".
warning " > @ng-bootstrap/ng-bootstrap@11.0.0-beta.1" has incorrect peer dependency "@angular/common@^11.0.0".
warning " > @ng-bootstrap/ng-bootstrap@11.0.0-beta.1" has incorrect peer dependency "@angular/core@^11.0.0".
warning " > @ng-bootstrap/ng-bootstrap@11.0.0-beta.1" has incorrect peer dependency "@angular/forms@^11.0.0".
warning " > @ng-bootstrap/ng-bootstrap@11.0.0-beta.1" has unmet peer dependency "@angular/localize@^11.0.0".
warning " > @ng-bootstrap/ng-bootstrap@11.0.0-beta.1" has incorrect peer dependency "rxjs@^6.5.5".
warning " > @nguniversal/express-engine@12.1.3" has incorrect peer dependency "@angular/common@^12.2.12".
warning " > @nguniversal/express-engine@12.1.3" has incorrect peer dependency "@angular/core@^12.2.12".
warning " > @nguniversal/express-engine@12.1.3" has incorrect peer dependency "@angular/platform-server@^12.2.12".
warning "@nguniversal/express-engine > @nguniversal/common@12.1.3" has incorrect peer dependency "@angular/common@^12.2.12".
warning "@nguniversal/express-engine > @nguniversal/common@12.1.3" has incorrect peer dependency "@angular/core@^12.2.12".
warning " > bootstrap@5.0.1" has unmet peer dependency "@popperjs/core@^2.9.2".
warning " > ngx-image-zoom@0.6.0" has incorrect peer dependency "@angular/common@^9.0.1".
warning " > ngx-image-zoom@0.6.0" has incorrect peer dependency "@angular/core@^9.0.1".
warning " > ngx-image-zoom@0.6.0" has unmet peer dependency "tslib@^1.10.0".
warning " > pug-loader@2.4.0" has incorrect peer dependency "pug@^2.0.0".
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
WARNING: You are using pip version 21.2.4; however, version 21.3.1 is available.
You should consider upgrading via the '/usr/local/bin/python -m pip install --upgrade pip' command.
@Eugeny Eugeny closed this as completed in 5d94835 Jan 27, 2022
@Eugeny
Copy link
Owner

Eugeny commented Jan 27, 2022

Should be working now - I've replaced docker-wait with dockerize, which comes in arm64 flavour

@MaxWaldorf
Copy link
Contributor Author

Still not 100% working :)

/usr/local/bin/dockerize: line 1: syntax error: unexpected word (expecting ")")
--
Thu, Jan 27 2022 1:20:12 pm | Traceback (most recent call last):
Thu, Jan 27 2022 1:20:12 pm | File "/venv/tabby-web-9TtSrW0h-py3.7/lib/python3.7/site-packages/django/db/backends/base/base.py", line 219, in ensure_connection
Thu, Jan 27 2022 1:20:12 pm | self.connect()
Thu, Jan 27 2022 1:20:12 pm | File "/venv/tabby-web-9TtSrW0h-py3.7/lib/python3.7/site-packages/django/utils/asyncio.py", line 33, in inner
Thu, Jan 27 2022 1:20:12 pm | return func(*args, **kwargs)
Thu, Jan 27 2022 1:20:12 pm | File "/venv/tabby-web-9TtSrW0h-py3.7/lib/python3.7/site-packages/django/db/backends/base/base.py", line 200, in connect
Thu, Jan 27 2022 1:20:12 pm | self.connection = self.get_new_connection(conn_params)
Thu, Jan 27 2022 1:20:12 pm | File "/venv/tabby-web-9TtSrW0h-py3.7/lib/python3.7/site-packages/django/utils/asyncio.py", line 33, in inner
Thu, Jan 27 2022 1:20:12 pm | return func(*args, **kwargs)
Thu, Jan 27 2022 1:20:12 pm | File "/venv/tabby-web-9TtSrW0h-py3.7/lib/python3.7/site-packages/django/db/backends/mysql/base.py", line 234, in get_new_connection
Thu, Jan 27 2022 1:20:12 pm | connection = Database.connect(**conn_params)
Thu, Jan 27 2022 1:20:12 pm | File "/venv/tabby-web-9TtSrW0h-py3.7/lib/python3.7/site-packages/MySQLdb/__init__.py", line 130, in Connect
Thu, Jan 27 2022 1:20:12 pm | return Connection(*args, **kwargs)
Thu, Jan 27 2022 1:20:12 pm | File "/venv/tabby-web-9TtSrW0h-py3.7/lib/python3.7/site-packages/MySQLdb/connections.py", line 185, in __init__
Thu, Jan 27 2022 1:20:12 pm | super().__init__(*args, **kwargs2)
Thu, Jan 27 2022 1:20:12 pm | MySQLdb._exceptions.OperationalError: (2002, "Can't connect to MySQL server on '127.0.0.1' (115)")
Thu, Jan 27 2022 1:20:12 pm |  
Thu, Jan 27 2022 1:20:12 pm | The above exception was the direct cause of the following exception:
Thu, Jan 27 2022 1:20:12 pm |  
Thu, Jan 27 2022 1:20:12 pm | Traceback (most recent call last):
Thu, Jan 27 2022 1:20:12 pm | File "./manage.py", line 22, in <module>
Thu, Jan 27 2022 1:20:12 pm | main()
Thu, Jan 27 2022 1:20:12 pm | File "./manage.py", line 18, in main
Thu, Jan 27 2022 1:20:12 pm | execute_from_command_line(sys.argv)
Thu, Jan 27 2022 1:20:12 pm | File "/venv/tabby-web-9TtSrW0h-py3.7/lib/python3.7/site-packages/django/core/management/__init__.py", line 419, in execute_from_command_line
Thu, Jan 27 2022 1:20:12 pm | utility.execute()
Thu, Jan 27 2022 1:20:12 pm | File "/venv/tabby-web-9TtSrW0h-py3.7/lib/python3.7/site-packages/django/core/management/__init__.py", line 413, in execute
Thu, Jan 27 2022 1:20:12 pm | self.fetch_command(subcommand).run_from_argv(self.argv)
Thu, Jan 27 2022 1:20:12 pm | File "/venv/tabby-web-9TtSrW0h-py3.7/lib/python3.7/site-packages/django/core/management/base.py", line 354, in run_from_argv
Thu, Jan 27 2022 1:20:12 pm | self.execute(*args, **cmd_options)
Thu, Jan 27 2022 1:20:12 pm | File "/venv/tabby-web-9TtSrW0h-py3.7/lib/python3.7/site-packages/django/core/management/base.py", line 398, in execute
Thu, Jan 27 2022 1:20:12 pm | output = self.handle(*args, **options)
Thu, Jan 27 2022 1:20:12 pm | File "/venv/tabby-web-9TtSrW0h-py3.7/lib/python3.7/site-packages/django/core/management/base.py", line 89, in wrapped
Thu, Jan 27 2022 1:20:12 pm | res = handle_func(*args, **kwargs)
Thu, Jan 27 2022 1:20:12 pm | File "/venv/tabby-web-9TtSrW0h-py3.7/lib/python3.7/site-packages/django/core/management/commands/migrate.py", line 75, in handle
Thu, Jan 27 2022 1:20:12 pm | self.check(databases=[database])
Thu, Jan 27 2022 1:20:12 pm | File "/venv/tabby-web-9TtSrW0h-py3.7/lib/python3.7/site-packages/django/core/management/base.py", line 423, in check
Thu, Jan 27 2022 1:20:12 pm | databases=databases,
Thu, Jan 27 2022 1:20:12 pm | File "/venv/tabby-web-9TtSrW0h-py3.7/lib/python3.7/site-packages/django/core/checks/registry.py", line 76, in run_checks
Thu, Jan 27 2022 1:20:12 pm | new_errors = check(app_configs=app_configs, databases=databases)
Thu, Jan 27 2022 1:20:12 pm | File "/venv/tabby-web-9TtSrW0h-py3.7/lib/python3.7/site-packages/django/core/checks/database.py", line 13, in check_database_backends
Thu, Jan 27 2022 1:20:12 pm | issues.extend(conn.validation.check(**kwargs))
Thu, Jan 27 2022 1:20:12 pm | File "/venv/tabby-web-9TtSrW0h-py3.7/lib/python3.7/site-packages/django/db/backends/mysql/validation.py", line 9, in check
Thu, Jan 27 2022 1:20:12 pm | issues.extend(self._check_sql_mode(**kwargs))
Thu, Jan 27 2022 1:20:12 pm | File "/venv/tabby-web-9TtSrW0h-py3.7/lib/python3.7/site-packages/django/db/backends/mysql/validation.py", line 13, in _check_sql_mode
Thu, Jan 27 2022 1:20:12 pm | if not (self.connection.sql_mode & {'STRICT_TRANS_TABLES', 'STRICT_ALL_TABLES'}):
Thu, Jan 27 2022 1:20:12 pm | File "/venv/tabby-web-9TtSrW0h-py3.7/lib/python3.7/site-packages/django/utils/functional.py", line 48, in __get__
Thu, Jan 27 2022 1:20:12 pm | res = instance.__dict__[self.name] = self.func(instance)
Thu, Jan 27 2022 1:20:12 pm | File "/venv/tabby-web-9TtSrW0h-py3.7/lib/python3.7/site-packages/django/db/backends/mysql/base.py", line 405, in sql_mode
Thu, Jan 27 2022 1:20:12 pm | sql_mode = self.mysql_server_data['sql_mode']
Thu, Jan 27 2022 1:20:12 pm | File "/venv/tabby-web-9TtSrW0h-py3.7/lib/python3.7/site-packages/django/utils/functional.py", line 48, in __get__
Thu, Jan 27 2022 1:20:12 pm | res = instance.__dict__[self.name] = self.func(instance)
Thu, Jan 27 2022 1:20:12 pm | File "/venv/tabby-web-9TtSrW0h-py3.7/lib/python3.7/site-packages/django/db/backends/mysql/base.py", line 366, in mysql_server_data
Thu, Jan 27 2022 1:20:12 pm | with self.temporary_connection() as cursor:
Thu, Jan 27 2022 1:20:12 pm | File "/usr/local/lib/python3.7/contextlib.py", line 112, in __enter__
Thu, Jan 27 2022 1:20:12 pm | return next(self.gen)
Thu, Jan 27 2022 1:20:12 pm | File "/venv/tabby-web-9TtSrW0h-py3.7/lib/python3.7/site-packages/django/db/backends/base/base.py", line 603, in temporary_connection
Thu, Jan 27 2022 1:20:12 pm | with self.cursor() as cursor:
Thu, Jan 27 2022 1:20:12 pm | File "/venv/tabby-web-9TtSrW0h-py3.7/lib/python3.7/site-packages/django/utils/asyncio.py", line 33, in inner
Thu, Jan 27 2022 1:20:12 pm | return func(*args, **kwargs)
Thu, Jan 27 2022 1:20:12 pm | File "/venv/tabby-web-9TtSrW0h-py3.7/lib/python3.7/site-packages/django/db/backends/base/base.py", line 259, in cursor
Thu, Jan 27 2022 1:20:12 pm | return self._cursor()
Thu, Jan 27 2022 1:20:12 pm | File "/venv/tabby-web-9TtSrW0h-py3.7/lib/python3.7/site-packages/django/db/backends/base/base.py", line 235, in _cursor
Thu, Jan 27 2022 1:20:12 pm | self.ensure_connection()
Thu, Jan 27 2022 1:20:12 pm | File "/venv/tabby-web-9TtSrW0h-py3.7/lib/python3.7/site-packages/django/utils/asyncio.py", line 33, in inner
Thu, Jan 27 2022 1:20:12 pm | return func(*args, **kwargs)
Thu, Jan 27 2022 1:20:12 pm | File "/venv/tabby-web-9TtSrW0h-py3.7/lib/python3.7/site-packages/django/db/backends/base/base.py", line 219, in ensure_connection
Thu, Jan 27 2022 1:20:12 pm | self.connect()
Thu, Jan 27 2022 1:20:12 pm | File "/venv/tabby-web-9TtSrW0h-py3.7/lib/python3.7/site-packages/django/db/utils.py", line 90, in __exit__
Thu, Jan 27 2022 1:20:12 pm | raise dj_exc_value.with_traceback(traceback) from exc_value
Thu, Jan 27 2022 1:20:12 pm | File "/venv/tabby-web-9TtSrW0h-py3.7/lib/python3.7/site-packages/django/db/backends/base/base.py", line 219, in ensure_connection
Thu, Jan 27 2022 1:20:12 pm | self.connect()
Thu, Jan 27 2022 1:20:12 pm | File "/venv/tabby-web-9TtSrW0h-py3.7/lib/python3.7/site-packages/django/utils/asyncio.py", line 33, in inner
Thu, Jan 27 2022 1:20:12 pm | return func(*args, **kwargs)
Thu, Jan 27 2022 1:20:12 pm | File "/venv/tabby-web-9TtSrW0h-py3.7/lib/python3.7/site-packages/django/db/backends/base/base.py", line 200, in connect
Thu, Jan 27 2022 1:20:12 pm | self.connection = self.get_new_connection(conn_params)
Thu, Jan 27 2022 1:20:12 pm | File "/venv/tabby-web-9TtSrW0h-py3.7/lib/python3.7/site-packages/django/utils/asyncio.py", line 33, in inner
Thu, Jan 27 2022 1:20:12 pm | return func(*args, **kwargs)
Thu, Jan 27 2022 1:20:12 pm | File "/venv/tabby-web-9TtSrW0h-py3.7/lib/python3.7/site-packages/django/db/backends/mysql/base.py", line 234, in get_new_connection
Thu, Jan 27 2022 1:20:12 pm | connection = Database.connect(**conn_params)
Thu, Jan 27 2022 1:20:12 pm | File "/venv/tabby-web-9TtSrW0h-py3.7/lib/python3.7/site-packages/MySQLdb/__init__.py", line 130, in Connect
Thu, Jan 27 2022 1:20:12 pm | return Connection(*args, **kwargs)
Thu, Jan 27 2022 1:20:12 pm | File "/venv/tabby-web-9TtSrW0h-py3.7/lib/python3.7/site-packages/MySQLdb/connections.py", line 185, in __init__
Thu, Jan 27 2022 1:20:12 pm | super().__init__(*args, **kwargs2)
Thu, Jan 27 2022 1:20:12 pm | django.db.utils.OperationalError: (2002, "Can't connect to MySQL server on '127.0.0.1' (115)")
Thu, Jan 27 2022 1:20:15 pm | [2022-01-27 12:20:15 +0000] [9] [INFO] Starting gunicorn 20.1.0
Thu, Jan 27 2022 1:20:15 pm | [2022-01-27 12:20:15 +0000] [9] [INFO] Listening at: http://0.0.0.0:80 (9)
Thu, Jan 27 2022 1:20:15 pm | [2022-01-27 12:20:15 +0000] [9] [INFO] Using worker: sync
Thu, Jan 27 2022 1:20:15 pm | [2022-01-27 12:20:15 +0000] [11] [INFO] Booting worker with pid: 11
Thu, Jan 27 2022 1:20:15 pm | [2022-01-27 12:20:15 +0000] [12] [INFO] Booting worker with pid: 12
Thu, Jan 27 2022 1:20:15 pm | [2022-01-27 12:20:15 +0000] [13] [INFO] Booting worker with pid: 13
Thu, Jan 27 2022 1:20:15 pm | [2022-01-27 12:20:15 +0000] [14] [INFO] Booting worker with pid: 14

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants