crosmis.blogg.se

Psycopg2 postgres.app wrong path
Psycopg2 postgres.app wrong path







psycopg2 postgres.app wrong path
  1. #Psycopg2 postgres.app wrong path how to#
  2. #Psycopg2 postgres.app wrong path code#
psycopg2 postgres.app wrong path

Res = instance._dict_ = self.func(instance)įile "/usr/local/lib/python3.10/site-packages/django/db/backends/postgresql/features.py", line 84, in is_postgresql_11 New_errors = check(app_configs=app_configs, databases=databases)įile "/usr/local/lib/python3.10/site-packages/django/core/checks/model_checks.py", line 36, in check_all_modelsįile "/usr/local/lib/python3.10/site-packages/django/db/models/base.py", line 1461, in checkįile "/usr/local/lib/python3.10/site-packages/django/db/models/base.py", line 1864, in _check_indexesĬ_covering_indexesįile "/usr/local/lib/python3.10/site-packages/django/utils/functional.py", line 49, in _get_ Self.fetch_command(subcommand).run_from_argv(self.argv)įile "/usr/local/lib/python3.10/site-packages/django/core/management/base.py", line 414, in run_from_argvįile "/usr/local/lib/python3.10/site-packages/django/core/management/base.py", line 460, in executeįile "/usr/local/lib/python3.10/site-packages/django/core/management/base.py", line 98, in wrappedįile "/usr/local/lib/python3.10/site-packages/django/core/management/commands/migrate.py", line 91, in handleįile "/usr/local/lib/python3.10/site-packages/django/core/management/base.py", line 487, in checkįile "/usr/local/lib/python3.10/site-packages/django/core/checks/registry.py", line 88, in run_checks The above exception was the direct cause of the following exception:įile "/usr/local/lib/python3.10/site-packages/django/core/management/_init_.py", line 446, in execute_from_command_lineįile "/usr/local/lib/python3.10/site-packages/django/core/management/_init_.py", line 440, in execute Psycopg2.OperationalError: connection to server at "myapp1-db.flycast" (fdaa:1:e227:0:1::2), port 5432 failed: SSL SYSCALL error: Success nnection = self.get_new_connection(conn_params)įile "/usr/local/lib/python3.10/site-packages/django/db/backends/postgresql/base.py", line 203, in get_new_connectionĬonnection = nnect(**conn_params)įile "/usr/local/lib/python3.10/site-packages/psycopg2/_init_.py", line 122, in connectĬonn = _connect(dsn, connection_factory=connection_factory, **kwasync) Preparing to run: `python manage.py migrate` as rootĨ 11:48:03 listening on :22 (DNS: :53)įile "/usr/local/lib/python3.10/site-packages/django/db/backends/base/base.py", line 244, in ensure_connectionįile "/usr/local/lib/python3.10/site-packages/django/utils/asyncio.py", line 26, in innerįile "/usr/local/lib/python3.10/site-packages/django/db/backends/base/base.py", line 225, in connect Successfully prepared image /myapp1:deployment-RS0FZ01GYA31S8V88DF7QG5HTZ Pulling container image /myapp1:deployment-RS0FZ01GYA31S8V88DF7QG5HTZ

#Psycopg2 postgres.app wrong path code#

Output from logs: Error release_command failed running on machine 7d891129aed484 with exit code 1.Ĭheck its logs: here's the last 100 lines below, or run 'fly logs -i 7d891129aed484':

#Psycopg2 postgres.app wrong path how to#

Possibly it is something to do with the psycopg2 package, but I’m not sure how to handle that. I’m deploying my first app (Django/Postgres) and hitting an error when running: fly deploy









Psycopg2 postgres.app wrong path