Skip to content

Instantly share code, notes, and snippets.

@daosborne
Created March 5, 2020 15:07
Show Gist options
  • Save daosborne/bc83812e33d9396d679af54f31565895 to your computer and use it in GitHub Desktop.
Save daosborne/bc83812e33d9396d679af54f31565895 to your computer and use it in GitHub Desktop.
Arches 5.0 Docker: docker-compose run in arches directory (cloned from https://github.com/archesproject/arches.git), with edited docker-compose.yml
~/Research/arches $ docker-compose up
Creating network "arches_default" with the default driver
Creating elasticsearch ... done
Creating letsencrypt ... done
Creating couchdb ... done
Creating db ... done
Creating arches ... done
Creating nginx ... done
Attaching to letsencrypt, couchdb, db, elasticsearch, arches, nginx
arches | Full command: run_arches
arches | Command: run_arches
arches | Testing if database server is up...
db | Add rule to pg_hba: 0.0.0.0/0
db | Add rule to pg_hba: replication replicator
db | Setup master database
letsencrypt | Running on localhost, so not downloading certificates. Exiting...
nginx |
nginx | Initializing NginX to run on: localhost
nginx |
nginx | Setting Nginx up as reverse proxy for **local** Docker container: arches...
nginx | Copying Nginx configuration files...
letsencrypt exited with code 0
nginx | Setting NginX conf to use certificates in /etc/letsencrypt/live/localhost...
nginx | Running Nginx on in the foreground
nginx | 2020/03/05 14:50:19 [warn] 6#6: "ssl_stapling" ignored, no OCSP responder URL in the certificate "/etc/letsencrypt/live/localhost/fullchain.pem"
nginx | nginx: [warn] "ssl_stapling" ignored, no OCSP responder URL in the certificate "/etc/letsencrypt/live/localhost/fullchain.pem"
db | 2020-03-05 14:50:21.515 UTC [26] LOG: starting PostgreSQL 12.2 (Debian 12.2-2.pgdg100+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 8.3.0-6) 8.3.0, 64-bit
db | 2020-03-05 14:50:21.516 UTC [26] LOG: listening on IPv4 address "127.0.0.1", port 5432
db | 2020-03-05 14:50:21.525 UTC [26] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
db | 2020-03-05 14:50:21.571 UTC [32] LOG: database system was shut down at 2020-02-25 12:51:23 UTC
db | 2020-03-05 14:50:21.594 UTC [26] LOG: database system is ready to accept connections
db | List of databases
db | Name | Owner | Encoding | Collate | Ctype | Access privileges
db | -----------+----------+----------+---------+---------+-----------------------
db | postgres | postgres | UTF8 | C.UTF-8 | C.UTF-8 |
db | template0 | postgres | UTF8 | C.UTF-8 | C.UTF-8 | =c/postgres +
db | | | | | | postgres=CTc/postgres
db | template1 | postgres | UTF8 | C.UTF-8 | C.UTF-8 | =c/postgres +
db | | | | | | postgres=CTc/postgres
db | (3 rows)
db |
db | postgres ready
db | Setup postgres User:Password
db | Creating superuser postgres
db | ALTER ROLE
db | Creating replication user replicator
db | CREATE ROLE
db | postgres db already exists
db | List of databases
db | Name | Owner | Encoding | Collate | Ctype | Access privileges
db | -----------+----------+----------+---------+---------+-----------------------
db | postgres | postgres | UTF8 | C.UTF-8 | C.UTF-8 |
db | template0 | postgres | UTF8 | C.UTF-8 | C.UTF-8 | =c/postgres +
db | | | | | | postgres=CTc/postgres
db | template1 | postgres | UTF8 | C.UTF-8 | C.UTF-8 | =c/postgres +
db | | | | | | postgres=CTc/postgres
db | (3 rows)
db |
db | /docker-entrypoint.sh: running /docker-entrypoint-initdb.d/init.sql
nginx | 172.23.0.1 - - [05/Mar/2020:14:50:22 +0000] "HEAD / HTTP/1.1" 400 0 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) DockerDesktop/2.2.0 Chrome/78.0.3904.94 Electron/7.1.0 Safari/537.36" "-"
nginx | 172.23.0.1 - - [05/Mar/2020:14:50:22 +0000] "HEAD / HTTP/1.1" 400 0 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) DockerDesktop/2.2.0 Chrome/78.0.3904.94 Electron/7.1.0 Safari/537.36" "-"
nginx | 172.23.0.1 - - [05/Mar/2020:14:50:22 +0000] "HEAD / HTTP/1.1" 400 0 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) DockerDesktop/2.2.0 Chrome/78.0.3904.94 Electron/7.1.0 Safari/537.36" "-"
nginx | 2020/03/05 14:50:22 [error] 42#42: *3 connect() failed (111: Connection refused) while connecting to upstream, client: 172.23.0.1, server: localhost, request: "HEAD / HTTP/1.1", upstream: "http://172.23.0.4:8000/", host: "localhost"
nginx | 172.23.0.1 - - [05/Mar/2020:14:50:22 +0000] "HEAD / HTTP/1.1" 502 0 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) DockerDesktop/2.2.0 Chrome/78.0.3904.94 Electron/7.1.0 Safari/537.36" "-"
nginx | 172.23.0.1 - - [05/Mar/2020:14:50:22 +0000] "HEAD / HTTP/1.1" 502 0 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) DockerDesktop/2.2.0 Chrome/78.0.3904.94 Electron/7.1.0 Safari/537.36" "-"
nginx | 172.23.0.1 - - [05/Mar/2020:14:50:22 +0000] "HEAD / HTTP/1.1" 502 0 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) DockerDesktop/2.2.0 Chrome/78.0.3904.94 Electron/7.1.0 Safari/537.36" "-"
nginx | 2020/03/05 14:50:22 [error] 42#42: *5 connect() failed (111: Connection refused) while connecting to upstream, client: 172.23.0.1, server: localhost, request: "HEAD / HTTP/1.1", upstream: "http://172.23.0.4:8000/", host: "localhost"
nginx | 2020/03/05 14:50:22 [error] 42#42: *7 connect() failed (111: Connection refused) while connecting to upstream, client: 172.23.0.1, server: localhost, request: "HEAD / HTTP/1.1", upstream: "http://172.23.0.4:8000/", host: "localhost"
db | CREATE DATABASE
db | UPDATE 1
db | You are now connected to database "template_postgis" as user "postgres".
db | CREATE EXTENSION
db | GRANT
db | GRANT
db | GRANT
db | CREATE EXTENSION
db |
db | 2020-03-05 14:50:24.131 UTC [26] LOG: received smart shutdown request
db | 2020-03-05 14:50:24.154 UTC [26] LOG: background worker "logical replication launcher" (PID 43) exited with exit code 1
db | 2020-03-05 14:50:24.169 UTC [38] LOG: shutting down
db | 2020-03-05 14:50:24.423 UTC [26] LOG: database system is shut down
db | Postgres initialisation process completed .... restarting in foreground
db | 2020-03-05 14:50:25.260 UTC [141] LOG: starting PostgreSQL 12.2 (Debian 12.2-2.pgdg100+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 8.3.0-6) 8.3.0, 64-bit
db | 2020-03-05 14:50:25.261 UTC [141] LOG: listening on IPv4 address "0.0.0.0", port 5432
db | 2020-03-05 14:50:25.261 UTC [141] LOG: listening on IPv6 address "::", port 5432
db | 2020-03-05 14:50:25.271 UTC [141] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
db | 2020-03-05 14:50:25.340 UTC [143] LOG: database system was shut down at 2020-03-05 14:50:24 UTC
db | 2020-03-05 14:50:25.408 UTC [141] LOG: database system is ready to accept connections
db | 2020-03-05 14:50:26.467 UTC [151] [unknown]@[unknown] LOG: invalid length of startup packet
db | 2020-03-05 14:50:26.471 UTC [152] [unknown]@[unknown] LOG: invalid length of startup packet
arches | Database server is up
arches | Testing if Elasticsearch is up...
arches | Elasticsearch is up
arches | Checking if database arches exists...
arches | Database arches does not exists yet, starting setup...
arches | Current work directory: /web_root/arches
arches |
arches |
arches | *** Initializing database ***
arches |
arches | *** Any existing Arches database will be deleted ***
arches |
arches |
arches | 5
arches | 4
arches | 3
arches | 2
db | 2020-03-05 14:50:29.932 UTC [154] [unknown]@[unknown] LOG: invalid length of startup packet
arches | 1
db | 2020-03-05 14:50:31.539 UTC [156] [unknown]@[unknown] LOG: invalid length of startup packet
db | 2020-03-05 14:50:31.546 UTC [155] [unknown]@[unknown] LOG: invalid length of startup packet
arches | 0
arches |
arches | Running: python manage.py setup_db --force
arches | /web_root/arches/arches/app/search/base_index.py:12: SyntaxWarning: "is" with a literal. Did you mean "=="?
arches | if index_name is None or index_name is "":
arches | Drop and recreate the database...
arches |
arches | SELECT pg_terminate_backend(pid) FROM pg_stat_activity
arches | WHERE datname IN ('arches', 'template_postgis');
arches |
arches | DROP DATABASE IF EXISTS arches;
arches |
arches | CREATE DATABASE arches
arches | WITH OWNER = postgres
arches | ENCODING = 'UTF8'
arches | CONNECTION LIMIT=-1
arches | TEMPLATE = template_postgis;
arches |
arches | deleting index : arches_terms
arches | Traceback (most recent call last):
arches | File "/web_root/ENV/lib/python3.8/site-packages/urllib3/connection.py", line 156, in _new_conn
arches | conn = connection.create_connection(
arches | File "/web_root/ENV/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection
arches | raise err
arches | File "/web_root/ENV/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, in create_connection
arches | sock.connect(sa)
arches | ConnectionRefusedError: [Errno 111] Connection refused
arches |
arches | During handling of the above exception, another exception occurred:
arches |
arches | Traceback (most recent call last):
arches | File "/web_root/ENV/lib/python3.8/site-packages/elasticsearch/connection/http_urllib3.py", line 237, in perform_request
arches | response = self.pool.urlopen(
arches | File "/web_root/ENV/lib/python3.8/site-packages/urllib3/connectionpool.py", line 719, in urlopen
arches | retries = retries.increment(
arches | File "/web_root/ENV/lib/python3.8/site-packages/urllib3/util/retry.py", line 376, in increment
arches | raise six.reraise(type(error), error, _stacktrace)
arches | File "/web_root/ENV/lib/python3.8/site-packages/urllib3/packages/six.py", line 735, in reraise
arches | raise value
arches | File "/web_root/ENV/lib/python3.8/site-packages/urllib3/connectionpool.py", line 665, in urlopen
arches | httplib_response = self._make_request(
arches | File "/web_root/ENV/lib/python3.8/site-packages/urllib3/connectionpool.py", line 387, in _make_request
arches | conn.request(method, url, **httplib_request_kw)
arches | File "/usr/lib/python3.8/http/client.py", line 1230, in request
arches | self._send_request(method, url, body, headers, encode_chunked)
arches | File "/usr/lib/python3.8/http/client.py", line 1276, in _send_request
arches | self.endheaders(body, encode_chunked=encode_chunked)
arches | File "/usr/lib/python3.8/http/client.py", line 1225, in endheaders
arches | self._send_output(message_body, encode_chunked=encode_chunked)
arches | File "/usr/lib/python3.8/http/client.py", line 1004, in _send_output
arches | self.send(msg)
arches | File "/usr/lib/python3.8/http/client.py", line 944, in send
arches | self.connect()
arches | File "/web_root/ENV/lib/python3.8/site-packages/urllib3/connection.py", line 184, in connect
arches | conn = self._new_conn()
arches | File "/web_root/ENV/lib/python3.8/site-packages/urllib3/connection.py", line 168, in _new_conn
arches | raise NewConnectionError(
arches | urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fecdd215fa0>: Failed to establish a new connection: [Errno 111] Connection refused
arches |
arches | During handling of the above exception, another exception occurred:
arches |
arches | Traceback (most recent call last):
arches | File "manage.py", line 27, in <module>
arches | execute_from_command_line(sys.argv)
arches | File "/web_root/ENV/lib/python3.8/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
arches | utility.execute()
arches | File "/web_root/ENV/lib/python3.8/site-packages/django/core/management/__init__.py", line 375, in execute
arches | self.fetch_command(subcommand).run_from_argv(self.argv)
arches | File "/web_root/ENV/lib/python3.8/site-packages/django/core/management/base.py", line 323, in run_from_argv
arches | self.execute(*args, **cmd_options)
arches | File "/web_root/ENV/lib/python3.8/site-packages/django/core/management/base.py", line 364, in execute
arches | output = self.handle(*args, **options)
arches | File "/web_root/arches/arches/management/commands/setup_db.py", line 52, in handle
arches | self.setup_db()
arches | File "/web_root/arches/arches/management/commands/setup_db.py", line 191, in setup_db
arches | management.call_command("es", operation="delete_indexes")
arches | File "/web_root/ENV/lib/python3.8/site-packages/django/core/management/__init__.py", line 148, in call_command
arches | return command.execute(*args, **defaults)
arches | File "/web_root/ENV/lib/python3.8/site-packages/django/core/management/base.py", line 364, in execute
arches | output = self.handle(*args, **options)
arches | File "/web_root/arches/arches/management/commands/es.py", line 105, in handle
arches | self.delete_indexes()
arches | File "/web_root/arches/arches/management/commands/es.py", line 146, in delete_indexes
arches | delete_terms_index()
arches | File "/web_root/arches/arches/app/search/mappings.py", line 92, in delete_terms_index
arches | se.delete_index(index="terms")
arches | File "/web_root/arches/arches/app/search/search.py", line 105, in delete_index
arches | return self.es.indices.delete(ignore=[400, 404], **kwargs)
arches | File "/web_root/ENV/lib/python3.8/site-packages/elasticsearch/client/utils.py", line 84, in _wrapped
arches | return func(*args, params=params, **kwargs)
arches | File "/web_root/ENV/lib/python3.8/site-packages/elasticsearch/client/indices.py", line 260, in delete
arches | return self.transport.perform_request(
arches | File "/web_root/ENV/lib/python3.8/site-packages/elasticsearch/transport.py", line 351, in perform_request
arches | status, headers_response, data = connection.perform_request(
arches | File "/web_root/ENV/lib/python3.8/site-packages/elasticsearch/connection/http_urllib3.py", line 250, in perform_request
arches | raise ConnectionError("N/A", str(e), e)
arches | elasticsearch.exceptions.ConnectionError: ConnectionError(<urllib3.connection.HTTPConnection object at 0x7fecdd215fa0>: Failed to establish a new connection: [Errno 111] Connection refused) caused by: NewConnectionError(<urllib3.connection.HTTPConnection object at 0x7fecdd215fa0>: Failed to establish a new connection: [Errno 111] Connection refused)
arches | Running: Creating couchdb system databases
arches | % Total % Received % Xferd Average Speed Time Time Time Current
arches | Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0{"ok":true}
100 12 100 12 0 0 76 0 --:--:-- --:--:-- --:--:-- 76
arches | % Total % Received % Xferd Average Speed Time Time Time Current
arches | Dload Upload Total Spent Left Speed
100 12 100 12 0 0 126 0 --:--:-- --:--:-- --:--:-- 127
arches | {"ok":true}
arches | % Total % Received % Xferd Average Speed Time Time Time Current
arches | Dload Upload Total Spent Left Speed
100 12 100 12 0 0 134 0 --:--:-- --:--:-- --:--:-- 134
arches | {"ok":true}
db | 2020-03-05 14:50:34.793 UTC [158] postgres@arches ERROR: relation "public.graphs" does not exist at character 22
db | 2020-03-05 14:50:34.793 UTC [158] postgres@arches STATEMENT: SELECT COUNT(*) FROM public.graphs
arches | ERROR: relation "public.graphs" does not exist
arches | LINE 1: SELECT COUNT(*) FROM public.graphs
arches | ^
arches | Running: python manage.py packages -o import_graphs
db | 2020-03-05 14:50:34.969 UTC [159] [unknown]@[unknown] LOG: invalid length of startup packet
db | 2020-03-05 14:50:36.292 UTC [160] postgres@arches ERROR: relation "ontologies" does not exist at character 39
db | 2020-03-05 14:50:36.292 UTC [160] postgres@arches STATEMENT: SELECT "ontologies"."ontologyid" FROM "ontologies"
db | 2020-03-05 14:50:36.297 UTC [160] postgres@arches ERROR: relation "ontologies" does not exist at character 39
db | 2020-03-05 14:50:36.297 UTC [160] postgres@arches STATEMENT: SELECT "ontologies"."ontologyid" FROM "ontologies"
db | 2020-03-05 14:50:36.300 UTC [160] postgres@arches ERROR: relation "ontologies" does not exist at character 39
db | 2020-03-05 14:50:36.300 UTC [160] postgres@arches STATEMENT: SELECT "ontologies"."ontologyid" FROM "ontologies"
db | 2020-03-05 14:50:36.303 UTC [160] postgres@arches ERROR: relation "ontologies" does not exist at character 39
db | 2020-03-05 14:50:36.303 UTC [160] postgres@arches STATEMENT: SELECT "ontologies"."ontologyid" FROM "ontologies"
db | 2020-03-05 14:50:36.305 UTC [160] postgres@arches ERROR: relation "ontologies" does not exist at character 39
db | 2020-03-05 14:50:36.305 UTC [160] postgres@arches STATEMENT: SELECT "ontologies"."ontologyid" FROM "ontologies"
db | 2020-03-05 14:50:36.307 UTC [160] postgres@arches ERROR: relation "ontologies" does not exist at character 39
db | 2020-03-05 14:50:36.307 UTC [160] postgres@arches STATEMENT: SELECT "ontologies"."ontologyid" FROM "ontologies"
db | 2020-03-05 14:50:36.310 UTC [160] postgres@arches ERROR: relation "ontologies" does not exist at character 39
db | 2020-03-05 14:50:36.310 UTC [160] postgres@arches STATEMENT: SELECT "ontologies"."ontologyid" FROM "ontologies"
db | 2020-03-05 14:50:36.312 UTC [160] postgres@arches ERROR: relation "ontologies" does not exist at character 39
db | 2020-03-05 14:50:36.312 UTC [160] postgres@arches STATEMENT: SELECT "ontologies"."ontologyid" FROM "ontologies"
db | 2020-03-05 14:50:36.314 UTC [160] postgres@arches ERROR: relation "ontologies" does not exist at character 39
db | 2020-03-05 14:50:36.314 UTC [160] postgres@arches STATEMENT: SELECT "ontologies"."ontologyid" FROM "ontologies"
db | 2020-03-05 14:50:36.317 UTC [160] postgres@arches ERROR: relation "ontologies" does not exist at character 39
db | 2020-03-05 14:50:36.317 UTC [160] postgres@arches STATEMENT: SELECT "ontologies"."ontologyid" FROM "ontologies"
db | 2020-03-05 14:50:36.320 UTC [160] postgres@arches ERROR: relation "ontologies" does not exist at character 39
db | 2020-03-05 14:50:36.320 UTC [160] postgres@arches STATEMENT: SELECT "ontologies"."ontologyid" FROM "ontologies"
db | 2020-03-05 14:50:36.326 UTC [160] postgres@arches ERROR: relation "ontologies" does not exist at character 39
db | 2020-03-05 14:50:36.326 UTC [160] postgres@arches STATEMENT: SELECT "ontologies"."ontologyid" FROM "ontologies"
db | 2020-03-05 14:50:36.329 UTC [160] postgres@arches ERROR: relation "ontologies" does not exist at character 39
db | 2020-03-05 14:50:36.329 UTC [160] postgres@arches STATEMENT: SELECT "ontologies"."ontologyid" FROM "ontologies"
db | 2020-03-05 14:50:36.333 UTC [160] postgres@arches ERROR: relation "ontologies" does not exist at character 39
db | 2020-03-05 14:50:36.333 UTC [160] postgres@arches STATEMENT: SELECT "ontologies"."ontologyid" FROM "ontologies"
db | 2020-03-05 14:50:36.342 UTC [160] postgres@arches ERROR: relation "ontologies" does not exist at character 39
db | 2020-03-05 14:50:36.342 UTC [160] postgres@arches STATEMENT: SELECT "ontologies"."ontologyid" FROM "ontologies"
db | 2020-03-05 14:50:36.345 UTC [160] postgres@arches ERROR: relation "ontologies" does not exist at character 39
db | 2020-03-05 14:50:36.345 UTC [160] postgres@arches STATEMENT: SELECT "ontologies"."ontologyid" FROM "ontologies"
db | 2020-03-05 14:50:36.348 UTC [160] postgres@arches ERROR: relation "ontologies" does not exist at character 39
db | 2020-03-05 14:50:36.348 UTC [160] postgres@arches STATEMENT: SELECT "ontologies"."ontologyid" FROM "ontologies"
db | 2020-03-05 14:50:36.360 UTC [160] postgres@arches ERROR: relation "ontologies" does not exist at character 39
db | 2020-03-05 14:50:36.360 UTC [160] postgres@arches STATEMENT: SELECT "ontologies"."ontologyid" FROM "ontologies"
db | 2020-03-05 14:50:36.369 UTC [160] postgres@arches ERROR: relation "ontologies" does not exist at character 39
db | 2020-03-05 14:50:36.369 UTC [160] postgres@arches STATEMENT: SELECT "ontologies"."ontologyid" FROM "ontologies"
db | 2020-03-05 14:50:36.378 UTC [160] postgres@arches ERROR: relation "ontologies" does not exist at character 39
db | 2020-03-05 14:50:36.378 UTC [160] postgres@arches STATEMENT: SELECT "ontologies"."ontologyid" FROM "ontologies"
db | 2020-03-05 14:50:36.384 UTC [160] postgres@arches ERROR: relation "ontologies" does not exist at character 39
db | 2020-03-05 14:50:36.384 UTC [160] postgres@arches STATEMENT: SELECT "ontologies"."ontologyid" FROM "ontologies"
db | 2020-03-05 14:50:36.388 UTC [160] postgres@arches ERROR: relation "ontologies" does not exist at character 39
db | 2020-03-05 14:50:36.388 UTC [160] postgres@arches STATEMENT: SELECT "ontologies"."ontologyid" FROM "ontologies"
db | 2020-03-05 14:50:36.395 UTC [160] postgres@arches ERROR: relation "ontologies" does not exist at character 39
db | 2020-03-05 14:50:36.395 UTC [160] postgres@arches STATEMENT: SELECT "ontologies"."ontologyid" FROM "ontologies"
db | 2020-03-05 14:50:36.401 UTC [160] postgres@arches ERROR: relation "ontologies" does not exist at character 39
db | 2020-03-05 14:50:36.401 UTC [160] postgres@arches STATEMENT: SELECT "ontologies"."ontologyid" FROM "ontologies"
db | 2020-03-05 14:50:36.404 UTC [160] postgres@arches ERROR: relation "ontologies" does not exist at character 39
db | 2020-03-05 14:50:36.404 UTC [160] postgres@arches STATEMENT: SELECT "ontologies"."ontologyid" FROM "ontologies"
db | 2020-03-05 14:50:36.406 UTC [160] postgres@arches ERROR: relation "ontologies" does not exist at character 39
db | 2020-03-05 14:50:36.406 UTC [160] postgres@arches STATEMENT: SELECT "ontologies"."ontologyid" FROM "ontologies"
db | 2020-03-05 14:50:36.408 UTC [160] postgres@arches ERROR: relation "ontologies" does not exist at character 39
db | 2020-03-05 14:50:36.408 UTC [160] postgres@arches STATEMENT: SELECT "ontologies"."ontologyid" FROM "ontologies"
db | 2020-03-05 14:50:36.411 UTC [160] postgres@arches ERROR: relation "ontologies" does not exist at character 39
db | 2020-03-05 14:50:36.411 UTC [160] postgres@arches STATEMENT: SELECT "ontologies"."ontologyid" FROM "ontologies"
db | 2020-03-05 14:50:36.413 UTC [160] postgres@arches ERROR: relation "ontologies" does not exist at character 39
db | 2020-03-05 14:50:36.413 UTC [160] postgres@arches STATEMENT: SELECT "ontologies"."ontologyid" FROM "ontologies"
db | 2020-03-05 14:50:36.416 UTC [160] postgres@arches ERROR: relation "ontologies" does not exist at character 39
db | 2020-03-05 14:50:36.416 UTC [160] postgres@arches STATEMENT: SELECT "ontologies"."ontologyid" FROM "ontologies"
db | 2020-03-05 14:50:36.425 UTC [160] postgres@arches ERROR: relation "ontologies" does not exist at character 39
db | 2020-03-05 14:50:36.425 UTC [160] postgres@arches STATEMENT: SELECT "ontologies"."ontologyid" FROM "ontologies"
db | 2020-03-05 14:50:36.429 UTC [160] postgres@arches ERROR: relation "ontologies" does not exist at character 39
db | 2020-03-05 14:50:36.429 UTC [160] postgres@arches STATEMENT: SELECT "ontologies"."ontologyid" FROM "ontologies"
db | 2020-03-05 14:50:36.435 UTC [160] postgres@arches ERROR: relation "ontologies" does not exist at character 39
db | 2020-03-05 14:50:36.435 UTC [160] postgres@arches STATEMENT: SELECT "ontologies"."ontologyid" FROM "ontologies"
db | 2020-03-05 14:50:36.445 UTC [160] postgres@arches ERROR: relation "ontologies" does not exist at character 39
db | 2020-03-05 14:50:36.445 UTC [160] postgres@arches STATEMENT: SELECT "ontologies"."ontologyid" FROM "ontologies"
db | 2020-03-05 14:50:36.449 UTC [160] postgres@arches ERROR: relation "ontologies" does not exist at character 39
db | 2020-03-05 14:50:36.449 UTC [160] postgres@arches STATEMENT: SELECT "ontologies"."ontologyid" FROM "ontologies"
db | 2020-03-05 14:50:36.455 UTC [160] postgres@arches ERROR: relation "ontologies" does not exist at character 39
db | 2020-03-05 14:50:36.455 UTC [160] postgres@arches STATEMENT: SELECT "ontologies"."ontologyid" FROM "ontologies"
db | 2020-03-05 14:50:36.471 UTC [160] postgres@arches ERROR: relation "ontologies" does not exist at character 39
db | 2020-03-05 14:50:36.471 UTC [160] postgres@arches STATEMENT: SELECT "ontologies"."ontologyid" FROM "ontologies"
db | 2020-03-05 14:50:36.478 UTC [160] postgres@arches ERROR: relation "ontologies" does not exist at character 39
db | 2020-03-05 14:50:36.478 UTC [160] postgres@arches STATEMENT: SELECT "ontologies"."ontologyid" FROM "ontologies"
db | 2020-03-05 14:50:36.496 UTC [160] postgres@arches ERROR: relation "ontologies" does not exist at character 39
db | 2020-03-05 14:50:36.496 UTC [160] postgres@arches STATEMENT: SELECT "ontologies"."ontologyid" FROM "ontologies"
arches | operation: import_graphs
arches | /web_root/arches/arches/db/graphs/branches/Information Resource Copyright.json
arches | relation "ontologies" does not exist
arches | LINE 1: SELECT "ontologies"."ontologyid" FROM "ontologies"
arches | ^
arches |
arches | /web_root/arches/arches/db/graphs/branches/Event Phase Type.json
arches | relation "ontologies" does not exist
arches | LINE 1: SELECT "ontologies"."ontologyid" FROM "ontologies"
arches | ^
arches |
arches | /web_root/arches/arches/db/graphs/branches/Description.json
arches | relation "ontologies" does not exist
arches | LINE 1: SELECT "ontologies"."ontologyid" FROM "ontologies"
arches | ^
arches |
arches | /web_root/arches/arches/db/graphs/branches/Place 1.json
arches | relation "ontologies" does not exist
arches | LINE 1: SELECT "ontologies"."ontologyid" FROM "ontologies"
arches | ^
arches |
arches | /web_root/arches/arches/db/graphs/branches/Resource Type Classification.json
arches | relation "ontologies" does not exist
arches | LINE 1: SELECT "ontologies"."ontologyid" FROM "ontologies"
arches | ^
arches |
arches | /web_root/arches/arches/db/graphs/branches/Publication Event.json
arches | relation "ontologies" does not exist
arches | LINE 1: SELECT "ontologies"."ontologyid" FROM "ontologies"
arches | ^
arches |
arches | /web_root/arches/arches/db/graphs/branches/External Identifier.json
arches | relation "ontologies" does not exist
arches | LINE 1: SELECT "ontologies"."ontologyid" FROM "ontologies"
arches | ^
arches |
arches | /web_root/arches/arches/db/graphs/branches/Heritage Resource Group Phase Type.json
arches | relation "ontologies" does not exist
arches | LINE 1: SELECT "ontologies"."ontologyid" FROM "ontologies"
arches | ^
arches |
arches | /web_root/arches/arches/db/graphs/branches/Appellation.json
arches | relation "ontologies" does not exist
arches | LINE 1: SELECT "ontologies"."ontologyid" FROM "ontologies"
arches | ^
arches |
arches | /web_root/arches/arches/db/graphs/branches/Modification Event.json
arches | relation "ontologies" does not exist
arches | LINE 1: SELECT "ontologies"."ontologyid" FROM "ontologies"
arches | ^
arches |
arches | /web_root/arches/arches/db/graphs/branches/Heritage Resource Phase Type.json
arches | relation "ontologies" does not exist
arches | LINE 1: SELECT "ontologies"."ontologyid" FROM "ontologies"
arches | ^
arches |
arches | /web_root/arches/arches/db/graphs/branches/Component.json
arches | relation "ontologies" does not exist
arches | LINE 1: SELECT "ontologies"."ontologyid" FROM "ontologies"
arches | ^
arches |
arches | /web_root/arches/arches/db/graphs/branches/Settings System Defaults.json
arches | relation "ontologies" does not exist
arches | LINE 1: SELECT "ontologies"."ontologyid" FROM "ontologies"
arches | ^
arches |
arches | /web_root/arches/arches/db/graphs/branches/Evaluation.json
arches | relation "ontologies" does not exist
arches | LINE 1: SELECT "ontologies"."ontologyid" FROM "ontologies"
arches | ^
arches |
arches | /web_root/arches/arches/db/graphs/branches/Activity Phase.json
arches | relation "ontologies" does not exist
arches | LINE 1: SELECT "ontologies"."ontologyid" FROM "ontologies"
arches | ^
arches |
arches | /web_root/arches/arches/db/graphs/branches/Place 3.json
arches | relation "ontologies" does not exist
arches | LINE 1: SELECT "ontologies"."ontologyid" FROM "ontologies"
arches | ^
arches |
arches | /web_root/arches/arches/db/graphs/branches/Resource Update Event.json
arches | relation "ontologies" does not exist
arches | LINE 1: SELECT "ontologies"."ontologyid" FROM "ontologies"
arches | ^
arches |
arches | /web_root/arches/arches/db/graphs/branches/Keyword.json
arches | relation "ontologies" does not exist
arches | LINE 1: SELECT "ontologies"."ontologyid" FROM "ontologies"
arches | ^
arches |
arches | /web_root/arches/arches/db/graphs/branches/Beginning of Existence.json
arches | relation "ontologies" does not exist
arches | LINE 1: SELECT "ontologies"."ontologyid" FROM "ontologies"
arches | ^
arches |
arches | /web_root/arches/arches/db/graphs/branches/Settings Map.json
arches | relation "ontologies" does not exist
arches | LINE 1: SELECT "ontologies"."ontologyid" FROM "ontologies"
arches | ^
arches |
arches | /web_root/arches/arches/db/graphs/branches/Actor Phase.json
arches | relation "ontologies" does not exist
arches | LINE 1: SELECT "ontologies"."ontologyid" FROM "ontologies"
arches | ^
arches |
arches | /web_root/arches/arches/db/graphs/branches/Right.json
arches | relation "ontologies" does not exist
arches | LINE 1: SELECT "ontologies"."ontologyid" FROM "ontologies"
arches | ^
arches |
arches | /web_root/arches/arches/db/graphs/branches/Title.json
arches | relation "ontologies" does not exist
arches | LINE 1: SELECT "ontologies"."ontologyid" FROM "ontologies"
arches | ^
arches |
arches | /web_root/arches/arches/db/graphs/branches/Information Carrier.json
arches | relation "ontologies" does not exist
arches | LINE 1: SELECT "ontologies"."ontologyid" FROM "ontologies"
arches | ^
arches |
arches | /web_root/arches/arches/db/graphs/branches/Information Resource Creation Event.json
arches | relation "ontologies" does not exist
arches | LINE 1: SELECT "ontologies"."ontologyid" FROM "ontologies"
arches | ^
arches |
arches | /web_root/arches/arches/db/graphs/branches/Settings Saved Searches.json
arches | relation "ontologies" does not exist
arches | LINE 1: SELECT "ontologies"."ontologyid" FROM "ontologies"
arches | ^
arches |
arches | /web_root/arches/arches/db/graphs/branches/Settings Time Search.json
arches | relation "ontologies" does not exist
arches | LINE 1: SELECT "ontologies"."ontologyid" FROM "ontologies"
arches | ^
arches |
arches | /web_root/arches/arches/db/graphs/branches/Language.json
arches | relation "ontologies" does not exist
arches | LINE 1: SELECT "ontologies"."ontologyid" FROM "ontologies"
arches | ^
arches |
arches | /web_root/arches/arches/db/graphs/branches/End of Existence.json
arches | relation "ontologies" does not exist
arches | LINE 1: SELECT "ontologies"."ontologyid" FROM "ontologies"
arches | ^
arches |
arches | /web_root/arches/arches/db/graphs/branches/Settings Basic Search.json
arches | relation "ontologies" does not exist
arches | LINE 1: SELECT "ontologies"."ontologyid" FROM "ontologies"
arches | ^
arches |
arches | /web_root/arches/arches/db/graphs/branches/Existence.json
arches | relation "ontologies" does not exist
arches | LINE 1: SELECT "ontologies"."ontologyid" FROM "ontologies"
arches | ^
arches |
arches | /web_root/arches/arches/db/graphs/branches/Temporal Coverage.json
arches | relation "ontologies" does not exist
arches | LINE 1: SELECT "ontologies"."ontologyid" FROM "ontologies"
arches | ^
arches |
arches | /web_root/arches/arches/db/graphs/branches/Place 2.json
arches | relation "ontologies" does not exist
arches | LINE 1: SELECT "ontologies"."ontologyid" FROM "ontologies"
arches | ^
arches |
arches | /web_root/arches/arches/db/graphs/branches/Measurement.json
arches | relation "ontologies" does not exist
arches | LINE 1: SELECT "ontologies"."ontologyid" FROM "ontologies"
arches | ^
arches |
arches | /web_root/arches/arches/db/graphs/branches/Name.json
arches | relation "ontologies" does not exist
arches | LINE 1: SELECT "ontologies"."ontologyid" FROM "ontologies"
arches | ^
arches |
arches | /web_root/arches/arches/db/graphs/branches/Condition Assessment.json
arches | relation "ontologies" does not exist
arches | LINE 1: SELECT "ontologies"."ontologyid" FROM "ontologies"
arches | ^
arches |
arches | /web_root/arches/arches/db/graphs/resource_models/Heritage Resource Model.json
arches | relation "ontologies" does not exist
arches | LINE 1: SELECT "ontologies"."ontologyid" FROM "ontologies"
arches | ^
arches |
arches | /web_root/arches/arches/db/graphs/resource_models/Activity Resource Model.json
arches | relation "ontologies" does not exist
arches | LINE 1: SELECT "ontologies"."ontologyid" FROM "ontologies"
arches | ^
arches |
arches | /web_root/arches/arches/db/graphs/resource_models/Heritage Resource Group Resource Model.json
arches | relation "ontologies" does not exist
arches | LINE 1: SELECT "ontologies"."ontologyid" FROM "ontologies"
arches | ^
db | 2020-03-05 14:50:36.549 UTC [161] [unknown]@[unknown] LOG: invalid length of startup packet
db | 2020-03-05 14:50:36.554 UTC [160] postgres@arches ERROR: relation "ontologies" does not exist at character 39
db | 2020-03-05 14:50:36.554 UTC [160] postgres@arches STATEMENT: SELECT "ontologies"."ontologyid" FROM "ontologies"
db | 2020-03-05 14:50:36.551 UTC [162] [unknown]@[unknown] LOG: invalid length of startup packet
db | 2020-03-05 14:50:36.577 UTC [160] postgres@arches ERROR: relation "ontologies" does not exist at character 39
db | 2020-03-05 14:50:36.577 UTC [160] postgres@arches STATEMENT: SELECT "ontologies"."ontologyid" FROM "ontologies"
db | 2020-03-05 14:50:36.603 UTC [160] postgres@arches ERROR: relation "ontologies" does not exist at character 39
db | 2020-03-05 14:50:36.603 UTC [160] postgres@arches STATEMENT: SELECT "ontologies"."ontologyid" FROM "ontologies"
arches |
arches | /web_root/arches/arches/db/graphs/resource_models/Historical Event Resource Model.json
arches | relation "ontologies" does not exist
arches | LINE 1: SELECT "ontologies"."ontologyid" FROM "ontologies"
arches | ^
arches |
arches | /web_root/arches/arches/db/graphs/resource_models/Actor Resource Model.json
arches | relation "ontologies" does not exist
arches | LINE 1: SELECT "ontologies"."ontologyid" FROM "ontologies"
arches | ^
arches |
arches | /web_root/arches/arches/db/graphs/resource_models/Information Resource Model.json
arches | relation "ontologies" does not exist
arches | LINE 1: SELECT "ontologies"."ontologyid" FROM "ontologies"
arches | ^
arches |
db | 2020-03-05 14:50:37.083 UTC [163] postgres@arches ERROR: relation "public.concepts" does not exist at character 22
db | 2020-03-05 14:50:37.083 UTC [163] postgres@arches STATEMENT: SELECT COUNT(*) FROM public.concepts WHERE nodetype = 'Concept'
arches | ERROR: relation "public.concepts" does not exist
arches | LINE 1: SELECT COUNT(*) FROM public.concepts WHERE nodetype = 'Conce...
arches | ^
arches | Running: python manage.py packages -o import_reference_data -s "arches/db/schemes/arches_concept_scheme.rdf"
db | 2020-03-05 14:50:42.804 UTC [164] postgres@arches ERROR: relation "d_value_types" does not exist at character 41
db | 2020-03-05 14:50:42.804 UTC [164] postgres@arches STATEMENT: SELECT "d_value_types"."valuetype" FROM "d_value_types" WHERE ("d_value_types"."namespace" = 'skos' OR "d_value_types"."namespace" = 'arches')
arches | operation: import_reference_data
arches | Traceback (most recent call last):
arches | File "/web_root/ENV/lib/python3.8/site-packages/django/db/backends/utils.py", line 84, in _execute
arches | return self.cursor.execute(sql, params)
arches | psycopg2.errors.UndefinedTable: relation "d_value_types" does not exist
arches | LINE 1: SELECT "d_value_types"."valuetype" FROM "d_value_types" WHER...
arches | ^
arches |
arches |
arches | The above exception was the direct cause of the following exception:
arches |
arches | Traceback (most recent call last):
arches | File "manage.py", line 27, in <module>
arches | execute_from_command_line(sys.argv)
arches | File "/web_root/ENV/lib/python3.8/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
arches | utility.execute()
arches | File "/web_root/ENV/lib/python3.8/site-packages/django/core/management/__init__.py", line 375, in execute
arches | self.fetch_command(subcommand).run_from_argv(self.argv)
arches | File "/web_root/ENV/lib/python3.8/site-packages/django/core/management/base.py", line 323, in run_from_argv
arches | self.execute(*args, **cmd_options)
arches | File "/web_root/ENV/lib/python3.8/site-packages/django/core/management/base.py", line 364, in execute
arches | output = self.handle(*args, **options)
arches | File "/web_root/arches/arches/management/commands/packages.py", line 251, in handle
arches | self.import_reference_data(options["source"], options["overwrite"], options["stage"], options["bulk_load"])
arches | File "/web_root/arches/arches/management/commands/packages.py", line 887, in import_reference_data
arches | ret = skos.save_concepts_from_skos(rdf, overwrite, stage)
arches | File "/web_root/arches/arches/app/utils/skos.py", line 80, in save_concepts_from_skos
arches | skos_value_types_list = list(skos_value_types.values_list("valuetype", flat=True))
arches | File "/web_root/ENV/lib/python3.8/site-packages/django/db/models/query.py", line 256, in __len__
arches | self._fetch_all()
arches | File "/web_root/ENV/lib/python3.8/site-packages/django/db/models/query.py", line 1242, in _fetch_all
arches | self._result_cache = list(self._iterable_class(self))
arches | File "/web_root/ENV/lib/python3.8/site-packages/django/db/models/query.py", line 182, in __iter__
arches | for row in compiler.results_iter(chunked_fetch=self.chunked_fetch, chunk_size=self.chunk_size):
arches | File "/web_root/ENV/lib/python3.8/site-packages/django/db/models/sql/compiler.py", line 1085, in results_iter
arches | results = self.execute_sql(MULTI, chunked_fetch=chunked_fetch, chunk_size=chunk_size)
arches | File "/web_root/ENV/lib/python3.8/site-packages/django/db/models/sql/compiler.py", line 1133, in execute_sql
arches | cursor.execute(sql, params)
arches | File "/web_root/ENV/lib/python3.8/site-packages/django/db/backends/utils.py", line 99, in execute
arches | return super().execute(sql, params)
arches | File "/web_root/ENV/lib/python3.8/site-packages/django/db/backends/utils.py", line 67, in execute
arches | return self._execute_with_wrappers(sql, params, many=False, executor=self._execute)
arches | File "/web_root/ENV/lib/python3.8/site-packages/django/db/backends/utils.py", line 76, in _execute_with_wrappers
arches | return executor(sql, params, many, context)
arches | File "/web_root/ENV/lib/python3.8/site-packages/django/db/backends/utils.py", line 84, in _execute
arches | return self.cursor.execute(sql, params)
arches | File "/web_root/ENV/lib/python3.8/site-packages/django/db/utils.py", line 89, in __exit__
arches | raise dj_exc_value.with_traceback(traceback) from exc_value
arches | File "/web_root/ENV/lib/python3.8/site-packages/django/db/backends/utils.py", line 84, in _execute
arches | return self.cursor.execute(sql, params)
arches | django.db.utils.ProgrammingError: relation "d_value_types" does not exist
arches | LINE 1: SELECT "d_value_types"."valuetype" FROM "d_value_types" WHER...
arches | ^
arches |
db | 2020-03-05 14:50:43.310 UTC [165] postgres@arches ERROR: relation "public.concepts" does not exist at character 22
db | 2020-03-05 14:50:43.310 UTC [165] postgres@arches STATEMENT: SELECT COUNT(*) FROM public.concepts WHERE nodetype = 'Collection'
arches | ERROR: relation "public.concepts" does not exist
arches | LINE 1: SELECT COUNT(*) FROM public.concepts WHERE nodetype = 'Colle...
arches | ^
arches | Running: python manage.py packages -o import_reference_data -s "arches/db/schemes/arches_concept_collections.rdf"
db | 2020-03-05 14:50:44.448 UTC [166] [unknown]@[unknown] LOG: invalid length of startup packet
db | 2020-03-05 14:50:46.353 UTC [167] postgres@arches ERROR: relation "d_value_types" does not exist at character 41
db | 2020-03-05 14:50:46.353 UTC [167] postgres@arches STATEMENT: SELECT "d_value_types"."valuetype" FROM "d_value_types" WHERE ("d_value_types"."namespace" = 'skos' OR "d_value_types"."namespace" = 'arches')
arches | operation: import_reference_data
arches | Traceback (most recent call last):
arches | File "/web_root/ENV/lib/python3.8/site-packages/django/db/backends/utils.py", line 84, in _execute
arches | return self.cursor.execute(sql, params)
arches | psycopg2.errors.UndefinedTable: relation "d_value_types" does not exist
arches | LINE 1: SELECT "d_value_types"."valuetype" FROM "d_value_types" WHER...
arches | ^
arches |
arches |
arches | The above exception was the direct cause of the following exception:
arches |
arches | Traceback (most recent call last):
arches | File "manage.py", line 27, in <module>
arches | execute_from_command_line(sys.argv)
arches | File "/web_root/ENV/lib/python3.8/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
arches | utility.execute()
arches | File "/web_root/ENV/lib/python3.8/site-packages/django/core/management/__init__.py", line 375, in execute
arches | self.fetch_command(subcommand).run_from_argv(self.argv)
arches | File "/web_root/ENV/lib/python3.8/site-packages/django/core/management/base.py", line 323, in run_from_argv
arches | self.execute(*args, **cmd_options)
arches | File "/web_root/ENV/lib/python3.8/site-packages/django/core/management/base.py", line 364, in execute
arches | output = self.handle(*args, **options)
arches | File "/web_root/arches/arches/management/commands/packages.py", line 251, in handle
arches | self.import_reference_data(options["source"], options["overwrite"], options["stage"], options["bulk_load"])
arches | File "/web_root/arches/arches/management/commands/packages.py", line 887, in import_reference_data
arches | ret = skos.save_concepts_from_skos(rdf, overwrite, stage)
arches | File "/web_root/arches/arches/app/utils/skos.py", line 80, in save_concepts_from_skos
arches | skos_value_types_list = list(skos_value_types.values_list("valuetype", flat=True))
arches | File "/web_root/ENV/lib/python3.8/site-packages/django/db/models/query.py", line 256, in __len__
arches | self._fetch_all()
arches | File "/web_root/ENV/lib/python3.8/site-packages/django/db/models/query.py", line 1242, in _fetch_all
arches | self._result_cache = list(self._iterable_class(self))
arches | File "/web_root/ENV/lib/python3.8/site-packages/django/db/models/query.py", line 182, in __iter__
arches | for row in compiler.results_iter(chunked_fetch=self.chunked_fetch, chunk_size=self.chunk_size):
arches | File "/web_root/ENV/lib/python3.8/site-packages/django/db/models/sql/compiler.py", line 1085, in results_iter
arches | results = self.execute_sql(MULTI, chunked_fetch=chunked_fetch, chunk_size=chunk_size)
arches | File "/web_root/ENV/lib/python3.8/site-packages/django/db/models/sql/compiler.py", line 1133, in execute_sql
arches | cursor.execute(sql, params)
arches | File "/web_root/ENV/lib/python3.8/site-packages/django/db/backends/utils.py", line 99, in execute
arches | return super().execute(sql, params)
arches | File "/web_root/ENV/lib/python3.8/site-packages/django/db/backends/utils.py", line 67, in execute
arches | return self._execute_with_wrappers(sql, params, many=False, executor=self._execute)
arches | File "/web_root/ENV/lib/python3.8/site-packages/django/db/backends/utils.py", line 76, in _execute_with_wrappers
arches | return executor(sql, params, many, context)
arches | File "/web_root/ENV/lib/python3.8/site-packages/django/db/backends/utils.py", line 84, in _execute
arches | return self.cursor.execute(sql, params)
arches | File "/web_root/ENV/lib/python3.8/site-packages/django/db/utils.py", line 89, in __exit__
arches | raise dj_exc_value.with_traceback(traceback) from exc_value
arches | File "/web_root/ENV/lib/python3.8/site-packages/django/db/backends/utils.py", line 84, in _execute
arches | return self.cursor.execute(sql, params)
arches | django.db.utils.ProgrammingError: relation "d_value_types" does not exist
arches | LINE 1: SELECT "d_value_types"."valuetype" FROM "d_value_types" WHER...
arches | ^
arches |
db | 2020-03-05 14:50:46.435 UTC [168] [unknown]@[unknown] LOG: invalid length of startup packet
db | 2020-03-05 14:50:46.438 UTC [169] [unknown]@[unknown] LOG: invalid length of startup packet
arches |
arches |
arches | ----- RUNNING DATABASE MIGRATIONS -----
arches |
arches | Current work directory: /web_root/arches
arches | Operations to perform:
arches | Apply all migrations: admin, auth, contenttypes, django_celery_results, guardian, models, oauth2_provider, sessions
arches | Running migrations:
arches | Applying contenttypes.0001_initial... OK
arches | Applying auth.0001_initial... OK
arches | Applying admin.0001_initial... OK
arches | Applying admin.0002_logentry_remove_auto_add... OK
arches | Applying admin.0003_logentry_add_action_flag_choices... OK
arches | Applying contenttypes.0002_remove_content_type_name... OK
arches | Applying auth.0002_alter_permission_name_max_length... OK
arches | Applying auth.0003_alter_user_email_max_length... OK
arches | Applying auth.0004_alter_user_username_opts... OK
arches | Applying auth.0005_alter_user_last_login_null... OK
arches | Applying auth.0006_require_contenttypes_0002... OK
arches | Applying auth.0007_alter_validators_add_error_messages... OK
arches | Applying auth.0008_alter_user_username_max_length... OK
arches | Applying auth.0009_alter_user_last_name_max_length... OK
arches | Applying auth.0010_alter_group_name_max_length... OK
arches | Applying auth.0011_update_proxy_permissions... OK
arches | Applying django_celery_results.0001_initial... OK
arches | Applying django_celery_results.0002_add_task_name_args_kwargs... OK
arches | Applying django_celery_results.0003_auto_20181106_1101... OK
arches | Applying django_celery_results.0004_auto_20190516_0412... OK
arches | Applying guardian.0001_initial... OK
arches | Applying guardian.0002_generic_permissions_index... OK
arches | Applying models.0001_initial... OK
arches | Applying models.0002_40b4... OK
arches | Applying models.0003_40b4... OK
arches | Applying models.0004_4_0_1... OK
arches | Applying models.0005_4_0_1... OK
arches | Applying models.0006_4_0_1... OK
arches | Applying models.0007_4_0_1... OK
arches | Applying models.0008_4_0_1... OK
arches | Applying models.0009_4_0_1... OK
arches | Applying models.0010_4_1_0... OK
arches | Applying models.2533_duplicated_concept_relation_import... OK
arches | Applying models.2337_fuzzy_dates... OK
arches | Applying models.2891_tile_qa_schema...added admin group
arches | OK
arches | Applying models.2891_adds_tile_provisional_json... OK
arches | Applying models.2293_recent_edits... OK
arches | Applying models.2974_provisionaledits_in_editlog... OK
arches | Applying models.3098_custom_map_markers... OK
arches | Applying models.3199_graphmodel_color... OK
arches | Applying models.3201_remove_node_and_nodetype_branches... OK
arches | Applying models.3210_card_components... OK
arches | Applying models.3314_graphmodel_jsonldcontext... OK
arches | Applying models.3201_replace_node_and_nodetype_branches... OK
arches | Applying models.3201_second_removal_of_node_nodetype_branch... OK
arches | Applying models.deserialize_provisional_edits... OK
arches | Applying models.3385_add_provisional_user_fields... OK
arches | Applying models.3454_graph_node_sort_order... OK
arches | Applying models.3601_remove_forms... OK
arches | Applying models.3724_report_manager... OK
arches | Applying models.3724_report_manager_2... OK
arches | Applying models.3725_cardmodel_cssclass... OK
arches | Applying models.3789_card_config... OK
arches | Applying models.3808_card_component_command... OK
arches | Applying models.3965_cardxnodexwidget_visible... OK
arches | Applying models.3892_integrity_error... OK
arches | Applying models.4202_plugin_model... OK
arches | Applying models.4217_plugin_slug... OK
arches | Applying models.4218_plugin_permissions... OK
arches | Applying models.4228_plugin_sortorder... OK
arches | Applying models.4264_online_msm_basemap... OK
arches | Applying models.4273_provisional_edit_timestamps... OK
arches | Applying models.4357_updates_default_resource_instance_download... OK
arches | Applying models.4467_sync_log... OK
arches | Applying models.4521_sync_revision_logs... OK
arches | Applying models.4186_graphmodel_slug... OK
arches | Applying models.4384_adds_rerender_widget_config... OK
arches | Applying models.4679_resource_editor_permissions... OK
arches | Applying models.2963_tile_fk_on_file_model... OK
arches | Applying models.4352_format_config_number_widget... OK
arches | Applying models.4658_adds_nodevalue_type_widget_config... OK
arches | Applying models.2691_ES_upgrade...Traceback (most recent call last):
arches | File "/web_root/ENV/lib/python3.8/site-packages/urllib3/connection.py", line 156, in _new_conn
arches | conn = connection.create_connection(
arches | File "/web_root/ENV/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection
arches | raise err
arches | File "/web_root/ENV/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, in create_connection
arches | sock.connect(sa)
arches | ConnectionRefusedError: [Errno 111] Connection refused
arches |
arches | During handling of the above exception, another exception occurred:
arches |
arches | Traceback (most recent call last):
arches | File "/web_root/ENV/lib/python3.8/site-packages/elasticsearch/connection/http_urllib3.py", line 237, in perform_request
arches | response = self.pool.urlopen(
arches | File "/web_root/ENV/lib/python3.8/site-packages/urllib3/connectionpool.py", line 719, in urlopen
arches | retries = retries.increment(
arches | File "/web_root/ENV/lib/python3.8/site-packages/urllib3/util/retry.py", line 376, in increment
arches | raise six.reraise(type(error), error, _stacktrace)
arches | File "/web_root/ENV/lib/python3.8/site-packages/urllib3/packages/six.py", line 735, in reraise
arches | raise value
arches | File "/web_root/ENV/lib/python3.8/site-packages/urllib3/connectionpool.py", line 665, in urlopen
arches | httplib_response = self._make_request(
arches | File "/web_root/ENV/lib/python3.8/site-packages/urllib3/connectionpool.py", line 387, in _make_request
arches | conn.request(method, url, **httplib_request_kw)
arches | File "/usr/lib/python3.8/http/client.py", line 1230, in request
arches | self._send_request(method, url, body, headers, encode_chunked)
arches | File "/usr/lib/python3.8/http/client.py", line 1276, in _send_request
arches | self.endheaders(body, encode_chunked=encode_chunked)
arches | File "/usr/lib/python3.8/http/client.py", line 1225, in endheaders
arches | self._send_output(message_body, encode_chunked=encode_chunked)
arches | File "/usr/lib/python3.8/http/client.py", line 1004, in _send_output
arches | self.send(msg)
arches | File "/usr/lib/python3.8/http/client.py", line 944, in send
arches | self.connect()
arches | File "/web_root/ENV/lib/python3.8/site-packages/urllib3/connection.py", line 184, in connect
arches | conn = self._new_conn()
arches | File "/web_root/ENV/lib/python3.8/site-packages/urllib3/connection.py", line 168, in _new_conn
arches | raise NewConnectionError(
arches | urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f64d7eef460>: Failed to establish a new connection: [Errno 111] Connection refused
arches |
arches | During handling of the above exception, another exception occurred:
arches |
arches | Traceback (most recent call last):
arches | File "manage.py", line 27, in <module>
arches | execute_from_command_line(sys.argv)
arches | File "/web_root/ENV/lib/python3.8/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
arches | utility.execute()
arches | File "/web_root/ENV/lib/python3.8/site-packages/django/core/management/__init__.py", line 375, in execute
arches | self.fetch_command(subcommand).run_from_argv(self.argv)
arches | File "/web_root/ENV/lib/python3.8/site-packages/django/core/management/base.py", line 323, in run_from_argv
arches | self.execute(*args, **cmd_options)
arches | File "/web_root/ENV/lib/python3.8/site-packages/django/core/management/base.py", line 364, in execute
arches | output = self.handle(*args, **options)
arches | File "/web_root/ENV/lib/python3.8/site-packages/django/core/management/base.py", line 83, in wrapped
arches | res = handle_func(*args, **kwargs)
arches | File "/web_root/ENV/lib/python3.8/site-packages/django/core/management/commands/migrate.py", line 232, in handle
arches | post_migrate_state = executor.migrate(
arches | File "/web_root/ENV/lib/python3.8/site-packages/django/db/migrations/executor.py", line 117, in migrate
arches | state = self._migrate_all_forwards(state, plan, full_plan, fake=fake, fake_initial=fake_initial)
arches | File "/web_root/ENV/lib/python3.8/site-packages/django/db/migrations/executor.py", line 147, in _migrate_all_forwards
arches | state = self.apply_migration(state, migration, fake=fake, fake_initial=fake_initial)
arches | File "/web_root/ENV/lib/python3.8/site-packages/django/db/migrations/executor.py", line 245, in apply_migration
arches | state = migration.apply(state, schema_editor)
arches | File "/web_root/ENV/lib/python3.8/site-packages/django/db/migrations/migration.py", line 124, in apply
arches | operation.database_forwards(self.app_label, schema_editor, old_state, project_state)
arches | File "/web_root/ENV/lib/python3.8/site-packages/django/db/migrations/operations/special.py", line 190, in database_forwards
arches | self.code(from_state.apps, schema_editor)
arches | File "/web_root/arches/arches/app/models/migrations/2691_ES_upgrade.py", line 24, in forwards_func
arches | se_old.es.indices.exists(index="%s_strings" % prefix) is True):
arches | File "/web_root/ENV/lib/python3.8/site-packages/elasticsearch/client/utils.py", line 84, in _wrapped
arches | return func(*args, params=params, **kwargs)
arches | File "/web_root/ENV/lib/python3.8/site-packages/elasticsearch/client/indices.py", line 292, in exists
arches | return self.transport.perform_request("HEAD", _make_path(index), params=params)
arches | File "/web_root/ENV/lib/python3.8/site-packages/elasticsearch/transport.py", line 351, in perform_request
arches | status, headers_response, data = connection.perform_request(
arches | File "/web_root/ENV/lib/python3.8/site-packages/elasticsearch/connection/http_urllib3.py", line 250, in perform_request
arches | raise ConnectionError("N/A", str(e), e)
arches | elasticsearch.exceptions.ConnectionError: ConnectionError(<urllib3.connection.HTTPConnection object at 0x7f64d7eef460>: Failed to establish a new connection: [Errno 111] Connection refused) caused by: NewConnectionError(<urllib3.connection.HTTPConnection object at 0x7f64d7eef460>: Failed to establish a new connection: [Errno 111] Connection refused)
arches |
arches |
arches | ----- SETTING DEV MODE -----
arches |
arches | Current work directory: /web_root/arches
arches | running develop
arches | running egg_info
arches | writing arches.egg-info/PKG-INFO
arches | writing dependency_links to arches.egg-info/dependency_links.txt
arches | writing requirements to arches.egg-info/requires.txt
arches | writing top-level names to arches.egg-info/top_level.txt
arches | reading manifest file 'arches.egg-info/SOURCES.txt'
arches | reading manifest template 'MANIFEST.in'
arches | /usr/lib/python3.8/distutils/dist.py:274: UserWarning: Unknown distribution option: 'long_description_content_type'
arches | warnings.warn(msg)
arches | warning: no previously-included files found matching 'Dockerfile'
arches | warning: no previously-included files found matching 'arches/logs/*.txt'
arches | warning: no previously-included files found matching '.*'
arches | warning: no previously-included files found matching '*.yml'
arches | warning: no previously-included files matching '*' found under directory '.eggs'
arches | warning: no previously-included files matching '*' found under directory '.github'
arches | warning: no previously-included files matching '*' found under directory '.idea'
arches | warning: no previously-included files matching '*' found under directory 'docker'
arches | warning: no previously-included files matching '*' found under directory 'tests'
arches | warning: no previously-included files matching '*' found under directory 'docs'
arches | warning: no previously-included files matching '*' found under directory 'virtualenv'
arches | warning: no previously-included files matching '*' found under directory 'arches/elasticsearch'
arches | warning: no previously-included files matching '*' found under directory 'arches/uploadedfiles'
arches | warning: no previously-included files matching '*' found under directory 'arches/tileserver'
arches | warning: no previously-included files matching '*' found under directory 'arches/app/media/js/docs'
arches | warning: no previously-included files matching '*.zip' found anywhere in distribution
arches | warning: no previously-included files matching '*.DS_Store' found anywhere in distribution
arches | warning: no previously-included files matching '*.orig' found anywhere in distribution
arches | writing manifest file 'arches.egg-info/SOURCES.txt'
arches | running build_ext
arches | Creating /web_root/ENV/lib/python3.8/site-packages/arches.egg-link (link to .)
arches | arches 5.0 is already the active version in easy-install.pth
arches | Installing arches-project script to /web_root/ENV/bin
arches |
arches | Installed /web_root/arches
arches | Processing dependencies for arches==5.0
arches | Searching for requests==2.22.0
arches | Best match: requests 2.22.0
arches | Adding requests 2.22.0 to easy-install.pth file
arches |
arches | Using /web_root/ENV/lib/python3.8/site-packages
arches | Searching for rdflib==4.2.2
arches | Best match: rdflib 4.2.2
arches | Adding rdflib 4.2.2 to easy-install.pth file
arches | Installing csv2rdf script to /web_root/ENV/bin
arches | Installing rdf2dot script to /web_root/ENV/bin
arches | Installing rdfgraphisomorphism script to /web_root/ENV/bin
arches | Installing rdfpipe script to /web_root/ENV/bin
arches | Installing rdfs2dot script to /web_root/ENV/bin
arches |
arches | Using /web_root/ENV/lib/python3.8/site-packages
arches | Searching for python-slugify==4.0.0
arches | Best match: python-slugify 4.0.0
arches | Adding python-slugify 4.0.0 to easy-install.pth file
arches | Installing slugify script to /web_root/ENV/bin
arches |
arches | Using /web_root/ENV/lib/python3.8/site-packages
arches | Searching for python-memcached==1.59
arches | Best match: python-memcached 1.59
arches | Adding python-memcached 1.59 to easy-install.pth file
arches |
arches | Using /web_root/ENV/lib/python3.8/site-packages
arches | Searching for python-docx==0.8.10
arches | Best match: python-docx 0.8.10
arches | Adding python-docx 0.8.10 to easy-install.pth file
arches |
arches | Using /web_root/ENV/lib/python3.8/site-packages
arches | Searching for pyshp==2.1.0
arches | Best match: pyshp 2.1.0
arches | Adding pyshp 2.1.0 to easy-install.pth file
arches |
arches | Using /web_root/ENV/lib/python3.8/site-packages
arches | Searching for PyPrind==2.11.2
arches | Best match: PyPrind 2.11.2
arches | Adding PyPrind 2.11.2 to easy-install.pth file
arches |
arches | Using /web_root/ENV/lib/python3.8/site-packages
arches | Searching for pycryptodome==3.9.4
arches | Best match: pycryptodome 3.9.4
arches | Adding pycryptodome 3.9.4 to easy-install.pth file
arches |
arches | Using /web_root/ENV/lib/python3.8/site-packages
arches | Searching for psycopg2-binary==2.8.4
arches | Best match: psycopg2-binary 2.8.4
arches | Adding psycopg2-binary 2.8.4 to easy-install.pth file
arches |
arches | Using /web_root/ENV/lib/python3.8/site-packages
arches | Searching for mapbox-vector-tile==1.2.0
arches | Best match: mapbox-vector-tile 1.2.0
arches | Adding mapbox-vector-tile 1.2.0 to easy-install.pth file
arches |
arches | Using /web_root/ENV/lib/python3.8/site-packages
arches | Searching for elasticsearch==7.1.0
arches | Best match: elasticsearch 7.1.0
arches | Adding elasticsearch 7.1.0 to easy-install.pth file
arches |
arches | Using /web_root/ENV/lib/python3.8/site-packages
arches | Searching for edtf==4.0.1
arches | Best match: edtf 4.0.1
arches | Adding edtf 4.0.1 to easy-install.pth file
arches |
arches | Using /web_root/ENV/lib/python3.8/site-packages
arches | Searching for django-revproxy==0.9.15
arches | Best match: django-revproxy 0.9.15
arches | Adding django-revproxy 0.9.15 to easy-install.pth file
arches |
arches | Using /web_root/ENV/lib/python3.8/site-packages
arches | Searching for django-recaptcha==2.0.5
arches | Best match: django-recaptcha 2.0.5
arches | Adding django-recaptcha 2.0.5 to easy-install.pth file
arches |
arches | Using /web_root/ENV/lib/python3.8/site-packages
arches | Searching for django-oauth-toolkit==1.2.0
arches | Best match: django-oauth-toolkit 1.2.0
arches | Adding django-oauth-toolkit 1.2.0 to easy-install.pth file
arches |
arches | Using /web_root/ENV/lib/python3.8/site-packages
arches | Searching for django-guardian==2.1.0
arches | Best match: django-guardian 2.1.0
arches | Adding django-guardian 2.1.0 to easy-install.pth file
arches |
arches | Using /web_root/ENV/lib/python3.8/site-packages
arches | Searching for django-cors-headers==3.1.1
arches | Best match: django-cors-headers 3.1.1
arches | Adding django-cors-headers 3.1.1 to easy-install.pth file
arches |
arches | Using /web_root/ENV/lib/python3.8/site-packages
arches | Searching for django-celery-results==1.1.2
arches | Best match: django-celery-results 1.1.2
arches | Adding django-celery-results 1.1.2 to easy-install.pth file
arches |
arches | Using /web_root/ENV/lib/python3.8/site-packages
arches | Searching for CouchDB==1.2
arches | Best match: CouchDB 1.2
arches | Adding CouchDB 1.2 to easy-install.pth file
arches | Installing couchdb-dump script to /web_root/ENV/bin
arches | Installing couchdb-load script to /web_root/ENV/bin
arches | Installing couchdb-load-design-doc script to /web_root/ENV/bin
arches | Installing couchdb-replicate script to /web_root/ENV/bin
arches | Installing couchpy script to /web_root/ENV/bin
arches |
arches | Using /web_root/ENV/lib/python3.8/site-packages
arches | Searching for celery==4.3.0
arches | Best match: celery 4.3.0
arches | Adding celery 4.3.0 to easy-install.pth file
arches | Installing celery script to /web_root/ENV/bin
arches |
arches | Using /web_root/ENV/lib/python3.8/site-packages
arches | Searching for SPARQLWrapper==1.8.4
arches | Best match: SPARQLWrapper 1.8.4
arches | Adding SPARQLWrapper 1.8.4 to easy-install.pth file
arches |
arches | Using /web_root/ENV/lib/python3.8/site-packages
arches | Searching for PyLD==1.0.5
arches | Best match: PyLD 1.0.5
arches | Adding PyLD 1.0.5 to easy-install.pth file
arches |
arches | Using /web_root/ENV/lib/python3.8/site-packages
arches | Searching for Django==2.2.8
arches | Best match: Django 2.2.8
arches | Adding Django 2.2.8 to easy-install.pth file
arches | Installing django-admin script to /web_root/ENV/bin
arches |
arches | Using /web_root/ENV/lib/python3.8/site-packages
arches | Searching for cryptography==2.8
arches | Best match: cryptography 2.8
arches | Adding cryptography 2.8 to easy-install.pth file
arches |
arches | Using /web_root/ENV/lib/python3.8/site-packages
arches | Searching for idna==2.8
arches | Best match: idna 2.8
arches | Adding idna 2.8 to easy-install.pth file
arches |
arches | Using /web_root/ENV/lib/python3.8/site-packages
arches | Searching for pyOpenSSL==19.1.0
arches | Best match: pyOpenSSL 19.1.0
arches | Adding pyOpenSSL 19.1.0 to easy-install.pth file
arches |
arches | Using /web_root/ENV/lib/python3.8/site-packages
arches | Searching for urllib3==1.25.7
arches | Best match: urllib3 1.25.7
arches | Adding urllib3 1.25.7 to easy-install.pth file
arches |
arches | Using /web_root/ENV/lib/python3.8/site-packages
arches | Searching for certifi==2019.11.28
arches | Best match: certifi 2019.11.28
arches | Adding certifi 2019.11.28 to easy-install.pth file
arches |
arches | Using /web_root/ENV/lib/python3.8/site-packages
arches | Searching for chardet==3.0.4
arches | Best match: chardet 3.0.4
arches | Adding chardet 3.0.4 to easy-install.pth file
arches | Installing chardetect script to /web_root/ENV/bin
arches |
arches | Using /web_root/ENV/lib/python3.8/site-packages
arches | Searching for pyparsing==2.4.6
arches | Best match: pyparsing 2.4.6
arches | Adding pyparsing 2.4.6 to easy-install.pth file
arches |
arches | Using /web_root/ENV/lib/python3.8/site-packages
arches | Searching for isodate==0.6.0
arches | Best match: isodate 0.6.0
arches | Adding isodate 0.6.0 to easy-install.pth file
arches |
arches | Using /web_root/ENV/lib/python3.8/site-packages
arches | Searching for text-unidecode==1.3
arches | Best match: text-unidecode 1.3
arches | Adding text-unidecode 1.3 to easy-install.pth file
arches |
arches | Using /web_root/ENV/lib/python3.8/site-packages
arches | Searching for six==1.14.0
arches | Best match: six 1.14.0
arches | Adding six 1.14.0 to easy-install.pth file
arches |
arches | Using /web_root/ENV/lib/python3.8/site-packages
arches | Searching for lxml==4.4.2
arches | Best match: lxml 4.4.2
arches | Adding lxml 4.4.2 to easy-install.pth file
arches |
arches | Using /web_root/ENV/lib/python3.8/site-packages
arches | Searching for protobuf==3.11.2
arches | Best match: protobuf 3.11.2
arches | Adding protobuf 3.11.2 to easy-install.pth file
arches |
arches | Using /web_root/ENV/lib/python3.8/site-packages
arches | Searching for setuptools==39.0.1
arches | Best match: setuptools 39.0.1
arches | Adding setuptools 39.0.1 to easy-install.pth file
arches | Installing easy_install script to /web_root/ENV/bin
arches |
arches | Using /web_root/ENV/lib/python3.8/site-packages
arches | Searching for Shapely==1.6.4.post2
arches | Best match: Shapely 1.6.4.post2
arches | Adding Shapely 1.6.4.post2 to easy-install.pth file
arches |
arches | Using /web_root/ENV/lib/python3.8/site-packages
arches | Searching for future==0.18.2
arches | Best match: future 0.18.2
arches | Adding future 0.18.2 to easy-install.pth file
arches | Installing futurize script to /web_root/ENV/bin
arches | Installing pasteurize script to /web_root/ENV/bin
arches |
arches | Using /web_root/ENV/lib/python3.8/site-packages
arches | Searching for pyclipper==1.1.0.post3
arches | Best match: pyclipper 1.1.0.post3
arches | Adding pyclipper 1.1.0.post3 to easy-install.pth file
arches |
arches | Using /web_root/ENV/lib/python3.8/site-packages
arches | Searching for python-dateutil==2.8.1
arches | Best match: python-dateutil 2.8.1
arches | Adding python-dateutil 2.8.1 to easy-install.pth file
arches |
arches | Using /web_root/ENV/lib/python3.8/site-packages
arches | Searching for oauthlib==3.1.0
arches | Best match: oauthlib 3.1.0
arches | Adding oauthlib 3.1.0 to easy-install.pth file
arches |
arches | Using /web_root/ENV/lib/python3.8/site-packages
arches | Searching for vine==1.3.0
arches | Best match: vine 1.3.0
arches | Adding vine 1.3.0 to easy-install.pth file
arches |
arches | Using /web_root/ENV/lib/python3.8/site-packages
arches | Searching for kombu==4.6.7
arches | Best match: kombu 4.6.7
arches | Adding kombu 4.6.7 to easy-install.pth file
arches |
arches | Using /web_root/ENV/lib/python3.8/site-packages
arches | Searching for pytz==2019.3
arches | Best match: pytz 2019.3
arches | Adding pytz 2019.3 to easy-install.pth file
arches |
arches | Using /web_root/ENV/lib/python3.8/site-packages
arches | Searching for billiard==3.6.1.0
arches | Best match: billiard 3.6.1.0
arches | Adding billiard 3.6.1.0 to easy-install.pth file
arches |
arches | Using /web_root/ENV/lib/python3.8/site-packages
arches | Searching for sqlparse==0.3.0
arches | Best match: sqlparse 0.3.0
arches | Adding sqlparse 0.3.0 to easy-install.pth file
arches | Installing sqlformat script to /web_root/ENV/bin
arches |
arches | Using /web_root/ENV/lib/python3.8/site-packages
arches | Searching for cffi==1.13.2
arches | Best match: cffi 1.13.2
arches | Adding cffi 1.13.2 to easy-install.pth file
arches |
arches | Using /web_root/ENV/lib/python3.8/site-packages
arches | Searching for amqp==2.5.2
arches | Best match: amqp 2.5.2
arches | Adding amqp 2.5.2 to easy-install.pth file
arches |
arches | Using /web_root/ENV/lib/python3.8/site-packages
arches | Searching for pycparser==2.19
arches | Best match: pycparser 2.19
arches | Adding pycparser 2.19 to easy-install.pth file
arches |
arches | Using /web_root/ENV/lib/python3.8/site-packages
arches | Finished processing dependencies for arches==5.0
arches |
arches |
arches | ----- *** RUNNING DJANGO DEVELOPMENT SERVER *** -----
arches |
arches | Current work directory: /web_root/arches
arches | Running Django with livereload.
arches | Watching for file changes with StatReloader
db | 2020-03-05 14:50:58.520 UTC [172] postgres@arches ERROR: column nodes.fieldname does not exist at character 258
db | 2020-03-05 14:50:58.520 UTC [172] postgres@arches STATEMENT: SELECT "nodes"."nodeid", "nodes"."name", "nodes"."description", "nodes"."istopnode", "nodes"."ontologyclass", "nodes"."datatype", "nodes"."nodegroupid", "nodes"."graphid", "nodes"."config", "nodes"."issearchable", "nodes"."isrequired", "nodes"."sortorder", "nodes"."fieldname", "nodes"."exportable" FROM "nodes" WHERE "nodes"."graphid" = 'ff623370-fa12-11e6-b98b-6c4008b05c4c'::uuid
arches | Exception in thread django-main-thread:
arches | Traceback (most recent call last):
arches | File "/web_root/ENV/lib/python3.8/site-packages/django/db/backends/utils.py", line 84, in _execute
arches | return self.cursor.execute(sql, params)
arches | psycopg2.errors.UndefinedColumn: column nodes.fieldname does not exist
arches | LINE 1: ...able", "nodes"."isrequired", "nodes"."sortorder", "nodes"."f...
arches | ^
arches |
arches |
arches | The above exception was the direct cause of the following exception:
arches |
arches | Traceback (most recent call last):
arches | File "/usr/lib/python3.8/threading.py", line 932, in _bootstrap_inner
arches | self.run()
arches | File "/usr/lib/python3.8/threading.py", line 870, in run
arches | self._target(*self._args, **self._kwargs)
arches | File "/web_root/ENV/lib/python3.8/site-packages/django/utils/autoreload.py", line 54, in wrapper
arches | fn(*args, **kwargs)
arches | File "/web_root/ENV/lib/python3.8/site-packages/django/core/management/commands/runserver.py", line 137, in inner_run
arches | handler = self.get_handler(*args, **options)
arches | File "/web_root/ENV/lib/python3.8/site-packages/django/contrib/staticfiles/management/commands/runserver.py", line 27, in get_handler
arches | handler = super().get_handler(*args, **options)
arches | File "/web_root/ENV/lib/python3.8/site-packages/django/core/management/commands/runserver.py", line 64, in get_handler
arches | return get_internal_wsgi_application()
arches | File "/web_root/ENV/lib/python3.8/site-packages/django/core/servers/basehttp.py", line 45, in get_internal_wsgi_application
arches | return import_string(app_path)
arches | File "/web_root/ENV/lib/python3.8/site-packages/django/utils/module_loading.py", line 17, in import_string
arches | module = import_module(module_path)
arches | File "/usr/lib/python3.8/importlib/__init__.py", line 127, in import_module
arches | return _bootstrap._gcd_import(name[level:], package, level)
arches | File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
arches | File "<frozen importlib._bootstrap>", line 991, in _find_and_load
arches | File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
arches | File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
arches | File "<frozen importlib._bootstrap_external>", line 783, in exec_module
arches | File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
arches | File "/web_root/arches/arches/wsgi.py", line 39, in <module>
arches | settings.update_from_db()
arches | File "/web_root/arches/arches/app/models/system_settings.py", line 79, in update_from_db
arches | for node in models.Node.objects.filter(graph_id=self.SYSTEM_SETTINGS_RESOURCE_MODEL_ID):
arches | File "/web_root/ENV/lib/python3.8/site-packages/django/db/models/query.py", line 274, in __iter__
arches | self._fetch_all()
arches | File "/web_root/ENV/lib/python3.8/site-packages/django/db/models/query.py", line 1242, in _fetch_all
arches | self._result_cache = list(self._iterable_class(self))
arches | File "/web_root/ENV/lib/python3.8/site-packages/django/db/models/query.py", line 55, in __iter__
arches | results = compiler.execute_sql(chunked_fetch=self.chunked_fetch, chunk_size=self.chunk_size)
arches | File "/web_root/ENV/lib/python3.8/site-packages/django/db/models/sql/compiler.py", line 1133, in execute_sql
arches | cursor.execute(sql, params)
arches | File "/web_root/ENV/lib/python3.8/site-packages/django/db/backends/utils.py", line 99, in execute
arches | return super().execute(sql, params)
arches | File "/web_root/ENV/lib/python3.8/site-packages/django/db/backends/utils.py", line 67, in execute
arches | return self._execute_with_wrappers(sql, params, many=False, executor=self._execute)
arches | File "/web_root/ENV/lib/python3.8/site-packages/django/db/backends/utils.py", line 76, in _execute_with_wrappers
arches | return executor(sql, params, many, context)
arches | File "/web_root/ENV/lib/python3.8/site-packages/django/db/backends/utils.py", line 84, in _execute
arches | return self.cursor.execute(sql, params)
arches | File "/web_root/ENV/lib/python3.8/site-packages/django/db/utils.py", line 89, in __exit__
arches | raise dj_exc_value.with_traceback(traceback) from exc_value
arches | File "/web_root/ENV/lib/python3.8/site-packages/django/db/backends/utils.py", line 84, in _execute
arches | return self.cursor.execute(sql, params)
arches | django.db.utils.ProgrammingError: column nodes.fieldname does not exist
arches | LINE 1: ...able", "nodes"."isrequired", "nodes"."sortorder", "nodes"."f...
arches | ^
arches |
version: '2'
services:
arches:
container_name: arches
image: getty/arches:5.0
build:
context: .
dockerfile: ./Dockerfile
command: run_arches
volumes:
- arches-log:/arches/arches/logs
- arches-static:/static_root
environment:
# - ARCHES_PROJECT=arches4aea
- INSTALL_DEFAULT_GRAPHS=True
- INSTALL_DEFAULT_CONCEPTS=True
- PGUSERNAME=postgres
- PGPASSWORD=postgres
# - PGDBNAME=arches4aea
- PGDBNAME=arches
- PGHOST=db
- PGPORT=5432
- COUCHDB_HOST=couchdb
- COUCHDB_PORT=5984
- COUCHDB_USER=admin
- COUCHDB_PASS=password
- ESHOST=elasticsearch
- ESPORT=9200
- DJANGO_MODE=DEV
- DJANGO_DEBUG=True
# - DJANGO_REMOTE_DEBUG=False
- DOMAIN_NAMES=localhost
- PYTHONUNBUFFERED=0
- TZ=GMT
ports:
- '8000:8000'
depends_on:
- db
- elasticsearch
- couchdb
nginx:
container_name: nginx
image: cvast/cvast-nginx:1.2.0
restart: unless-stopped
ports:
- '80:80'
- '443:443'
volumes:
- arches-static:/www/static
- letsencrypt-acme-challenge:/var/www
- letsencrypt:/etc/letsencrypt
environment:
- NGINX_PROXY_MODE=local
- NGINX_PROTOCOL=http
- LOCAL_PROXY_HOST=arches
- LOCAL_PROXY_PORT=8000
- DOMAIN_NAMES=localhost
- PUBLIC_MODE=False
- TZ=GMT
depends_on:
- arches
db:
container_name: db
image: kartoza/postgis:12.0
volumes:
- postgres-data:/var/lib/postgresql/data
- postgres-log:/var/log/postgresql
- ./arches/install/init-unix.sql:/docker-entrypoint-initdb.d/init.sql # to set up the DB template
ports:
- '5432:5432'
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASS=postgres
- POSTGRES_DB=postgres
- POSTGRES_MULTIPLE_EXTENSIONS=postgis,postgis_topology
- TZ=GMT
couchdb:
container_name: couchdb
image: couchdb:2.1.1
ports:
- "5984:5984"
environment:
COUCHDB_USER: admin
COUCHDB_PASSWORD: password
volumes:
- couchdb-data:/usr/local/var/lib/couchdb
- couchdb-log:/usr/local/var/log/couchdb
elasticsearch:
container_name: elasticsearch
image: elasticsearch:7.5.1
volumes:
- elasticsearch-data:/usr/share/elasticsearch/data
ports:
- "9200:9200"
- "9300:9300"
environment:
- TZ=GMT
- discovery.type=single-node
- discovery.seed_hosts=
- "ES_JAVA_OPTS=-Xms400m -Xmx400m"
letsencrypt:
container_name: letsencrypt
image: cvast/cvast-letsencrypt:1.1
volumes:
- letsencrypt-acme-challenge:/var/www
- letsencrypt:/etc/letsencrypt
- letsencrypt-log:/var/log/letsencrypt
command: get_certificate
environment:
- MODE=regular
- LETSENCRYPT_EMAIL=info@example.com
- DOMAIN_NAMES=localhost
- PRODUCTION_MODE=False
- PERSISTENT_MODE=True
- TZ=GMT
volumes:
arches-log:
arches-static:
couchdb-data:
couchdb-log:
postgres-data:
postgres-log:
elasticsearch-data:
letsencrypt:
letsencrypt-log:
letsencrypt-acme-challenge:
@daosborne
Copy link
Author

Result of running docker-compose in the arches directory created by cloning https://github.com/archesproject/arches.git, using edited docker-compose.yml included above.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment