Created
August 8, 2018 19:55
-
-
Save benosteen/badb24362f26094d5c84ed10b470b748 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Full command: run_arches | |
Command: run_arches | |
Testing if database server is up... | |
Database server is up | |
Testing if Elasticsearch is up... | |
Elasticsearch is up | |
Checking if database dev exists... | |
Database dev does not exists yet, starting setup... | |
Current work directory: /web_root/arches | |
*** Initializing database *** | |
*** Any existing Arches database will be deleted *** | |
5 | |
4 | |
3 | |
2 | |
1 | |
0 | |
Running: python manage.py packages -o setup_db | |
pg_terminate_backend | |
---------------------- | |
(0 rows) | |
psql:/web_root/arches/arches/db/install/truncate_db.sql:3: NOTICE: database "dev" does not exist, skipping | |
DROP DATABASE | |
CREATE DATABASE | |
operation: setup_db | |
deleting index : dev_strings | |
deleting index : dev_resource | |
deleting index : dev_resource_relations | |
creating index : dev_strings | |
creating index : dev_resource_relations | |
Operations to perform: | |
Apply all migrations: admin, auth, contenttypes, guardian, models, oauth2_provider, sessions | |
Running migrations: | |
Applying contenttypes.0001_initial... OK | |
Applying auth.0001_initial... OK | |
Applying admin.0001_initial... OK | |
Applying admin.0002_logentry_remove_auto_add... OK | |
Applying contenttypes.0002_remove_content_type_name... OK | |
Applying auth.0002_alter_permission_name_max_length... OK | |
Applying auth.0003_alter_user_email_max_length... OK | |
Applying auth.0004_alter_user_username_opts... OK | |
Applying auth.0005_alter_user_last_login_null... OK | |
Applying auth.0006_require_contenttypes_0002... OK | |
Applying auth.0007_alter_validators_add_error_messages... OK | |
Applying auth.0008_alter_user_username_max_length... OK | |
Applying guardian.0001_initial... OK | |
Applying models.0001_initial... OK | |
Applying models.0002_40b4... OK | |
Applying models.0003_40b4...deleting index : dev_resource | |
OK | |
Applying models.0004_4_0_1... OK | |
Applying models.0005_4_0_1... OK | |
Applying models.0006_4_0_1... OK | |
Applying models.0007_4_0_1... OK | |
Applying models.0008_4_0_1... OK | |
Applying models.0009_4_0_1... OK | |
Applying models.0010_4_1_0... OK | |
Applying models.2533_duplicated_concept_relation_import... OK | |
Applying models.2337_fuzzy_dates... OK | |
Applying models.2891_tile_qa_schema...added admin group | |
OK | |
Applying models.2891_adds_tile_provisional_json... OK | |
Applying models.2293_recent_edits... OK | |
Applying models.2974_provisionaledits_in_editlog... OK | |
Applying models.3098_custom_map_markers... OK | |
Applying models.3199_graphmodel_color... OK | |
Applying models.3201_remove_node_and_nodetype_branches... OK | |
Applying models.3210_card_components... OK | |
Applying models.3314_graphmodel_jsonldcontext... OK | |
Applying models.3201_replace_node_and_nodetype_branches... OK | |
Applying models.3201_second_removal_of_node_nodetype_branch... OK | |
Applying models.deserialize_provisional_edits... OK | |
Applying models.3385_add_provisional_user_fields... OK | |
Applying models.3454_graph_node_sort_order... OK | |
Applying models.3601_remove_forms... OK | |
Applying oauth2_provider.0001_initial... OK | |
Applying oauth2_provider.0002_08_updates... OK | |
Applying oauth2_provider.0003_auto_20160316_1503... OK | |
Applying oauth2_provider.0004_auto_20160525_1623... OK | |
Applying oauth2_provider.0005_auto_20170514_1141... OK | |
Applying oauth2_provider.0006_auto_20171214_2232... OK | |
Applying sessions.0001_initial... OK | |
creating index : dev_resource | |
Importing /web_root/arches/arches/db/system_settings/Arches_System_Settings.json. . . | |
1 of 1 resources saved | |
Resources for Import: 1, Resources Saved: 1, Tiles for Import: 9, Tiles Saved: 9, Relations for Import: 0, Relations Saved: 0 | |
Time to import_business_data = 0:00:00.177741 | |
***** Errors occured during import. Some data may not have been imported. For more information, check resource import error log: arches/logs/resource_import.log | |
Running: Creating couchdb system databaess | |
% Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed | |
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 | |
100 12 100 12 0 0 92 0 --:--:-- --:--:-- --:--:-- 92 | |
100 12 100 12 0 0 92 0 --:--:-- --:--:-- --:--:-- 92 | |
{"ok":true} | |
% Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed | |
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 | |
100 12 100 12 0 0 473 0 --:--:-- --:--:-- --:--:-- 480 | |
{"ok":true} | |
% Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed | |
{"ok":true} | |
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 | |
100 12 100 12 0 0 349 0 --:--:-- --:--:-- --:--:-- 352 | |
Running: python manage.py packages -o import_graphs | |
operation: import_graphs | |
'unicode' object does not support item assignment | |
'unicode' object does not support item assignment | |
'unicode' object does not support item assignment | |
'unicode' object does not support item assignment | |
'unicode' object does not support item assignment | |
'unicode' object does not support item assignment | |
'unicode' object does not support item assignment | |
'unicode' object does not support item assignment | |
'unicode' object does not support item assignment | |
'unicode' object does not support item assignment | |
'unicode' object does not support item assignment | |
'unicode' object does not support item assignment | |
'unicode' object does not support item assignment | |
'unicode' object does not support item assignment | |
'unicode' object does not support item assignment | |
'unicode' object does not support item assignment | |
'unicode' object does not support item assignment | |
'unicode' object does not support item assignment | |
'unicode' object does not support item assignment | |
'unicode' object does not support item assignment | |
'unicode' object does not support item assignment | |
'unicode' object does not support item assignment | |
'unicode' object does not support item assignment | |
'unicode' object does not support item assignment | |
'unicode' object does not support item assignment | |
creating index : dev_resource/99417385-b8fa-11e6-84a5-026d961c88e6 | |
creating index : dev_resource/3caf329f-b8f7-11e6-84a5-026d961c88e6 | |
Invalid field name(s) for model Report: 'formsconfig'. | |
creating index : dev_resource/f5624ce7-b66c-11e6-84a5-026d961c88e6 | |
'unicode' object does not support item assignment | |
creating index : dev_resource/fad0563b-b8f8-11e6-84a5-026d961c88e6 | |
creating index : dev_resource/243f8689-b8f6-11e6-84a5-026d961c88e6 | |
'unicode' object does not support item assignment | |
creating index : dev_resource/ccbd1537-ac5e-11e6-84a5-026d961c88e6 | |
Invalid field name(s) for model Report: 'formsconfig'. | |
Running: python manage.py packages -o import_reference_data -s "arches/db/schemes/arches_concept_scheme.rdf" | |
operation: import_reference_data | |
time elapsed to parse rdf graph 3.41040205956 s | |
Casting dcterms:title to skos:prefLabel | |
Running: python manage.py packages -o import_reference_data -s "arches/db/schemes/arches_concept_collections.rdf" | |
operation: import_reference_data | |
time elapsed to parse rdf graph 1.33398485184 s | |
----- RUNNING DATABASE MIGRATIONS ----- | |
Current work directory: /web_root/dev | |
python: can't open file 'manage.py': [Errno 2] No such file or directory | |
Checking if Arches project dev exists... | |
Custom Arches project 'dev' already exists. | |
----- INSTALLING YARN COMPONENTS ----- | |
/docker/entrypoint.sh: line 46: cd: /web_root/dev/dev: No such file or directory | |
Current work directory: /web_root/dev/dev | |
yarn install v1.9.4 | |
info No lockfile found. | |
[1/4] Resolving packages... | |
[2/4] Fetching packages... | |
[3/4] Linking dependencies... | |
[4/4] Building fresh packages... | |
success Saved lockfile. | |
Done in 0.09s. | |
----- COLLECTING DJANGO STATIC FILES ----- | |
Current work directory: /web_root/dev | |
python: can't open file 'manage.py': [Errno 2] No such file or directory | |
----- *** RUNNING GUNICORN PRODUCTION SERVER *** ----- | |
Current work directory: /web_root/dev | |
[2018-08-08 19:43:01 +0000] [650] [INFO] Starting gunicorn 19.7.1 | |
[2018-08-08 19:43:01 +0000] [650] [INFO] Listening at: http://0.0.0.0:8000 (650) | |
[2018-08-08 19:43:01 +0000] [650] [INFO] Using worker: sync | |
[2018-08-08 19:43:01 +0000] [654] [INFO] Booting worker with pid: 654 | |
[2018-08-08 19:43:01 +0000] [655] [INFO] Booting worker with pid: 655 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '2' | |
services: | |
arches: | |
container_name: arches | |
image: archesproject/arches:master | |
build: | |
context: . | |
dockerfile: ./Dockerfile | |
command: run_arches | |
volumes: | |
- arches-log:/arches/arches/logs | |
- arches-static:/static_root | |
- ../dev:/web_root/dev | |
- ./:/web_root/arches | |
- ./docker/settings_local.py:/web_root/arches/arches/settings_local.py | |
environment: | |
- ARCHES_PROJECT=dev | |
- INSTALL_DEFAULT_GRAPHS=True | |
- INSTALL_DEFAULT_CONCEPTS=True | |
- PGUSERNAME=postgres | |
- PGPASSWORD=postgres | |
- PGDBNAME=dev | |
- PGHOST=db | |
- PGPORT=5432 | |
- COUCHDB_HOST=couchdb | |
- COUCHDB_PORT=5984 | |
- COUCHDB_USER=admin | |
- COUCHDB_PASS=password | |
- ESHOST=elasticsearch | |
- ESPORT=9200 | |
- ELASTICSEARCH_PREFIX=dev | |
- DJANGO_MODE=PROD | |
- DJANGO_DEBUG=False | |
# - DJANGO_REMOTE_DEBUG=True | |
- DOMAIN_NAMES=localhost | |
- TZ=PST | |
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=PST | |
depends_on: | |
- arches | |
db: | |
container_name: db | |
image: mdillon/postgis:9.6-alpine | |
volumes: | |
- postgres-data:/var/lib/postgresql/data | |
- postgres-log:/var/log/postgresql | |
ports: | |
- '5432:5432' | |
environment: | |
- POSTGRES_PASSWORD=postgres | |
- TZ=PST | |
elasticsearch: | |
container_name: elasticsearch | |
image: elasticsearch:5.2 | |
volumes: | |
- elasticsearch-data:/usr/share/elasticsearch/data | |
ports: | |
- "9200:9200" | |
- "9300:9300" | |
environment: | |
- TZ=PST | |
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 | |
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 | |
- [email protected] | |
- DOMAIN_NAMES=localhost | |
- PRODUCTION_MODE=False | |
- PERSISTENT_MODE=True | |
- TZ=PST | |
volumes: | |
arches-log: | |
arches-static: | |
couchdb-data: | |
couchdb-log: | |
postgres-data: | |
postgres-log: | |
elasticsearch-data: | |
letsencrypt: | |
letsencrypt-log: | |
letsencrypt-acme-challenge: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment