docker-taiga / taiga

docker-compose.yml for simple taiga setup
218 stars 74 forks source link

Try test taiga as localhost -- Something happened and our Oompa Loompas are working on it. #27

Closed xoac closed 4 years ago

xoac commented 5 years ago

As suggested in #18

variables.env

TAIGA_HOST=localhost
TAIGA_SCHEME=http
TAIGA_BACK_HOST=back
TAIGA_FRONT_HOST=front
EVENTS_HOST=events
TAIGA_SECRET=secret

ENABLE_SSL=no
# CERT_NAME=fullchain.pem
# CERT_KEY=privkey.pem

POSTGRES_HOST=db
POSTGRES_DB=taiga
POSTGRES_USER=postgres
POSTGRES_PASSWORD=password

RABBIT_HOST=rabbit
RABBIT_USER=taiga
RABBIT_PASSWORD=password
RABBIT_VHOST=taiga

STARTUP_TIMEOUT=15s

logs from docker-compose up

docker-compose up                                                                                                                               ±[●●][latest]
WARNING: The Docker Engine you're using is running in swarm mode.

Compose does not use swarm mode to deploy services to multiple nodes in a swarm. All containers will be scheduled on the current node.

To deploy your application across the swarm, use `docker stack deploy`.

Starting taiga-front  ... done
Starting taiga-db     ... done
Starting taiga-rabbit ... done
Starting taiga-events ... done
Starting taiga-back   ... done
Starting taiga-proxy  ... done
Attaching to taiga-rabbit, taiga-front, taiga-db, taiga-events, taiga-back, taiga-proxy
taiga-db  | The files belonging to this database system will be owned by user "postgres".
taiga-db  | This user must also own the server process.
taiga-db  | 
taiga-db  | The database cluster will be initialized with locale "en_US.utf8".
taiga-db  | The default database encoding has accordingly been set to "UTF8".
taiga-db  | The default text search configuration will be set to "english".
taiga-db  | 
taiga-db  | Data page checksums are disabled.
taiga-db  | 
taiga-db  | fixing permissions on existing directory /var/lib/postgresql/data ... ok
taiga-back | Waiting for database to become ready...
taiga-db  | creating subdirectories ... ok
taiga-db  | selecting default max_connections ... 100
taiga-db  | selecting default shared_buffers ... 128MB
taiga-db  | selecting default timezone ... UTC
taiga-db  | selecting dynamic shared memory implementation ... posix
taiga-db  | creating configuration files ... ok
taiga-db  | running bootstrap script ... ok
taiga-db  | performing post-bootstrap initialization ... sh: locale: not found
taiga-db  | 2019-11-20 13:39:59.730 UTC [30] WARNING:  no usable system locales were found
taiga-db  | ok
taiga-db  | syncing data to disk ... ok
taiga-db  | 
taiga-db  | WARNING: enabling "trust" authentication for local connections
taiga-db  | You can change this by editing pg_hba.conf or using the option -A, or
taiga-db  | --auth-local and --auth-host, the next time you run initdb.
taiga-db  | 
taiga-db  | Success. You can now start the database server using:
taiga-db  | 
taiga-db  |     pg_ctl -D /var/lib/postgresql/data -l logfile start
taiga-db  | 
taiga-db  | waiting for server to start....2019-11-20 13:40:00.576 UTC [35] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
taiga-db  | 2019-11-20 13:40:00.600 UTC [36] LOG:  database system was shut down at 2019-11-20 13:40:00 UTC
taiga-db  | 2019-11-20 13:40:00.608 UTC [35] LOG:  database system is ready to accept connections
taiga-db  |  done
taiga-db  | server started
taiga-db  | CREATE DATABASE
taiga-db  | 
taiga-db  | 
taiga-db  | /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/*
taiga-db  | 
taiga-db  | 2019-11-20 13:40:01.037 UTC [35] LOG:  received fast shutdown request
taiga-db  | waiting for server to shut down....2019-11-20 13:40:01.039 UTC [35] LOG:  aborting any active transactions
taiga-db  | 2019-11-20 13:40:01.039 UTC [35] LOG:  background worker "logical replication launcher" (PID 42) exited with exit code 1
taiga-db  | 2019-11-20 13:40:01.049 UTC [37] LOG:  shutting down
taiga-db  | 2019-11-20 13:40:01.065 UTC [35] LOG:  database system is shut down
taiga-db  |  done
taiga-db  | server stopped
taiga-db  | 
taiga-db  | PostgreSQL init process complete; ready for start up.
taiga-db  | 
taiga-db  | 2019-11-20 13:40:01.149 UTC [1] LOG:  listening on IPv4 address "0.0.0.0", port 5432
taiga-db  | 2019-11-20 13:40:01.149 UTC [1] LOG:  listening on IPv6 address "::", port 5432
taiga-db  | 2019-11-20 13:40:01.152 UTC [1] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
taiga-db  | 2019-11-20 13:40:01.175 UTC [46] LOG:  database system was shut down at 2019-11-20 13:40:01 UTC
taiga-db  | 2019-11-20 13:40:01.181 UTC [1] LOG:  database system is ready to accept connections
taiga-rabbit | 2019-11-20 13:40:04.671 [info] <0.33.0> Application lager started on node rabbit@32bc300e95b0
taiga-rabbit | 2019-11-20 13:40:07.799 [info] <0.33.0> Application recon started on node rabbit@32bc300e95b0
taiga-rabbit | 2019-11-20 13:40:07.799 [info] <0.33.0> Application xmerl started on node rabbit@32bc300e95b0
taiga-rabbit | 2019-11-20 13:40:07.816 [info] <0.33.0> Application mnesia started on node rabbit@32bc300e95b0
taiga-rabbit | 2019-11-20 13:40:07.817 [info] <0.33.0> Application inets started on node rabbit@32bc300e95b0
taiga-rabbit | 2019-11-20 13:40:07.817 [info] <0.33.0> Application os_mon started on node rabbit@32bc300e95b0
taiga-rabbit | 2019-11-20 13:40:07.818 [info] <0.33.0> Application crypto started on node rabbit@32bc300e95b0
taiga-rabbit | 2019-11-20 13:40:07.818 [info] <0.33.0> Application jsx started on node rabbit@32bc300e95b0
taiga-rabbit | 2019-11-20 13:40:07.818 [info] <0.33.0> Application asn1 started on node rabbit@32bc300e95b0
taiga-rabbit | 2019-11-20 13:40:07.818 [info] <0.33.0> Application public_key started on node rabbit@32bc300e95b0
taiga-rabbit | 2019-11-20 13:40:07.818 [info] <0.33.0> Application ssl started on node rabbit@32bc300e95b0
taiga-rabbit | 2019-11-20 13:40:07.819 [info] <0.33.0> Application ranch started on node rabbit@32bc300e95b0
taiga-rabbit | 2019-11-20 13:40:07.819 [info] <0.33.0> Application ranch_proxy_protocol started on node rabbit@32bc300e95b0
taiga-rabbit | 2019-11-20 13:40:07.819 [info] <0.33.0> Application rabbit_common started on node rabbit@32bc300e95b0
taiga-rabbit | 2019-11-20 13:40:07.821 [info] <0.210.0> 
taiga-rabbit |  Starting RabbitMQ 3.7.3 on Erlang 20.1.7
taiga-rabbit |  Copyright (C) 2007-2018 Pivotal Software, Inc.
taiga-rabbit |  Licensed under the MPL.  See http://www.rabbitmq.com/
taiga-rabbit | 
taiga-rabbit |   ##  ##
taiga-rabbit |   ##  ##      RabbitMQ 3.7.3. Copyright (C) 2007-2018 Pivotal Software, Inc.
taiga-rabbit |   ##########  Licensed under the MPL.  See http://www.rabbitmq.com/
taiga-rabbit |   ######  ##
taiga-rabbit |   ##########  Logs: <stdout>
taiga-rabbit | 
taiga-rabbit |               Starting broker...
taiga-rabbit | 2019-11-20 13:40:07.822 [info] <0.210.0> 
taiga-rabbit |  node           : rabbit@32bc300e95b0
taiga-rabbit |  home dir       : /var/lib/rabbitmq
taiga-rabbit |  config file(s) : /etc/rabbitmq/rabbitmq.conf
taiga-rabbit |  cookie hash    : BwFQOc0qTe95mWzQKpJSDg==
taiga-rabbit |  log(s)         : <stdout>
taiga-rabbit |  database dir   : /var/lib/rabbitmq/mnesia/rabbit@32bc300e95b0
taiga-rabbit | 2019-11-20 13:40:07.862 [info] <0.249.0> Memory high watermark set to 3142 MiB (3294860083 bytes) of 7855 MiB (8237150208 bytes) total
taiga-rabbit | 2019-11-20 13:40:07.869 [info] <0.251.0> Enabling free disk space monitoring
taiga-rabbit | 2019-11-20 13:40:07.869 [info] <0.251.0> Disk free limit set to 50MB
taiga-rabbit | 2019-11-20 13:40:07.873 [info] <0.253.0> Limiting to approx 1048476 file handles (943626 sockets)
taiga-rabbit | 2019-11-20 13:40:07.873 [info] <0.254.0> FHC read buffering:  OFF
taiga-rabbit | 2019-11-20 13:40:07.873 [info] <0.254.0> FHC write buffering: ON
taiga-rabbit | 2019-11-20 13:40:07.877 [info] <0.210.0> Waiting for Mnesia tables for 30000 ms, 9 retries left
taiga-rabbit | 2019-11-20 13:40:07.916 [info] <0.210.0> Waiting for Mnesia tables for 30000 ms, 9 retries left
taiga-rabbit | 2019-11-20 13:40:07.917 [info] <0.210.0> Peer discovery backend rabbit_peer_discovery_classic_config does not support registration, skipping registration.
taiga-rabbit | 2019-11-20 13:40:07.918 [info] <0.210.0> Priority queues enabled, real BQ is rabbit_variable_queue
taiga-rabbit | 2019-11-20 13:40:07.922 [info] <0.278.0> Starting rabbit_node_monitor
taiga-rabbit | 2019-11-20 13:40:07.953 [info] <0.304.0> Making sure data directory '/var/lib/rabbitmq/mnesia/rabbit@32bc300e95b0/msg_stores/vhosts/628WB79CIFDYO9LJI6DKMI09L' for vhost '/' exists
taiga-rabbit | 2019-11-20 13:40:07.956 [info] <0.304.0> Starting message stores for vhost '/'
taiga-rabbit | 2019-11-20 13:40:07.957 [info] <0.308.0> Message store "628WB79CIFDYO9LJI6DKMI09L/msg_store_transient": using rabbit_msg_store_ets_index to provide index
taiga-rabbit | 2019-11-20 13:40:07.960 [info] <0.304.0> Started message store of type transient for vhost '/'
taiga-rabbit | 2019-11-20 13:40:07.960 [info] <0.311.0> Message store "628WB79CIFDYO9LJI6DKMI09L/msg_store_persistent": using rabbit_msg_store_ets_index to provide index
taiga-rabbit | 2019-11-20 13:40:07.962 [warning] <0.311.0> Message store "628WB79CIFDYO9LJI6DKMI09L/msg_store_persistent": rebuilding indices from scratch
taiga-rabbit | 2019-11-20 13:40:07.963 [info] <0.304.0> Started message store of type persistent for vhost '/'
taiga-rabbit | 2019-11-20 13:40:07.967 [info] <0.337.0> Making sure data directory '/var/lib/rabbitmq/mnesia/rabbit@32bc300e95b0/msg_stores/vhosts/DUUPSD51ILPPE6LUATO0IN63B' for vhost 'taiga' exists
taiga-rabbit | 2019-11-20 13:40:07.971 [info] <0.337.0> Starting message stores for vhost 'taiga'
taiga-rabbit | 2019-11-20 13:40:07.972 [info] <0.341.0> Message store "DUUPSD51ILPPE6LUATO0IN63B/msg_store_transient": using rabbit_msg_store_ets_index to provide index
taiga-rabbit | 2019-11-20 13:40:07.974 [info] <0.337.0> Started message store of type transient for vhost 'taiga'
taiga-rabbit | 2019-11-20 13:40:07.974 [info] <0.344.0> Message store "DUUPSD51ILPPE6LUATO0IN63B/msg_store_persistent": using rabbit_msg_store_ets_index to provide index
taiga-rabbit | 2019-11-20 13:40:07.975 [warning] <0.344.0> Message store "DUUPSD51ILPPE6LUATO0IN63B/msg_store_persistent": rebuilding indices from scratch
taiga-rabbit | 2019-11-20 13:40:07.976 [info] <0.337.0> Started message store of type persistent for vhost 'taiga'
taiga-rabbit | 2019-11-20 13:40:07.982 [info] <0.386.0> started TCP Listener on [::]:5672
taiga-rabbit | 2019-11-20 13:40:07.982 [info] <0.210.0> Setting up a table for connection tracking on this node: tracked_connection_on_node_rabbit@32bc300e95b0
taiga-rabbit | 2019-11-20 13:40:07.982 [info] <0.210.0> Setting up a table for per-vhost connection counting on this node: tracked_connection_per_vhost_on_node_rabbit@32bc300e95b0
taiga-rabbit | 2019-11-20 13:40:07.983 [info] <0.33.0> Application rabbit started on node rabbit@32bc300e95b0
taiga-rabbit |  completed with 0 plugins.
taiga-rabbit | 2019-11-20 13:40:08.267 [info] <0.5.0> Server startup complete; 0 plugins started.
taiga-back | Running database update...
taiga-back | Trying import local.py settings...
taiga-back | Operations to perform:
taiga-back |   Apply all migrations: admin, attachments, auth, bitbucket, contact, contenttypes, custom_attributes, djmail, easy_thumbnails, epics, external_apps, feedback, github, gitlab, gogs, history, issues, likes, milestones, notifications, projects, references, sessions, settings, tasks, timeline, users, userstorage, userstories, votes, webhooks, wiki
taiga-back | Running migrations:
taiga-back |   Applying contenttypes.0001_initial... OK
taiga-back |   Applying users.0001_initial... OK
taiga-back |   Applying admin.0001_initial... OK
taiga-back |   Applying admin.0002_logentry_remove_auto_add... OK
taiga-back |   Applying users.0002_auto_20140903_0916... OK
taiga-back |   Applying projects.0001_initial... OK
taiga-back |   Applying projects.0002_auto_20140903_0920... OK
taiga-back |   Applying attachments.0001_initial... OK
taiga-back |   Applying attachments.0002_add_size_and_name_fields... OK
taiga-back |   Applying attachments.0003_auto_20150114_0954... OK
taiga-back |   Applying attachments.0004_auto_20150508_1141... OK
taiga-back |   Applying attachments.0005_attachment_sha1... OK
taiga-back |   Applying attachments.0006_auto_20160617_1233... OK
taiga-back |   Applying attachments.0007_attachment_from_comment... OK
taiga-back |   Applying attachments.0008_auto_20170201_1053... OK
taiga-back |   Applying contenttypes.0002_remove_content_type_name... OK
taiga-back |   Applying auth.0001_initial... OK
taiga-back |   Applying auth.0002_alter_permission_name_max_length... OK
taiga-back |   Applying auth.0003_alter_user_email_max_length... OK
taiga-back |   Applying auth.0004_alter_user_username_opts... OK
taiga-back |   Applying auth.0005_alter_user_last_login_null... OK
taiga-back |   Applying auth.0006_require_contenttypes_0002... OK
taiga-back |   Applying auth.0007_alter_validators_add_error_messages... OK
taiga-back |   Applying auth.0008_alter_user_username_max_length... OK
taiga-back |   Applying users.0003_auto_20140903_0925... OK
taiga-back |   Applying users.0004_auto_20140913_1914... OK
taiga-back |   Applying users.0005_alter_user_photo... OK
taiga-back |   Applying users.0006_auto_20141030_1132... OK
taiga-back |   Applying bitbucket.0001_initial... OK
taiga-back |   Applying milestones.0001_initial... OK
taiga-back |   Applying issues.0001_initial... OK
taiga-back |   Applying userstories.0001_initial... OK
taiga-back |   Applying userstories.0002_auto_20140903_1301... OK
taiga-back |   Applying userstories.0003_userstory_order_fields... OK
taiga-back |   Applying userstories.0004_auto_20141001_1817... OK
taiga-back |   Applying userstories.0005_auto_20141009_1656... OK
taiga-back |   Applying userstories.0006_auto_20141014_1524... OK
taiga-back |   Applying userstories.0007_userstory_external_reference... OK
taiga-back |   Applying userstories.0008_auto_20141210_1107... OK
taiga-back |   Applying userstories.0009_remove_userstory_is_archived... OK
taiga-back |   Applying projects.0003_auto_20140913_1710... OK
taiga-back |   Applying projects.0004_auto_20141002_2337... OK
taiga-back |   Applying projects.0005_membership_invitation_extra_text... OK
taiga-back |   Applying notifications.0001_initial... OK
taiga-back |   Applying history.0001_initial... OK
taiga-back |   Applying history.0002_auto_20140916_0936... OK
taiga-back |   Applying history.0003_auto_20140917_1405... OK
taiga-back |   Applying history.0004_historyentry_is_hidden... OK
taiga-back |   Applying notifications.0002_historychangenotification... OK
taiga-back |   Applying notifications.0003_auto_20141029_1143... OK
taiga-back |   Applying notifications.0004_watched... OK
taiga-back |   Applying userstories.0010_remove_userstory_watchers... OK
taiga-back |   Applying userstories.0011_userstory_tribe_gig... OK
taiga-back |   Applying tasks.0001_initial... OK
taiga-back |   Applying tasks.0002_tasks_order_fields... OK
taiga-back |   Applying tasks.0003_task_external_reference... OK
taiga-back |   Applying tasks.0004_auto_20141210_1107... OK
taiga-back |   Applying tasks.0005_auto_20150114_0954... OK
taiga-back |   Applying tasks.0006_auto_20150623_1923... OK
taiga-back |   Applying tasks.0007_auto_20150629_1556... OK
taiga-back |   Applying tasks.0008_remove_task_watchers... OK
taiga-back |   Applying tasks.0009_auto_20151104_1131... OK
taiga-back |   Applying users.0007_auto_20150209_1611... OK
taiga-back |   Applying users.0008_auto_20150213_1701... OK
taiga-back |   Applying users.0009_auto_20150326_1241... OK
taiga-back |   Applying users.0010_auto_20150414_0936... OK
taiga-back |   Applying timeline.0001_initial... OK
taiga-back |   Applying projects.0006_auto_20141029_1040... OK
taiga-back |   Applying projects.0007_auto_20141024_1011... OK
taiga-back |   Applying projects.0008_auto_20141024_1012... OK
taiga-back |   Applying projects.0009_auto_20141024_1037... OK
taiga-back |   Applying projects.0010_project_modules_config... OK
taiga-back |   Applying projects.0011_auto_20141028_2057... OK
taiga-back |   Applying projects.0012_auto_20141210_1009... OK
taiga-back |   Applying projects.0013_auto_20141210_1040... OK
taiga-back |   Applying projects.0014_userstorystatus_is_archived... OK
taiga-back |   Applying projects.0015_auto_20141230_1212... OK
taiga-back |   Applying projects.0016_fix_json_field_not_null... OK
taiga-back |   Applying projects.0017_fix_is_private_for_projects... OK
taiga-back |   Applying projects.0018_auto_20150219_1606... OK
taiga-back |   Applying projects.0019_auto_20150311_0821... OK
taiga-back |   Applying timeline.0002_auto_20150327_1056... OK
taiga-back |   Applying timeline.0003_auto_20150410_0829... OK
taiga-back |   Applying timeline.0004_auto_20150603_1312... OK
taiga-back |   Applying projects.0020_membership_user_order... OK
taiga-back |   Applying projects.0021_auto_20150504_1524... OK
taiga-back |   Applying projects.0022_auto_20150701_0924... OK
taiga-back |   Applying projects.0023_auto_20150721_1511... OK
taiga-back |   Applying projects.0024_auto_20150810_1247... OK
taiga-back |   Applying projects.0025_auto_20150901_1600... OK
taiga-back |   Applying projects.0026_auto_20150911_1237... OK
taiga-back |   Applying projects.0027_auto_20150916_1302... OK
taiga-back |   Applying projects.0028_project_is_featured... OK
taiga-back |   Applying projects.0029_project_is_looking_for_people... OK
taiga-back |   Applying likes.0001_initial... OK
taiga-back |   Applying projects.0030_auto_20151128_0757... OK
taiga-back |   Applying projects.0031_project_logo... OK
taiga-back |   Applying projects.0032_auto_20151202_1151... OK
taiga-back |   Applying projects.0033_text_search_indexes... OK
taiga-back |   Applying projects.0034_project_looking_for_people_note... OK
taiga-back |   Applying projects.0035_project_blocked_code... OK
taiga-back |   Applying projects.0036_project_transfer_token... OK
taiga-back |   Applying projects.0037_auto_20160208_1751... OK
taiga-back |   Applying projects.0038_auto_20160215_1133... OK
taiga-back |   Applying projects.0039_auto_20160322_1157... OK
taiga-back |   Applying projects.0040_remove_memberships_of_cancelled_users_acounts... OK
taiga-back |   Applying projects.0043_auto_20160530_1004... OK
taiga-back |   Applying projects.0044_auto_20160531_1150... OK
taiga-back |   Applying projects.0041_auto_20160519_1058... OK
taiga-back |   Applying projects.0042_auto_20160525_0911... OK
taiga-back |   Applying projects.0045_merge... OK
taiga-back |   Applying issues.0002_issue_external_reference... OK
taiga-back |   Applying issues.0003_auto_20141210_1108... OK
taiga-back |   Applying issues.0004_auto_20150114_0954... OK
taiga-back |   Applying issues.0005_auto_20150623_1923... OK
taiga-back |   Applying issues.0006_remove_issue_watchers... OK
taiga-back |   Applying projects.0046_triggers_to_update_tags_colors... OK
taiga-back |   Applying projects.0047_auto_20160614_1201... OK
taiga-back |   Applying projects.0048_auto_20160615_1508... OK
taiga-back |   Applying projects.0049_auto_20160629_1443... OK
taiga-back |   Applying projects.0050_project_epics_csv_uuid... OK
taiga-back |   Applying projects.0051_auto_20160729_0802... OK
taiga-back |   Applying projects.0052_epic_status... OK
taiga-back |   Applying projects.0053_auto_20160927_0741... OK
taiga-back |   Applying projects.0054_auto_20160928_0540... OK
taiga-back |   Applying projects.0055_json_to_jsonb... OK
taiga-back |   Applying projects.0056_auto_20161110_1518... OK
taiga-back |   Applying contact.0001_initial... OK
taiga-back |   Applying userstories.0012_auto_20160614_1201... OK
taiga-back |   Applying wiki.0001_initial... OK
taiga-back |   Applying wiki.0002_remove_wikipage_watchers... OK
taiga-back |   Applying wiki.0003_auto_20160615_0721... OK
taiga-back |   Applying users.0011_user_theme... OK
taiga-back |   Applying users.0012_auto_20150812_1142... OK
taiga-back |   Applying users.0013_auto_20150901_1600... OK
taiga-back |   Applying users.0014_auto_20151005_1357... OK
taiga-back |   Applying users.0015_auto_20160120_1409... OK
taiga-back |   Applying users.0016_auto_20160204_1050... OK
taiga-back |   Applying users.0017_auto_20160208_1751... OK
taiga-back |   Applying users.0018_remove_vote_issues_in_roles_permissions_field... OK
taiga-back |   Applying users.0019_auto_20160519_1058... OK
taiga-back |   Applying users.0020_auto_20160525_1229... OK
taiga-back |   Applying users.0021_auto_20160614_1201... OK
taiga-back |   Applying users.0022_auto_20160629_1443... OK
taiga-back |   Applying history.0005_auto_20141120_1119... OK
taiga-back |   Applying history.0006_fix_json_field_not_null... OK
taiga-back |   Applying history.0007_set_bloked_note_and_is_blocked_in_snapshots... OK
taiga-back |   Applying history.0008_auto_20150508_1028... OK
taiga-back |   Applying history.0009_auto_20160512_1110... OK
taiga-back |   Applying history.0010_historyentry_project... OK
taiga-back |   Applying history.0011_auto_20160629_1036... OK
taiga-back |   Applying history.0012_auto_20160629_1036... OK
taiga-back |   Applying epics.0001_initial... OK
taiga-back |   Applying epics.0002_epic_color... OK
taiga-back |   Applying custom_attributes.0001_initial... OK
taiga-back |   Applying custom_attributes.0002_issuecustomattributesvalues_taskcustomattributesvalues_userstorycustomattributesvalues... OK
taiga-back |   Applying custom_attributes.0003_triggers_on_delete_customattribute... OK
taiga-back |   Applying custom_attributes.0004_create_empty_customattributesvalues_for_existen_object... OK
taiga-back |   Applying custom_attributes.0005_auto_20150505_1639... OK
taiga-back |   Applying custom_attributes.0006_auto_20151014_1645... OK
taiga-back |   Applying custom_attributes.0007_auto_20160208_1751... OK
taiga-back |   Applying custom_attributes.0008_auto_20160728_0540... OK
taiga-back |   Applying custom_attributes.0009_auto_20160728_1002... OK
taiga-back |   Applying custom_attributes.0010_auto_20160928_0540... OK
taiga-back |   Applying custom_attributes.0011_json_to_jsonb... OK
taiga-back |   Applying custom_attributes.0012_auto_20161201_1628... OK
taiga-back |   Applying custom_attributes.0013_auto_20181022_1624... OK
taiga-back |   Applying custom_attributes.0014_auto_20181025_0711... OK
taiga-back |   Applying djmail.0001_initial... OK
taiga-back |   Applying djmail.0002_auto_20161118_1347... OK
taiga-back |   Applying easy_thumbnails.0001_initial... OK
taiga-back |   Applying easy_thumbnails.0002_thumbnaildimensions... OK
taiga-back |   Applying epics.0003_auto_20160901_1021... OK
taiga-back |   Applying epics.0004_auto_20160928_0540... OK
taiga-back |   Applying epics.0005_epic_external_reference... OK
taiga-back |   Applying external_apps.0001_initial... OK
taiga-back |   Applying external_apps.0002_remove_application_key... OK
taiga-back |   Applying external_apps.0003_auto_20170607_2320... OK
taiga-back |   Applying feedback.0001_initial... OK
taiga-back |   Applying github.0001_initial... OK
taiga-back |   Applying gitlab.0001_initial... OK
taiga-back |   Applying gitlab.0002_auto_20150703_1102... OK
taiga-back |   Applying gogs.0001_initial... OK
taiga-back |   Applying history.0013_historyentry_values_diff_cache... OK
taiga-back |   Applying history.0014_json_to_jsonb... OK
taiga-back |   Applying issues.0007_auto_20160614_1201... OK
taiga-back |   Applying issues.0008_add_due_date... OK
taiga-back |   Applying likes.0002_auto_20151130_2230... OK
taiga-back |   Applying milestones.0002_remove_milestone_watchers... OK
taiga-back |   Applying notifications.0005_auto_20151005_1357... OK
taiga-back |   Applying notifications.0006_auto_20151103_0954... OK
taiga-back |   Applying notifications.0007_notifypolicy_live_notify_level... OK
taiga-back |   Applying notifications.0008_auto_20181010_1124... OK
taiga-back |   Applying projects.0057_auto_20161129_0945... OK
taiga-back |   Applying projects.0058_auto_20161215_1347... OK
taiga-back |   Applying projects.0059_auto_20170116_1633... OK
taiga-back |   Applying projects.0060_auto_20180614_1338... OK
taiga-back |   Applying projects.0061_auto_20180918_1355... OK
taiga-back |   Applying projects.0062_auto_20190826_0920... OK
taiga-back |   Applying references.0001_initial... OK
taiga-back |   Applying sessions.0001_initial... OK
taiga-back |   Applying settings.0001_initial... OK
taiga-back |   Applying tasks.0010_auto_20160614_1201... OK
taiga-back |   Applying tasks.0011_auto_20160928_0755... OK
taiga-back |   Applying tasks.0012_add_due_date... OK
taiga-back |   Applying timeline.0005_auto_20160706_0723... OK
taiga-back |   Applying timeline.0006_json_to_jsonb... OK
taiga-back |   Applying timeline.0007_auto_20170406_0615... OK
taiga-back |   Applying timeline.0008_auto_20190606_1528... OK
taiga-back |   Applying users.0023_json_to_jsonb... OK
taiga-back |   Applying users.0024_auto_20170406_0727... OK
taiga-back |   Applying users.0025_user_uuid... OK
taiga-back |   Applying users.0026_auto_20180514_1513... OK
taiga-back |   Applying users.0027_auto_20180610_2011... OK
taiga-back |   Applying userstorage.0001_initial... OK
taiga-back |   Applying userstorage.0002_fix_json_field_not_null... OK
taiga-back |   Applying userstorage.0003_json_to_jsonb... OK
taiga-back |   Applying userstories.0013_auto_20160722_1018... OK
taiga-back |   Applying userstories.0014_auto_20160928_0540... OK
taiga-back |   Applying userstories.0015_add_due_date... OK
taiga-back |   Applying userstories.0016_userstory_assigned_users... OK
taiga-back |   Applying userstories.0017_userstory_generated_from_task... OK
taiga-back |   Applying votes.0001_initial... OK
taiga-back |   Applying votes.0002_auto_20150805_1600... OK
taiga-back |   Applying webhooks.0001_initial... OK
taiga-back |   Applying webhooks.0002_webhook_name... OK
taiga-back |   Applying webhooks.0003_auto_20150122_1021... OK
taiga-back |   Applying webhooks.0004_auto_20150202_0834... OK
taiga-back |   Applying webhooks.0005_auto_20150505_1639... OK
taiga-back |   Applying webhooks.0006_json_to_jsonb... OK
taiga-back |   Applying wiki.0004_auto_20160928_0540... OK
taiga-back |   Applying wiki.0005_auto_20161201_1628... OK
taiga-back | Trying import local.py settings...
taiga-back | processing file django.po in /srv/taiga/back/taiga/locale/fi/LC_MESSAGES
taiga-back | processing file django.po in /srv/taiga/back/taiga/locale/pl/LC_MESSAGES
taiga-back | processing file django.po in /srv/taiga/back/taiga/locale/ko/LC_MESSAGES
taiga-back | processing file django.po in /srv/taiga/back/taiga/locale/en/LC_MESSAGES
taiga-back | processing file django.po in /srv/taiga/back/taiga/locale/eu/LC_MESSAGES
taiga-back | processing file django.po in /srv/taiga/back/taiga/locale/nl/LC_MESSAGES
taiga-back | processing file django.po in /srv/taiga/back/taiga/locale/nb/LC_MESSAGES
taiga-back | processing file django.po in /srv/taiga/back/taiga/locale/uk/LC_MESSAGES
taiga-back | processing file django.po in /srv/taiga/back/taiga/locale/tr/LC_MESSAGES
taiga-back | processing file django.po in /srv/taiga/back/taiga/locale/de/LC_MESSAGES
taiga-back | processing file django.po in /srv/taiga/back/taiga/locale/zh-Hans/LC_MESSAGES
taiga-back | processing file django.po in /srv/taiga/back/taiga/locale/he/LC_MESSAGES
taiga-back | processing file django.po in /srv/taiga/back/taiga/locale/fr/LC_MESSAGES
taiga-back | processing file django.po in /srv/taiga/back/taiga/locale/ca/LC_MESSAGES
taiga-back | processing file django.po in /srv/taiga/back/taiga/locale/ja/LC_MESSAGES
taiga-back | processing file django.po in /srv/taiga/back/taiga/locale/fa/LC_MESSAGES
taiga-back | processing file django.po in /srv/taiga/back/taiga/locale/es/LC_MESSAGES
taiga-back | processing file django.po in /srv/taiga/back/taiga/locale/pt_BR/LC_MESSAGES
taiga-back | processing file django.po in /srv/taiga/back/taiga/locale/ru/LC_MESSAGES
taiga-back | processing file django.po in /srv/taiga/back/taiga/locale/sv/LC_MESSAGES
taiga-back | processing file django.po in /srv/taiga/back/taiga/locale/zh-Hant/LC_MESSAGES
taiga-back | processing file django.po in /srv/taiga/back/taiga/locale/it/LC_MESSAGES
taiga-back | Trying import local.py settings...
taiga-back | 
taiga-back | 0 static files copied to '/srv/taiga/back/static', 939 unmodified.
taiga-back | mkdir: can't create directory '/run/nginx': File exists
taiga-back | [2019-11-20 13:40:49 +0000] [37] [INFO] Starting gunicorn 19.9.0
taiga-back | [2019-11-20 13:40:49 +0000] [37] [INFO] Listening at: http://127.0.0.1:8000 (37)
taiga-back | [2019-11-20 13:40:49 +0000] [37] [INFO] Using worker: sync
taiga-back | [2019-11-20 13:40:49 +0000] [45] [INFO] Booting worker with pid: 45
taiga-back | [2019-11-20 13:40:49 +0000] [46] [INFO] Booting worker with pid: 46
taiga-back | [2019-11-20 13:40:49 +0000] [47] [INFO] Booting worker with pid: 47
taiga-back | [2019-11-20 13:40:49 +0000] [48] [INFO] Booting worker with pid: 48
taiga-back | Trying import local.py settings...
taiga-back | Trying import local.py settings...
taiga-back | Trying import local.py settings...
taiga-back | Trying import local.py settings...
taiga-front | 172.23.0.7 - - [20/Nov/2019:13:41:31 +0000] "GET /discover HTTP/1.0" 200 91976 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:70.0) Gecko/20100101 Firefox/70.0" "172.23.0.1"
taiga-proxy | 172.23.0.1 - - [20/Nov/2019:13:41:31 +0000] "GET /discover HTTP/1.1" 200 91976 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:70.0) Gecko/20100101 Firefox/70.0" "-"
taiga-front | 172.23.0.7 - - [20/Nov/2019:13:41:31 +0000] "GET /conf.json HTTP/1.0" 200 441 "http://127.0.0.1/discover" "Mozilla/5.0 (X11; Linux x86_64; rv:70.0) Gecko/20100101 Firefox/70.0" "172.23.0.1"
taiga-proxy | 172.23.0.1 - - [20/Nov/2019:13:41:31 +0000] "GET /conf.json HTTP/1.1" 200 441 "http://127.0.0.1/discover" "Mozilla/5.0 (X11; Linux x86_64; rv:70.0) Gecko/20100101 Firefox/70.0" "-"
taiga-proxy | 172.23.0.1 - - [20/Nov/2019:13:41:31 +0000] "GET /v-1569907893851/images/favicon.png HTTP/1.1" 200 6979 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:70.0) Gecko/20100101 Firefox/70.0" "-"
taiga-front | 172.23.0.7 - - [20/Nov/2019:13:41:31 +0000] "GET /v-1569907893851/images/favicon.png HTTP/1.0" 200 6979 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:70.0) Gecko/20100101 Firefox/70.0" "172.23.0.1"
taiga-front | 172.23.0.7 - - [20/Nov/2019:13:41:34 +0000] "GET /conf.json HTTP/1.0" 200 441 "http://localhost/" "Mozilla/5.0 (X11; Linux x86_64; rv:70.0) Gecko/20100101 Firefox/70.0" "172.23.0.1"
taiga-proxy | 172.23.0.1 - - [20/Nov/2019:13:41:34 +0000] "GET /conf.json HTTP/1.1" 200 441 "http://localhost/" "Mozilla/5.0 (X11; Linux x86_64; rv:70.0) Gecko/20100101 Firefox/70.0" "-"
taiga-proxy | 172.23.0.1 - - [20/Nov/2019:13:41:34 +0000] "GET /v-1569907893851/fonts/OpenSans-Regular.ttf HTTP/1.1" 499 0 "http://localhost/v-1569907893851/styles/theme-taiga.css" "Mozilla/5.0 (X11; Linux x86_64; rv:70.0) Gecko/20100101 Firefox/70.0" "-"
taiga-front | 172.23.0.7 - - [20/Nov/2019:13:41:34 +0000] "GET /v-1569907893851/fonts/OpenSans-Regular.ttf HTTP/1.0" 200 0 "http://localhost/v-1569907893851/styles/theme-taiga.css" "Mozilla/5.0 (X11; Linux x86_64; rv:70.0) Gecko/20100101 Firefox/70.0" "172.23.0.1"

This is result: obraz

VinceHillier commented 4 years ago

variables.env updates never make it to the container because there are dangling locks.

These components make use of the file lock: back, front, and proxy.

https://github.com/docker-taiga/back/blob/master/start.sh#L5-L7 https://github.com/docker-taiga/front/blob/master/start.sh#L3-L5 https://github.com/docker-taiga/proxy/blob/latest/start.sh#L3-L6

I cannot see a good reason for this lock on these components as they are just configuration updates. Their presence prevents modification of variables in the future and a broken frontend as seen above.

I can submit a PR to remove the locking I just want to make sure I'm not missing something (feel free to chime in here @w1ck3dg0ph3r ) :)

TLDR: lock files prevent variables.env from being updated. If you ever started taiga, modified the TAIGA_HOST, then restarted your changes won't be reflected in the configuration files.

Quick fix:

1) Edit variables.env until satisfied 2) Remove lock files. Run in directory you have docker-taiga checked out in. find . -name .initial_setup.lock -exec rm -v {} \; 3) docker-compose restart

w1ck3dg0ph3r commented 4 years ago

@VinceHillier Thanks! PR would be awesome. The initial reasoning behind the lock, IIRC, was to prevent populating db with initial data each time in taiga-back. But config itself could be made idempotent, I think, so it would be nice to move it out.

VinceHillier commented 4 years ago

@w1ck3dg0ph3r PRs submitted.

https://github.com/docker-taiga/proxy/pull/1 https://github.com/docker-taiga/front/pull/3 https://github.com/docker-taiga/back/pull/5