You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 28, 2024. It is now read-only.
git clone https://github.com/benhutchins/docker-taiga.git && cd docker-taiga/ git submodule update --init --remote docker-compose up -d # this will build and then start taiga locally
First of all, i have to change Python version to 3.6 otherwise there are missing dependencies..
then everything seems to work until the database is initialized.. i get the following errors
Attaching to docker-taiga-postgres-1, docker-taiga-taiga-1 docker-taiga-postgres-1 | docker-taiga-postgres-1 | PostgreSQL Database directory appears to contain a database; Skipping initialization docker-taiga-postgres-1 | docker-taiga-postgres-1 | 2021-10-28 18:21:38.277 UTC [1] LOG: starting PostgreSQL 14.0 (Debian 14.0-1.pgdg110+1) on aarch64-unknown-linux-gnu, compiled by gcc (Debian 10.2.1-6) 10.2.1 20210110, 64-bit docker-taiga-postgres-1 | 2021-10-28 18:21:38.278 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432 docker-taiga-postgres-1 | 2021-10-28 18:21:38.278 UTC [1] LOG: listening on IPv6 address "::", port 5432 docker-taiga-postgres-1 | 2021-10-28 18:21:38.285 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" docker-taiga-postgres-1 | 2021-10-28 18:21:38.312 UTC [26] LOG: database system was shut down at 2021-10-28 18:19:14 UTC docker-taiga-postgres-1 | 2021-10-28 18:21:38.341 UTC [1] LOG: database system is ready to accept connections docker-taiga-taiga-1 | Running database check docker-taiga-taiga-1 | Connecting to database: docker-taiga-taiga-1 | dbname='taigadb' user='postgres' host='postgres' password='password' docker-taiga-taiga-1 | Database does not appear to be setup. docker-taiga-taiga-1 | Configuring initial database docker-taiga-taiga-1 | Traceback (most recent call last): docker-taiga-taiga-1 | File "/usr/local/lib/python3.6/site-packages/django/db/backends/base/base.py", line 217, in ensure_connection docker-taiga-taiga-1 | self.connect() docker-taiga-taiga-1 | File "/usr/local/lib/python3.6/site-packages/django/db/backends/base/base.py", line 195, in connect docker-taiga-taiga-1 | self.connection = self.get_new_connection(conn_params) docker-taiga-taiga-1 | File "/usr/local/lib/python3.6/site-packages/django/db/backends/postgresql/base.py", line 178, in get_new_connection docker-taiga-taiga-1 | connection = Database.connect(**conn_params) docker-taiga-taiga-1 | File "/usr/local/lib/python3.6/site-packages/psycopg2/__init__.py", line 127, in connect docker-taiga-taiga-1 | conn = _connect(dsn, connection_factory=connection_factory, **kwasync) docker-taiga-taiga-1 | psycopg2.OperationalError: could not connect to server: Connection refused docker-taiga-taiga-1 | Is the server running on host "127.0.0.1" and accepting docker-taiga-taiga-1 | TCP/IP connections on port 5432? docker-taiga-taiga-1 | docker-taiga-taiga-1 | docker-taiga-taiga-1 | The above exception was the direct cause of the following exception: docker-taiga-taiga-1 | docker-taiga-taiga-1 | Traceback (most recent call last): docker-taiga-taiga-1 | File "manage.py", line 27, in <module> docker-taiga-taiga-1 | execute_from_command_line(sys.argv) docker-taiga-taiga-1 | File "/usr/local/lib/python3.6/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line docker-taiga-taiga-1 | utility.execute() docker-taiga-taiga-1 | File "/usr/local/lib/python3.6/site-packages/django/core/management/__init__.py", line 375, in execute docker-taiga-taiga-1 | self.fetch_command(subcommand).run_from_argv(self.argv) docker-taiga-taiga-1 | File "/usr/local/lib/python3.6/site-packages/django/core/management/base.py", line 323, in run_from_argv docker-taiga-taiga-1 | self.execute(*args, **cmd_options) docker-taiga-taiga-1 | File "/usr/local/lib/python3.6/site-packages/django/core/management/base.py", line 364, in execute docker-taiga-taiga-1 | output = self.handle(*args, **options) docker-taiga-taiga-1 | File "/usr/local/lib/python3.6/site-packages/django/core/management/base.py", line 83, in wrapped docker-taiga-taiga-1 | res = handle_func(*args, **kwargs) docker-taiga-taiga-1 | File "/usr/local/lib/python3.6/site-packages/django/core/management/commands/migrate.py", line 87, in handle docker-taiga-taiga-1 | executor = MigrationExecutor(connection, self.migration_progress_callback) docker-taiga-taiga-1 | File "/usr/local/lib/python3.6/site-packages/django/db/migrations/executor.py", line 18, in __init__ docker-taiga-taiga-1 | self.loader = MigrationLoader(self.connection) docker-taiga-taiga-1 | File "/usr/local/lib/python3.6/site-packages/django/db/migrations/loader.py", line 49, in __init__ docker-taiga-taiga-1 | self.build_graph() docker-taiga-taiga-1 | File "/usr/local/lib/python3.6/site-packages/django/db/migrations/loader.py", line 212, in build_graph docker-taiga-taiga-1 | self.applied_migrations = recorder.applied_migrations() docker-taiga-taiga-1 | File "/usr/local/lib/python3.6/site-packages/django/db/migrations/recorder.py", line 73, in applied_migrations docker-taiga-taiga-1 | if self.has_table(): docker-taiga-taiga-1 | File "/usr/local/lib/python3.6/site-packages/django/db/migrations/recorder.py", line 56, in has_table docker-taiga-taiga-1 | return self.Migration._meta.db_table in self.connection.introspection.table_names(self.connection.cursor()) docker-taiga-taiga-1 | File "/usr/local/lib/python3.6/site-packages/django/db/backends/base/base.py", line 256, in cursor docker-taiga-taiga-1 | return self._cursor() docker-taiga-taiga-1 | File "/usr/local/lib/python3.6/site-packages/django/db/backends/base/base.py", line 233, in _cursor docker-taiga-taiga-1 | self.ensure_connection() docker-taiga-taiga-1 | File "/usr/local/lib/python3.6/site-packages/django/db/backends/base/base.py", line 217, in ensure_connection docker-taiga-taiga-1 | self.connect() docker-taiga-taiga-1 | File "/usr/local/lib/python3.6/site-packages/django/db/utils.py", line 89, in __exit__ docker-taiga-taiga-1 | raise dj_exc_value.with_traceback(traceback) from exc_value docker-taiga-taiga-1 | File "/usr/local/lib/python3.6/site-packages/django/db/backends/base/base.py", line 217, in ensure_connection docker-taiga-taiga-1 | self.connect() docker-taiga-taiga-1 | File "/usr/local/lib/python3.6/site-packages/django/db/backends/base/base.py", line 195, in connect docker-taiga-taiga-1 | self.connection = self.get_new_connection(conn_params) docker-taiga-taiga-1 | File "/usr/local/lib/python3.6/site-packages/django/db/backends/postgresql/base.py", line 178, in get_new_connection docker-taiga-taiga-1 | connection = Database.connect(**conn_params) docker-taiga-taiga-1 | File "/usr/local/lib/python3.6/site-packages/psycopg2/__init__.py", line 127, in connect docker-taiga-taiga-1 | conn = _connect(dsn, connection_factory=connection_factory, **kwasync) docker-taiga-taiga-1 | django.db.utils.OperationalError: could not connect to server: Connection refused docker-taiga-taiga-1 | Is the server running on host "127.0.0.1" and accepting docker-taiga-taiga-1 | TCP/IP connections on port 5432? docker-taiga-taiga-1 |
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I have been trying to get it to work.. following
git clone https://github.com/benhutchins/docker-taiga.git && cd docker-taiga/ git submodule update --init --remote docker-compose up -d # this will build and then start taiga locally
First of all, i have to change Python version to 3.6 otherwise there are missing dependencies..
then everything seems to work until the database is initialized.. i get the following errors
Attaching to docker-taiga-postgres-1, docker-taiga-taiga-1 docker-taiga-postgres-1 | docker-taiga-postgres-1 | PostgreSQL Database directory appears to contain a database; Skipping initialization docker-taiga-postgres-1 | docker-taiga-postgres-1 | 2021-10-28 18:21:38.277 UTC [1] LOG: starting PostgreSQL 14.0 (Debian 14.0-1.pgdg110+1) on aarch64-unknown-linux-gnu, compiled by gcc (Debian 10.2.1-6) 10.2.1 20210110, 64-bit docker-taiga-postgres-1 | 2021-10-28 18:21:38.278 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432 docker-taiga-postgres-1 | 2021-10-28 18:21:38.278 UTC [1] LOG: listening on IPv6 address "::", port 5432 docker-taiga-postgres-1 | 2021-10-28 18:21:38.285 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" docker-taiga-postgres-1 | 2021-10-28 18:21:38.312 UTC [26] LOG: database system was shut down at 2021-10-28 18:19:14 UTC docker-taiga-postgres-1 | 2021-10-28 18:21:38.341 UTC [1] LOG: database system is ready to accept connections docker-taiga-taiga-1 | Running database check docker-taiga-taiga-1 | Connecting to database: docker-taiga-taiga-1 | dbname='taigadb' user='postgres' host='postgres' password='password' docker-taiga-taiga-1 | Database does not appear to be setup. docker-taiga-taiga-1 | Configuring initial database docker-taiga-taiga-1 | Traceback (most recent call last): docker-taiga-taiga-1 | File "/usr/local/lib/python3.6/site-packages/django/db/backends/base/base.py", line 217, in ensure_connection docker-taiga-taiga-1 | self.connect() docker-taiga-taiga-1 | File "/usr/local/lib/python3.6/site-packages/django/db/backends/base/base.py", line 195, in connect docker-taiga-taiga-1 | self.connection = self.get_new_connection(conn_params) docker-taiga-taiga-1 | File "/usr/local/lib/python3.6/site-packages/django/db/backends/postgresql/base.py", line 178, in get_new_connection docker-taiga-taiga-1 | connection = Database.connect(**conn_params) docker-taiga-taiga-1 | File "/usr/local/lib/python3.6/site-packages/psycopg2/__init__.py", line 127, in connect docker-taiga-taiga-1 | conn = _connect(dsn, connection_factory=connection_factory, **kwasync) docker-taiga-taiga-1 | psycopg2.OperationalError: could not connect to server: Connection refused docker-taiga-taiga-1 | Is the server running on host "127.0.0.1" and accepting docker-taiga-taiga-1 | TCP/IP connections on port 5432? docker-taiga-taiga-1 | docker-taiga-taiga-1 | docker-taiga-taiga-1 | The above exception was the direct cause of the following exception: docker-taiga-taiga-1 | docker-taiga-taiga-1 | Traceback (most recent call last): docker-taiga-taiga-1 | File "manage.py", line 27, in <module> docker-taiga-taiga-1 | execute_from_command_line(sys.argv) docker-taiga-taiga-1 | File "/usr/local/lib/python3.6/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line docker-taiga-taiga-1 | utility.execute() docker-taiga-taiga-1 | File "/usr/local/lib/python3.6/site-packages/django/core/management/__init__.py", line 375, in execute docker-taiga-taiga-1 | self.fetch_command(subcommand).run_from_argv(self.argv) docker-taiga-taiga-1 | File "/usr/local/lib/python3.6/site-packages/django/core/management/base.py", line 323, in run_from_argv docker-taiga-taiga-1 | self.execute(*args, **cmd_options) docker-taiga-taiga-1 | File "/usr/local/lib/python3.6/site-packages/django/core/management/base.py", line 364, in execute docker-taiga-taiga-1 | output = self.handle(*args, **options) docker-taiga-taiga-1 | File "/usr/local/lib/python3.6/site-packages/django/core/management/base.py", line 83, in wrapped docker-taiga-taiga-1 | res = handle_func(*args, **kwargs) docker-taiga-taiga-1 | File "/usr/local/lib/python3.6/site-packages/django/core/management/commands/migrate.py", line 87, in handle docker-taiga-taiga-1 | executor = MigrationExecutor(connection, self.migration_progress_callback) docker-taiga-taiga-1 | File "/usr/local/lib/python3.6/site-packages/django/db/migrations/executor.py", line 18, in __init__ docker-taiga-taiga-1 | self.loader = MigrationLoader(self.connection) docker-taiga-taiga-1 | File "/usr/local/lib/python3.6/site-packages/django/db/migrations/loader.py", line 49, in __init__ docker-taiga-taiga-1 | self.build_graph() docker-taiga-taiga-1 | File "/usr/local/lib/python3.6/site-packages/django/db/migrations/loader.py", line 212, in build_graph docker-taiga-taiga-1 | self.applied_migrations = recorder.applied_migrations() docker-taiga-taiga-1 | File "/usr/local/lib/python3.6/site-packages/django/db/migrations/recorder.py", line 73, in applied_migrations docker-taiga-taiga-1 | if self.has_table(): docker-taiga-taiga-1 | File "/usr/local/lib/python3.6/site-packages/django/db/migrations/recorder.py", line 56, in has_table docker-taiga-taiga-1 | return self.Migration._meta.db_table in self.connection.introspection.table_names(self.connection.cursor()) docker-taiga-taiga-1 | File "/usr/local/lib/python3.6/site-packages/django/db/backends/base/base.py", line 256, in cursor docker-taiga-taiga-1 | return self._cursor() docker-taiga-taiga-1 | File "/usr/local/lib/python3.6/site-packages/django/db/backends/base/base.py", line 233, in _cursor docker-taiga-taiga-1 | self.ensure_connection() docker-taiga-taiga-1 | File "/usr/local/lib/python3.6/site-packages/django/db/backends/base/base.py", line 217, in ensure_connection docker-taiga-taiga-1 | self.connect() docker-taiga-taiga-1 | File "/usr/local/lib/python3.6/site-packages/django/db/utils.py", line 89, in __exit__ docker-taiga-taiga-1 | raise dj_exc_value.with_traceback(traceback) from exc_value docker-taiga-taiga-1 | File "/usr/local/lib/python3.6/site-packages/django/db/backends/base/base.py", line 217, in ensure_connection docker-taiga-taiga-1 | self.connect() docker-taiga-taiga-1 | File "/usr/local/lib/python3.6/site-packages/django/db/backends/base/base.py", line 195, in connect docker-taiga-taiga-1 | self.connection = self.get_new_connection(conn_params) docker-taiga-taiga-1 | File "/usr/local/lib/python3.6/site-packages/django/db/backends/postgresql/base.py", line 178, in get_new_connection docker-taiga-taiga-1 | connection = Database.connect(**conn_params) docker-taiga-taiga-1 | File "/usr/local/lib/python3.6/site-packages/psycopg2/__init__.py", line 127, in connect docker-taiga-taiga-1 | conn = _connect(dsn, connection_factory=connection_factory, **kwasync) docker-taiga-taiga-1 | django.db.utils.OperationalError: could not connect to server: Connection refused docker-taiga-taiga-1 | Is the server running on host "127.0.0.1" and accepting docker-taiga-taiga-1 | TCP/IP connections on port 5432? docker-taiga-taiga-1 |
The text was updated successfully, but these errors were encountered: