Closed Dzordzu closed 4 years ago
Also tried LDAP configuration. No success
Do you have email configured properly ( or at all )? I've had problems where incorrect Email configuration led to mysterious failures related to user settings and login.
Which container tag do you use?
I've had the same issue with any version I use. I tried 4.2.7 and 4.2.14 with fresh starts and with and without email enabled.
I tried to reproduce this problem without luck.
git clone git@github.com:riotkit-org/docker-taiga.git
cd docker-taiga
git rev-parse HEAD
# 12203b1d078e8e77188552d4c6e95c975d816dfd
make start VERSION=4.2.14
Creating volume "taiga_postgres" with default driver
Creating volume "taiga_media" with default driver
Creating taiga_postgres_1 ... done
Creating taiga_taiga_1 ... done
Attaching to taiga_postgres_1, taiga_taiga_1
postgres_1 | The files belonging to this database system will be owned by user "postgres".
postgres_1 | This user must also own the server process.
postgres_1 |
postgres_1 | The database cluster will be initialized with locale "en_US.utf8".
postgres_1 | The default database encoding has accordingly been set to "UTF8".
postgres_1 | The default text search configuration will be set to "english".
postgres_1 |
postgres_1 | Data page checksums are disabled.
taiga_1 | >> Setting user id and group id
postgres_1 |
taiga_1 | usermod: invalid user ID ''
postgres_1 | fixing permissions on existing directory /var/lib/postgresql/data ... ok
taiga_1 | groupmod: invalid group ID ''
postgres_1 | creating subdirectories ... ok
postgres_1 | selecting dynamic shared memory implementation ... posix
taiga_1 | >> Correcting permissions
postgres_1 | selecting default max_connections ... 100
postgres_1 | selecting default shared_buffers ... 128MB
postgres_1 | selecting default time zone ... Etc/UTC
postgres_1 | creating configuration files ... ok
postgres_1 | running bootstrap script ... ok
postgres_1 | performing post-bootstrap initialization ... ok
taiga_1 | >> Preparing configuration files...
taiga_1 | HINT: Add your files into /etc/nginx/extensions.d to include them in NGINX configuration
postgres_1 | syncing data to disk ... ok
postgres_1 |
postgres_1 |
postgres_1 | Success. You can now start the database server using:
postgres_1 |
postgres_1 | pg_ctl -D /var/lib/postgresql/data -l logfile start
postgres_1 |
postgres_1 | initdb: warning: enabling "trust" authentication for local connections
postgres_1 | You can change this by editing pg_hba.conf or using the option -A, or
postgres_1 | --auth-local and --auth-host, the next time you run initdb.
postgres_1 | waiting for server to start....2019-11-19 11:22:32.770 UTC [46] LOG: starting PostgreSQL 12.1 (Debian 12.1-1.pgdg100+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 8.3.0-6) 8.3.0, 64-bit
postgres_1 | 2019-11-19 11:22:32.775 UTC [46] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
postgres_1 | 2019-11-19 11:22:32.810 UTC [47] LOG: database system was shut down at 2019-11-19 11:22:32 UTC
postgres_1 | 2019-11-19 11:22:32.816 UTC [46] LOG: database system is ready to accept connections
postgres_1 | done
postgres_1 | server started
postgres_1 | CREATE DATABASE
postgres_1 |
postgres_1 |
postgres_1 | /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/*
postgres_1 |
postgres_1 | 2019-11-19 11:22:33.062 UTC [46] LOG: received fast shutdown request
postgres_1 | waiting for server to shut down....2019-11-19 11:22:33.067 UTC [46] LOG: aborting any active transactions
postgres_1 | 2019-11-19 11:22:33.068 UTC [46] LOG: background worker "logical replication launcher" (PID 53) exited with exit code 1
postgres_1 | 2019-11-19 11:22:33.068 UTC [48] LOG: shutting down
postgres_1 | 2019-11-19 11:22:33.088 UTC [46] LOG: database system is shut down
postgres_1 | done
postgres_1 | server stopped
postgres_1 |
postgres_1 | PostgreSQL init process complete; ready for start up.
postgres_1 |
taiga_1 | >> Preparing a database migration
taiga_1 | Running database check
postgres_1 | 2019-11-19 11:22:33.181 UTC [1] LOG: starting PostgreSQL 12.1 (Debian 12.1-1.pgdg100+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 8.3.0-6) 8.3.0, 64-bit
postgres_1 | 2019-11-19 11:22:33.181 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432
postgres_1 | 2019-11-19 11:22:33.181 UTC [1] LOG: listening on IPv6 address "::", port 5432
postgres_1 | 2019-11-19 11:22:33.187 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
postgres_1 | 2019-11-19 11:22:33.206 UTC [64] LOG: database system was shut down at 2019-11-19 11:22:33 UTC
postgres_1 | 2019-11-19 11:22:33.213 UTC [1] LOG: database system is ready to accept connections
taiga_1 | Connecting to database:
taiga_1 | dbname='taigadb' user='postgres' host='postgres' password='password'
taiga_1 | Database does not appear to be setup.
taiga_1 | Configuring initial database
taiga_1 | Trying import local.py settings...
taiga_1 | Operations to perform:
taiga_1 | 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_1 | Running migrations:
taiga_1 | Applying contenttypes.0001_initial... OK
taiga_1 | Applying users.0001_initial... OK
taiga_1 | Applying admin.0001_initial... OK
taiga_1 | Applying admin.0002_logentry_remove_auto_add... OK
taiga_1 | Applying users.0002_auto_20140903_0916... OK
taiga_1 | Applying projects.0001_initial... OK
taiga_1 | Applying projects.0002_auto_20140903_0920... OK
taiga_1 | Applying attachments.0001_initial... OK
taiga_1 | Applying attachments.0002_add_size_and_name_fields... OK
taiga_1 | Applying attachments.0003_auto_20150114_0954... OK
taiga_1 | Applying attachments.0004_auto_20150508_1141... OK
taiga_1 | Applying attachments.0005_attachment_sha1... OK
taiga_1 | Applying attachments.0006_auto_20160617_1233... OK
taiga_1 | Applying attachments.0007_attachment_from_comment... OK
taiga_1 | Applying attachments.0008_auto_20170201_1053... OK
taiga_1 | Applying contenttypes.0002_remove_content_type_name... OK
taiga_1 | Applying auth.0001_initial... OK
taiga_1 | Applying auth.0002_alter_permission_name_max_length... OK
taiga_1 | Applying auth.0003_alter_user_email_max_length... OK
taiga_1 | Applying auth.0004_alter_user_username_opts... OK
taiga_1 | Applying auth.0005_alter_user_last_login_null... OK
taiga_1 | Applying auth.0006_require_contenttypes_0002... OK
taiga_1 | Applying auth.0007_alter_validators_add_error_messages... OK
taiga_1 | Applying auth.0008_alter_user_username_max_length... OK
taiga_1 | Applying users.0003_auto_20140903_0925... OK
taiga_1 | Applying users.0004_auto_20140913_1914... OK
taiga_1 | Applying users.0005_alter_user_photo... OK
taiga_1 | Applying users.0006_auto_20141030_1132... OK
taiga_1 | Applying bitbucket.0001_initial... OK
taiga_1 | Applying milestones.0001_initial... OK
taiga_1 | Applying issues.0001_initial... OK
taiga_1 | Applying userstories.0001_initial... OK
taiga_1 | Applying userstories.0002_auto_20140903_1301... OK
taiga_1 | Applying userstories.0003_userstory_order_fields... OK
taiga_1 | Applying userstories.0004_auto_20141001_1817... OK
taiga_1 | Applying userstories.0005_auto_20141009_1656... OK
taiga_1 | Applying userstories.0006_auto_20141014_1524... OK
taiga_1 | Applying userstories.0007_userstory_external_reference... OK
taiga_1 | Applying userstories.0008_auto_20141210_1107... OK
taiga_1 | Applying userstories.0009_remove_userstory_is_archived... OK
taiga_1 | Applying projects.0003_auto_20140913_1710... OK
taiga_1 | Applying projects.0004_auto_20141002_2337... OK
taiga_1 | Applying projects.0005_membership_invitation_extra_text... OK
taiga_1 | Applying notifications.0001_initial... OK
taiga_1 | Applying history.0001_initial... OK
taiga_1 | Applying history.0002_auto_20140916_0936... OK
taiga_1 | Applying history.0003_auto_20140917_1405... OK
taiga_1 | Applying history.0004_historyentry_is_hidden... OK
taiga_1 | Applying notifications.0002_historychangenotification... OK
taiga_1 | Applying notifications.0003_auto_20141029_1143... OK
taiga_1 | Applying notifications.0004_watched... OK
taiga_1 | Applying userstories.0010_remove_userstory_watchers... OK
taiga_1 | Applying userstories.0011_userstory_tribe_gig... OK
taiga_1 | Applying tasks.0001_initial... OK
taiga_1 | Applying tasks.0002_tasks_order_fields... OK
taiga_1 | Applying tasks.0003_task_external_reference... OK
taiga_1 | Applying tasks.0004_auto_20141210_1107... OK
taiga_1 | Applying tasks.0005_auto_20150114_0954... OK
taiga_1 | Applying tasks.0006_auto_20150623_1923... OK
taiga_1 | Applying tasks.0007_auto_20150629_1556... OK
taiga_1 | Applying tasks.0008_remove_task_watchers... OK
taiga_1 | Applying tasks.0009_auto_20151104_1131... OK
taiga_1 | Applying users.0007_auto_20150209_1611... OK
taiga_1 | Applying users.0008_auto_20150213_1701... OK
taiga_1 | Applying users.0009_auto_20150326_1241... OK
taiga_1 | Applying users.0010_auto_20150414_0936... OK
taiga_1 | Applying timeline.0001_initial... OK
taiga_1 | Applying projects.0006_auto_20141029_1040... OK
taiga_1 | Applying projects.0007_auto_20141024_1011... OK
taiga_1 | Applying projects.0008_auto_20141024_1012... OK
taiga_1 | Applying projects.0009_auto_20141024_1037... OK
taiga_1 | Applying projects.0010_project_modules_config... OK
taiga_1 | Applying projects.0011_auto_20141028_2057... OK
taiga_1 | Applying projects.0012_auto_20141210_1009... OK
taiga_1 | Applying projects.0013_auto_20141210_1040... OK
taiga_1 | Applying projects.0014_userstorystatus_is_archived... OK
taiga_1 | Applying projects.0015_auto_20141230_1212... OK
taiga_1 | Applying projects.0016_fix_json_field_not_null... OK
taiga_1 | Applying projects.0017_fix_is_private_for_projects... OK
taiga_1 | Applying projects.0018_auto_20150219_1606... OK
taiga_1 | Applying projects.0019_auto_20150311_0821... OK
taiga_1 | Applying timeline.0002_auto_20150327_1056... OK
taiga_1 | Applying timeline.0003_auto_20150410_0829... OK
taiga_1 | Applying timeline.0004_auto_20150603_1312... OK
taiga_1 | Applying projects.0020_membership_user_order... OK
taiga_1 | Applying projects.0021_auto_20150504_1524... OK
taiga_1 | Applying projects.0022_auto_20150701_0924... OK
taiga_1 | Applying projects.0023_auto_20150721_1511... OK
taiga_1 | Applying projects.0024_auto_20150810_1247... OK
taiga_1 | Applying projects.0025_auto_20150901_1600... OK
taiga_1 | Applying projects.0026_auto_20150911_1237... OK
taiga_1 | Applying projects.0027_auto_20150916_1302... OK
taiga_1 | Applying projects.0028_project_is_featured... OK
taiga_1 | Applying projects.0029_project_is_looking_for_people... OK
taiga_1 | Applying likes.0001_initial... OK
taiga_1 | Applying projects.0030_auto_20151128_0757... OK
taiga_1 | Applying projects.0031_project_logo... OK
taiga_1 | Applying projects.0032_auto_20151202_1151... OK
taiga_1 | Applying projects.0033_text_search_indexes... OK
taiga_1 | Applying projects.0034_project_looking_for_people_note... OK
taiga_1 | Applying projects.0035_project_blocked_code... OK
taiga_1 | Applying projects.0036_project_transfer_token... OK
taiga_1 | Applying projects.0037_auto_20160208_1751... OK
taiga_1 | Applying projects.0038_auto_20160215_1133... OK
taiga_1 | Applying projects.0039_auto_20160322_1157... OK
taiga_1 | Applying projects.0040_remove_memberships_of_cancelled_users_acounts... OK
taiga_1 | Applying projects.0043_auto_20160530_1004... OK
taiga_1 | Applying projects.0044_auto_20160531_1150... OK
taiga_1 | Applying projects.0041_auto_20160519_1058... OK
taiga_1 | Applying projects.0042_auto_20160525_0911... OK
taiga_1 | Applying projects.0045_merge... OK
taiga_1 | Applying issues.0002_issue_external_reference... OK
taiga_1 | Applying issues.0003_auto_20141210_1108... OK
taiga_1 | Applying issues.0004_auto_20150114_0954... OK
taiga_1 | Applying issues.0005_auto_20150623_1923... OK
taiga_1 | Applying issues.0006_remove_issue_watchers... OK
taiga_1 | Applying projects.0046_triggers_to_update_tags_colors... OK
taiga_1 | Applying projects.0047_auto_20160614_1201... OK
taiga_1 | Applying projects.0048_auto_20160615_1508... OK
taiga_1 | Applying projects.0049_auto_20160629_1443... OK
taiga_1 | Applying projects.0050_project_epics_csv_uuid... OK
taiga_1 | Applying projects.0051_auto_20160729_0802... OK
taiga_1 | Applying projects.0052_epic_status... OK
taiga_1 | Applying projects.0053_auto_20160927_0741... OK
taiga_1 | Applying projects.0054_auto_20160928_0540... OK
taiga_1 | Applying projects.0055_json_to_jsonb... OK
taiga_1 | Applying projects.0056_auto_20161110_1518... OK
taiga_1 | Applying contact.0001_initial... OK
taiga_1 | Applying userstories.0012_auto_20160614_1201... OK
taiga_1 | Applying wiki.0001_initial... OK
taiga_1 | Applying wiki.0002_remove_wikipage_watchers... OK
taiga_1 | Applying wiki.0003_auto_20160615_0721... OK
taiga_1 | Applying users.0011_user_theme... OK
taiga_1 | Applying users.0012_auto_20150812_1142... OK
taiga_1 | Applying users.0013_auto_20150901_1600... OK
taiga_1 | Applying users.0014_auto_20151005_1357... OK
taiga_1 | Applying users.0015_auto_20160120_1409... OK
taiga_1 | Applying users.0016_auto_20160204_1050... OK
taiga_1 | Applying users.0017_auto_20160208_1751... OK
taiga_1 | Applying users.0018_remove_vote_issues_in_roles_permissions_field... OK
taiga_1 | Applying users.0019_auto_20160519_1058... OK
taiga_1 | Applying users.0020_auto_20160525_1229... OK
taiga_1 | Applying users.0021_auto_20160614_1201... OK
taiga_1 | Applying users.0022_auto_20160629_1443... OK
taiga_1 | Applying history.0005_auto_20141120_1119... OK
taiga_1 | Applying history.0006_fix_json_field_not_null... OK
taiga_1 | Applying history.0007_set_bloked_note_and_is_blocked_in_snapshots... OK
taiga_1 | Applying history.0008_auto_20150508_1028... OK
taiga_1 | Applying history.0009_auto_20160512_1110... OK
taiga_1 | Applying history.0010_historyentry_project... OK
taiga_1 | Applying history.0011_auto_20160629_1036... OK
taiga_1 | Applying history.0012_auto_20160629_1036... OK
taiga_1 | Applying epics.0001_initial... OK
taiga_1 | Applying epics.0002_epic_color... OK
taiga_1 | Applying custom_attributes.0001_initial... OK
taiga_1 | Applying custom_attributes.0002_issuecustomattributesvalues_taskcustomattributesvalues_userstorycustomattributesvalues... OK
taiga_1 | Applying custom_attributes.0003_triggers_on_delete_customattribute... OK
taiga_1 | Applying custom_attributes.0004_create_empty_customattributesvalues_for_existen_object... OK
taiga_1 | Applying custom_attributes.0005_auto_20150505_1639... OK
taiga_1 | Applying custom_attributes.0006_auto_20151014_1645... OK
taiga_1 | Applying custom_attributes.0007_auto_20160208_1751... OK
taiga_1 | Applying custom_attributes.0008_auto_20160728_0540... OK
taiga_1 | Applying custom_attributes.0009_auto_20160728_1002... OK
taiga_1 | Applying custom_attributes.0010_auto_20160928_0540... OK
taiga_1 | Applying custom_attributes.0011_json_to_jsonb... OK
taiga_1 | Applying custom_attributes.0012_auto_20161201_1628... OK
taiga_1 | Applying custom_attributes.0013_auto_20181022_1624... OK
taiga_1 | Applying custom_attributes.0014_auto_20181025_0711... OK
taiga_1 | Applying djmail.0001_initial... OK
taiga_1 | Applying djmail.0002_auto_20161118_1347... OK
taiga_1 | Applying easy_thumbnails.0001_initial... OK
taiga_1 | Applying easy_thumbnails.0002_thumbnaildimensions... OK
taiga_1 | Applying epics.0003_auto_20160901_1021... OK
taiga_1 | Applying epics.0004_auto_20160928_0540... OK
taiga_1 | Applying epics.0005_epic_external_reference... OK
taiga_1 | Applying external_apps.0001_initial... OK
taiga_1 | Applying external_apps.0002_remove_application_key... OK
taiga_1 | Applying external_apps.0003_auto_20170607_2320... OK
taiga_1 | Applying feedback.0001_initial... OK
taiga_1 | Applying github.0001_initial... OK
taiga_1 | Applying gitlab.0001_initial... OK
taiga_1 | Applying gitlab.0002_auto_20150703_1102... OK
taiga_1 | Applying gogs.0001_initial... OK
taiga_1 | Applying history.0013_historyentry_values_diff_cache... OK
taiga_1 | Applying history.0014_json_to_jsonb... OK
taiga_1 | Applying issues.0007_auto_20160614_1201... OK
taiga_1 | Applying issues.0008_add_due_date... OK
taiga_1 | Applying likes.0002_auto_20151130_2230... OK
taiga_1 | Applying milestones.0002_remove_milestone_watchers... OK
taiga_1 | Applying notifications.0005_auto_20151005_1357... OK
taiga_1 | Applying notifications.0006_auto_20151103_0954... OK
taiga_1 | Applying notifications.0007_notifypolicy_live_notify_level... OK
taiga_1 | Applying notifications.0008_auto_20181010_1124... OK
taiga_1 | Applying projects.0057_auto_20161129_0945... OK
taiga_1 | Applying projects.0058_auto_20161215_1347... OK
taiga_1 | Applying projects.0059_auto_20170116_1633... OK
taiga_1 | Applying projects.0060_auto_20180614_1338... OK
taiga_1 | Applying projects.0061_auto_20180918_1355... OK
taiga_1 | Applying projects.0062_auto_20190826_0920... OK
taiga_1 | Applying references.0001_initial... OK
taiga_1 | Applying sessions.0001_initial... OK
taiga_1 | Applying settings.0001_initial... OK
taiga_1 | Applying tasks.0010_auto_20160614_1201... OK
taiga_1 | Applying tasks.0011_auto_20160928_0755... OK
taiga_1 | Applying tasks.0012_add_due_date... OK
taiga_1 | Applying timeline.0005_auto_20160706_0723... OK
taiga_1 | Applying timeline.0006_json_to_jsonb... OK
taiga_1 | Applying timeline.0007_auto_20170406_0615... OK
taiga_1 | Applying timeline.0008_auto_20190606_1528... OK
taiga_1 | Applying users.0023_json_to_jsonb... OK
taiga_1 | Applying users.0024_auto_20170406_0727... OK
taiga_1 | Applying users.0025_user_uuid... OK
taiga_1 | Applying users.0026_auto_20180514_1513... OK
taiga_1 | Applying users.0027_auto_20180610_2011... OK
taiga_1 | Applying userstorage.0001_initial... OK
taiga_1 | Applying userstorage.0002_fix_json_field_not_null... OK
taiga_1 | Applying userstorage.0003_json_to_jsonb... OK
taiga_1 | Applying userstories.0013_auto_20160722_1018... OK
taiga_1 | Applying userstories.0014_auto_20160928_0540... OK
taiga_1 | Applying userstories.0015_add_due_date... OK
taiga_1 | Applying userstories.0016_userstory_assigned_users... OK
taiga_1 | Applying userstories.0017_userstory_generated_from_task... OK
taiga_1 | Applying votes.0001_initial... OK
taiga_1 | Applying votes.0002_auto_20150805_1600... OK
taiga_1 | Applying webhooks.0001_initial... OK
taiga_1 | Applying webhooks.0002_webhook_name... OK
taiga_1 | Applying webhooks.0003_auto_20150122_1021... OK
taiga_1 | Applying webhooks.0004_auto_20150202_0834... OK
taiga_1 | Applying webhooks.0005_auto_20150505_1639... OK
taiga_1 | Applying webhooks.0006_json_to_jsonb... OK
taiga_1 | Applying wiki.0004_auto_20160928_0540... OK
taiga_1 | Applying wiki.0005_auto_20161201_1628... OK
taiga_1 | Trying import local.py settings...
taiga_1 | Installed 1 object(s) from 1 fixture(s)
taiga_1 | Trying import local.py settings...
taiga_1 | Installed 2 object(s) from 1 fixture(s)
taiga_1 | Trying import local.py settings...
taiga_1 | CommandError: No fixture named 'initial_role' found.
taiga_1 | Trying import local.py settings...
taiga_1 | processing file django.po in /usr/src/taiga-back/taiga/locale/de/LC_MESSAGES
taiga_1 | processing file django.po in /usr/src/taiga-back/taiga/locale/uk/LC_MESSAGES
taiga_1 | processing file django.po in /usr/src/taiga-back/taiga/locale/pl/LC_MESSAGES
taiga_1 | processing file django.po in /usr/src/taiga-back/taiga/locale/he/LC_MESSAGES
taiga_1 | processing file django.po in /usr/src/taiga-back/taiga/locale/fr/LC_MESSAGES
taiga_1 | processing file django.po in /usr/src/taiga-back/taiga/locale/en/LC_MESSAGES
taiga_1 | processing file django.po in /usr/src/taiga-back/taiga/locale/ja/LC_MESSAGES
taiga_1 | processing file django.po in /usr/src/taiga-back/taiga/locale/sv/LC_MESSAGES
taiga_1 | processing file django.po in /usr/src/taiga-back/taiga/locale/ru/LC_MESSAGES
taiga_1 | processing file django.po in /usr/src/taiga-back/taiga/locale/es/LC_MESSAGES
taiga_1 | processing file django.po in /usr/src/taiga-back/taiga/locale/ko/LC_MESSAGES
taiga_1 | processing file django.po in /usr/src/taiga-back/taiga/locale/eu/LC_MESSAGES
taiga_1 | processing file django.po in /usr/src/taiga-back/taiga/locale/it/LC_MESSAGES
taiga_1 | processing file django.po in /usr/src/taiga-back/taiga/locale/fi/LC_MESSAGES
taiga_1 | processing file django.po in /usr/src/taiga-back/taiga/locale/pt_BR/LC_MESSAGES
taiga_1 | processing file django.po in /usr/src/taiga-back/taiga/locale/tr/LC_MESSAGES
taiga_1 | processing file django.po in /usr/src/taiga-back/taiga/locale/zh-Hans/LC_MESSAGES
taiga_1 | processing file django.po in /usr/src/taiga-back/taiga/locale/nl/LC_MESSAGES
taiga_1 | processing file django.po in /usr/src/taiga-back/taiga/locale/ca/LC_MESSAGES
taiga_1 | processing file django.po in /usr/src/taiga-back/taiga/locale/fa/LC_MESSAGES
taiga_1 | processing file django.po in /usr/src/taiga-back/taiga/locale/zh-Hant/LC_MESSAGES
taiga_1 | processing file django.po in /usr/src/taiga-back/taiga/locale/nb/LC_MESSAGES
taiga_1 | + nginx -t
taiga_1 | nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
taiga_1 | nginx: configuration file /etc/nginx/nginx.conf test is successful
taiga_1 | + chown taiga:taiga /usr/src/taiga-back/media
taiga_1 | + exec supervisord -c /etc/supervisord.conf
taiga_1 | 2019-11-19 11:23:00,825 INFO Set uid to user 0 succeeded
taiga_1 | 2019-11-19 11:23:00,827 INFO supervisord started with pid 1
taiga_1 | 2019-11-19 11:23:01,829 INFO spawned: 'nginx' with pid 79
taiga_1 | 2019-11-19 11:23:01,830 INFO spawned: 'backend' with pid 80
taiga_1 | 2019-11-19 11:23:02,014 DEBG 'backend' stderr output:
taiga_1 | [2019-11-19 11:23:02 +0000] [80] [INFO] Starting gunicorn 19.9.0
taiga_1 |
taiga_1 | 2019-11-19 11:23:02,014 DEBG 'backend' stderr output:
taiga_1 | [2019-11-19 11:23:02 +0000] [80] [INFO] Listening at: http://127.0.0.1:8000 (80)
taiga_1 |
taiga_1 | 2019-11-19 11:23:02,014 DEBG 'backend' stderr output:
taiga_1 | [2019-11-19 11:23:02 +0000] [80] [INFO] Using worker: sync
taiga_1 |
taiga_1 | 2019-11-19 11:23:02,016 DEBG 'backend' stderr output:
taiga_1 | [2019-11-19 11:23:02 +0000] [91] [INFO] Booting worker with pid: 91
taiga_1 |
taiga_1 | 2019-11-19 11:23:02,061 DEBG 'backend' stderr output:
taiga_1 | [2019-11-19 11:23:02 +0000] [92] [INFO] Booting worker with pid: 92
taiga_1 |
taiga_1 | 2019-11-19 11:23:02,108 DEBG 'backend' stderr output:
taiga_1 | [2019-11-19 11:23:02 +0000] [94] [INFO] Booting worker with pid: 94
taiga_1 |
taiga_1 | 2019-11-19 11:23:02,166 DEBG 'backend' stderr output:
taiga_1 | [2019-11-19 11:23:02 +0000] [97] [INFO] Booting worker with pid: 97
taiga_1 |
taiga_1 | 2019-11-19 11:23:02,311 DEBG 'backend' stderr output:
taiga_1 | Trying import local.py settings...
taiga_1 |
taiga_1 | 2019-11-19 11:23:02,339 DEBG 'backend' stderr output:
taiga_1 | Trying import local.py settings...
taiga_1 |
taiga_1 | 2019-11-19 11:23:02,394 DEBG 'backend' stderr output:
taiga_1 | Trying import local.py settings...
taiga_1 |
taiga_1 | 2019-11-19 11:23:02,457 DEBG 'backend' stderr output:
taiga_1 | Trying import local.py settings...
taiga_1 |
taiga_1 | 2019-11-19 11:23:03,458 INFO success: nginx entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
taiga_1 | 2019-11-19 11:23:03,458 INFO success: backend entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
taiga_1 | 2019-11-19 11:23:08,937 DEBG 'nginx' stdout output:
taiga_1 | 172.23.0.1 - - [19/Nov/2019:11:23:08 +0000] "GET / HTTP/1.1" 200 91976 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36" "-"
taiga_1 |
taiga_1 | 2019-11-19 11:23:08,959 DEBG 'nginx' stdout output:
taiga_1 | 172.23.0.1 - - [19/Nov/2019:11:23:08 +0000] "GET /v-1569907893851/styles/theme-taiga.css HTTP/1.1" 200 379032 "http://localhost/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36" "-"
taiga_1 |
taiga_1 | 2019-11-19 11:23:08,960 DEBG 'nginx' stdout output:
taiga_1 | 172.23.0.1 - - [19/Nov/2019:11:23:08 +0000] "GET /v-1569907893851/svg/spinner-circle.svg HTTP/1.1" 200 2676 "http://localhost/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36" "-"
taiga_1 |
taiga_1 | 2019-11-19 11:23:08,961 DEBG 'nginx' stdout output:
taiga_1 | 172.23.0.1 - - [19/Nov/2019:11:23:08 +0000] "GET /v-1569907893851/js/libs.js HTTP/1.1" 200 1119550 "http://localhost/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36" "-"
taiga_1 |
taiga_1 | 2019-11-19 11:23:09,013 DEBG 'nginx' stdout output:
taiga_1 | 172.23.0.1 - - [19/Nov/2019:11:23:09 +0000] "GET /v-1569907893851/js/templates.js HTTP/1.1" 200 651813 "http://localhost/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36" "-"
taiga_1 |
taiga_1 | 2019-11-19 11:23:09,027 DEBG 'nginx' stdout output:
taiga_1 | 172.23.0.1 - - [19/Nov/2019:11:23:09 +0000] "GET /v-1569907893851/js/app-loader.js HTTP/1.1" 200 1945 "http://localhost/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36" "-"
taiga_1 |
taiga_1 | 2019-11-19 11:23:09,047 DEBG 'nginx' stdout output:
taiga_1 | 172.23.0.1 - - [19/Nov/2019:11:23:09 +0000] "GET /v-1569907893851/fonts/OpenSans-Regular.ttf HTTP/1.1" 200 217360 "http://localhost/v-1569907893851/styles/theme-taiga.css" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36" "-"
taiga_1 |
taiga_1 | 2019-11-19 11:23:09,152 DEBG 'nginx' stdout output:
taiga_1 | 172.23.0.1 - - [19/Nov/2019:11:23:09 +0000] "GET /conf.json HTTP/1.1" 200 422 "http://localhost/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36" "-"
taiga_1 |
taiga_1 | 2019-11-19 11:23:09,169 DEBG 'nginx' stdout output:
taiga_1 | 172.23.0.1 - - [19/Nov/2019:11:23:09 +0000] "GET /v-1569907893851/emojis/emojis-data.json HTTP/1.1" 200 91804 "http://localhost/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36" "-"
taiga_1 |
taiga_1 | 2019-11-19 11:23:09,170 DEBG 'nginx' stdout output:
taiga_1 | 172.23.0.1 - - [19/Nov/2019:11:23:09 +0000] "GET /v-1569907893851/js/app.js HTTP/1.1" 200 747931 "http://localhost/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36" "-"
taiga_1 |
taiga_1 | 2019-11-19 11:23:09,305 DEBG 'nginx' stdout output:
taiga_1 | 172.23.0.1 - - [19/Nov/2019:11:23:09 +0000] "GET /v-1569907893851/locales/taiga/locale-en.json HTTP/1.1" 200 74672 "http://localhost/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36" "-"
taiga_1 |
taiga_1 | 2019-11-19 11:23:09,320 DEBG 'nginx' stdout output:
taiga_1 | 172.23.0.1 - - [19/Nov/2019:11:23:09 +0000] "GET /v-1569907893851/images/notification-decoration.png HTTP/1.1" 200 10317 "http://localhost/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36" "-"
taiga_1 |
taiga_1 | 2019-11-19 11:23:09,342 DEBG 'nginx' stdout output:
taiga_1 | 172.23.0.1 - - [19/Nov/2019:11:23:09 +0000] "GET /v-1569907893851/fonts/OpenSans-Semibold.ttf HTTP/1.1" 200 221328 "http://localhost/v-1569907893851/styles/theme-taiga.css" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36" "-"
taiga_1 |
taiga_1 | 2019-11-19 11:23:09,411 DEBG 'nginx' stdout output:
taiga_1 | 172.23.0.1 - - [19/Nov/2019:11:23:09 +0000] "OPTIONS /api/v1/stats/discover HTTP/1.1" 200 0 "http://localhost/discover" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36" "-"
taiga_1 |
taiga_1 | 2019-11-19 11:23:09,411 DEBG 'nginx' stdout output:
taiga_1 | 172.23.0.1 - - [19/Nov/2019:11:23:09 +0000] "OPTIONS /api/v1/projects?discover_mode=true&order_by=-total_fans_last_week HTTP/1.1" 200 0 "http://localhost/discover" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36" "-"
taiga_1 |
taiga_1 | 2019-11-19 11:23:09,411 DEBG 'nginx' stdout output:
taiga_1 | 172.23.0.1 - - [19/Nov/2019:11:23:09 +0000] "OPTIONS /api/v1/projects?discover_mode=true&is_featured=true HTTP/1.1" 200 0 "http://localhost/discover" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36" "-"
taiga_1 | 172.23.0.1 - - [19/Nov/2019:11:23:09 +0000] "OPTIONS /api/v1/projects?discover_mode=true&order_by=-total_activity_last_week HTTP/1.1" 200 0 "http://localhost/discover" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36" "-"
taiga_1 |
taiga_1 | 2019-11-19 11:23:09,422 DEBG 'nginx' stdout output:
taiga_1 | 172.23.0.1 - - [19/Nov/2019:11:23:09 +0000] "GET /v-1569907893851/images/menu-vert.png HTTP/1.1" 200 9390 "http://localhost/v-1569907893851/styles/theme-taiga.css" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36" "-"
taiga_1 |
taiga_1 | 2019-11-19 11:23:09,424 DEBG 'nginx' stdout output:
taiga_1 | 172.23.0.1 - - [19/Nov/2019:11:23:09 +0000] "GET /v-1569907893851/images/discover.png HTTP/1.1" 200 8211 "http://localhost/v-1569907893851/styles/theme-taiga.css" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36" "-"
taiga_1 |
taiga_1 | 2019-11-19 11:23:09,459 DEBG 'nginx' stdout output:
taiga_1 | 172.23.0.1 - - [19/Nov/2019:11:23:09 +0000] "GET /v-1569907893851/fonts/OpenSans-Light.ttf HTTP/1.1" 200 222412 "http://localhost/v-1569907893851/styles/theme-taiga.css" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36" "-"
taiga_1 |
taiga_1 | 2019-11-19 11:23:09,499 DEBG 'nginx' stdout output:
taiga_1 | 172.23.0.1 - - [19/Nov/2019:11:23:09 +0000] "GET /api/v1/projects?discover_mode=true&order_by=-total_fans_last_week HTTP/1.1" 200 2 "http://localhost/discover" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36" "-"
taiga_1 |
taiga_1 | 2019-11-19 11:23:09,503 DEBG 'nginx' stdout output:
taiga_1 | 172.23.0.1 - - [19/Nov/2019:11:23:09 +0000] "GET /api/v1/projects?discover_mode=true&is_featured=true HTTP/1.1" 200 2 "http://localhost/discover" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36" "-"
taiga_1 |
taiga_1 | 2019-11-19 11:23:09,505 DEBG 'nginx' stdout output:
taiga_1 | 172.23.0.1 - - [19/Nov/2019:11:23:09 +0000] "GET /api/v1/projects?discover_mode=true&order_by=-total_activity_last_week HTTP/1.1" 200 2 "http://localhost/discover" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36" "-"
taiga_1 |
taiga_1 | 2019-11-19 11:23:09,523 DEBG 'nginx' stdout output:
taiga_1 | 172.23.0.1 - - [19/Nov/2019:11:23:09 +0000] "GET /v-1569907893851/images/favicon.png HTTP/1.1" 200 6979 "http://localhost/discover" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36" "-"
taiga_1 |
taiga_1 | 2019-11-19 11:23:09,602 DEBG 'nginx' stdout output:
taiga_1 | 172.23.0.1 - - [19/Nov/2019:11:23:09 +0000] "GET /api/v1/stats/discover HTTP/1.1" 200 26 "http://localhost/discover" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36" "-"
taiga_1 |
taiga_1 | 2019-11-19 11:23:11,583 DEBG 'nginx' stdout output:
taiga_1 | 172.23.0.1 - - [19/Nov/2019:11:23:11 +0000] "GET /v-1569907893851/images/bg.png HTTP/1.1" 200 101667 "http://localhost/v-1569907893851/styles/theme-taiga.css" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36" "-"
taiga_1 |
taiga_1 | 2019-11-19 11:23:16,286 DEBG 'nginx' stdout output:
taiga_1 | 172.23.0.1 - - [19/Nov/2019:11:23:16 +0000] "OPTIONS /api/v1/auth HTTP/1.1" 200 0 "http://localhost/login?next=%252Fdiscover" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36" "-"
taiga_1 |
taiga_1 | 2019-11-19 11:23:16,333 DEBG 'nginx' stdout output:
taiga_1 | 172.23.0.1 - - [19/Nov/2019:11:23:16 +0000] "POST /api/v1/auth HTTP/1.1" 200 734 "http://localhost/login?next=%252Fdiscover" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36" "-"
taiga_1 |
taiga_1 | 2019-11-19 11:23:16,342 DEBG 'nginx' stdout output:
taiga_1 | 172.23.0.1 - - [19/Nov/2019:11:23:16 +0000] "OPTIONS /api/v1/projects?member=5&order_by=user_order&slight=true HTTP/1.1" 200 0 "http://localhost/login?next=%252Fdiscover" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36" "-"
taiga_1 |
taiga_1 | 2019-11-19 11:23:16,360 DEBG 'nginx' stdout output:
taiga_1 | 172.23.0.1 - - [19/Nov/2019:11:23:16 +0000] "OPTIONS /api/v1/user-storage/joyride HTTP/1.1" 200 0 "http://localhost/discover" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36" "-"
taiga_1 |
taiga_1 | 2019-11-19 11:23:16,388 DEBG 'nginx' stdout output:
taiga_1 | 172.23.0.1 - - [19/Nov/2019:11:23:16 +0000] "GET /api/v1/projects?discover_mode=true&is_featured=true HTTP/1.1" 200 2 "http://localhost/discover" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36" "-"
taiga_1 |
taiga_1 | 2019-11-19 11:23:16,388 DEBG 'nginx' stdout output:
taiga_1 | 172.23.0.1 - - [19/Nov/2019:11:23:16 +0000] "GET /api/v1/projects?discover_mode=true&order_by=-total_fans_last_week HTTP/1.1" 200 2 "http://localhost/discover" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36" "-"
taiga_1 |
taiga_1 | 2019-11-19 11:23:16,389 DEBG 'nginx' stdout output:
taiga_1 | 172.23.0.1 - - [19/Nov/2019:11:23:16 +0000] "GET /api/v1/projects?discover_mode=true&order_by=-total_activity_last_week HTTP/1.1" 200 2 "http://localhost/discover" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36" "-"
taiga_1 |
taiga_1 | 2019-11-19 11:23:16,395 DEBG 'nginx' stdout output:
taiga_1 | 172.23.0.1 - - [19/Nov/2019:11:23:16 +0000] "OPTIONS /api/v1/web-notifications?only_unread=true&page=1 HTTP/1.1" 200 0 "http://localhost/discover" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36" "-"
taiga_1 |
taiga_1 | 2019-11-19 11:23:16,403 DEBG 'nginx' stdout output:
taiga_1 | 172.23.0.1 - - [19/Nov/2019:11:23:16 +0000] "GET /v-1569907893851/images/user-avatars/user-avatar-02.png HTTP/1.1" 200 1005 "http://localhost/discover" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36" "-"
taiga_1 |
taiga_1 | 2019-11-19 11:23:16,424 DEBG 'nginx' stdout output:
taiga_1 | 172.23.0.1 - - [19/Nov/2019:11:23:16 +0000] "PUT /api/v1/user-storage/joyride HTTP/1.1" 404 22 "http://localhost/discover" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36" "-"
taiga_1 |
taiga_1 | 2019-11-19 11:23:16,426 DEBG 'nginx' stdout output:
taiga_1 | 172.23.0.1 - - [19/Nov/2019:11:23:16 +0000] "GET /api/v1/web-notifications?only_unread=true&page=1 HTTP/1.1" 200 27 "http://localhost/discover" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36" "-"
taiga_1 |
taiga_1 | 2019-11-19 11:23:16,430 DEBG 'nginx' stdout output:
taiga_1 | 172.23.0.1 - - [19/Nov/2019:11:23:16 +0000] "GET /api/v1/projects?member=5&order_by=user_order&slight=true HTTP/1.1" 200 2 "http://localhost/discover" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36" "-"
taiga_1 |
taiga_1 | 2019-11-19 11:23:32,770 DEBG 'nginx' stdout output:
taiga_1 | 127.0.0.1 - - [19/Nov/2019:11:23:32 +0000] "GET / HTTP/1.1" 200 91976 "-" "curl/7.64.0" "-"
taiga_1 |
taiga_1 | 2019-11-19 11:24:33,007 DEBG 'nginx' stdout output:
taiga_1 | 127.0.0.1 - - [19/Nov/2019:11:24:33 +0000] "GET / HTTP/1.1" 200 91976 "-" "curl/7.64.0" "-"
taiga_1 |
Went onto http://localhost/login?next=%252Fdiscover and entered "admin" + "123123". And a result:
I've tried many tags. The last three, or four were tested. I did not enable email
I use a reverse proxy in order to expose service to the world. Can it be the problem?
I have apache in front of mine. I have docker map port 80 to 8080 (apache has 80.) When I login at https://HOSTNAME/login?next=%252Fdiscover
I get a wrong credentials message. Same thing happens when I try to login at http://LOCALADDRESS:8080/login?next=%252Fdiscover
which should be bypassing apache.
Not sure why but I was able to get it working. I double checked my docker-compose had the correct paths, and changed TAIGA_SCHEME=http
into TAIGA_SCHEME=https
in my .env file. My email is setup.
I have checked it locally as it is from the repository. But I have also an instance that is exposed via external nginx in the docker network, and it is working.
I did not change locally the TAIGA_SCHEME :slightly_smiling_face:
@Dzordzu I don't think so, that the reverse proxy should be a problem. I think that it is even recommended to use reverse proxy to have such features as SSL for example.
@cwmke Maybe if you have application visible at 8080, then you shoud try to set TAIGA_HOSTNAME=some-domain:8080
?
Hi! Is this still an issue?
I got it working so not an issue for me anymore.
Cool, then what about also the author @Dzordzu? :)
Still an issue
Hm. Strange. I've tried many different configurations and none of them worked
So the most standard way of doing it. So far:
Could you please write a little bit more about the setup? I will try to tink on it in the evening.
Actually, it's as simple as you think
127.0.0.1:7600 -> 80
(access is by server_name, nginx)127.0.0.1:7600:80
)make start &
EDIT: I've also tried this little fix with hostname. No luck
By reverse proxy you mean you have an additional nginx/apache instance that makes proxy_pass on the taiga container?
Yes
Can confirm, still an issue.
Used this #24 make start
script.
Database is up, checks look ok. Similar if not exact output as above.
Have to manually go to https://taiga.domain.example/login?next=%252Fdiscover in order to even get the login prompt. Once there, admin
+ 123123
doesn't work.. ompa lompas are at it again.
I hardly thing the proxy is the problem, but I do have one. external server triggers on hostname, redirects internally to a container.
.env
has the external taiga.domain.example
as it's hostname, if that matters.
Fu*** hell, yea changing schema works.. No idea why.. literally only thing I changed from the above comment, is this:
#TAIGA_SCHEME=http
TAIGA_SCHEME=https
For reference, here's my complete setup and steps:
(externally facing lighttpd2 or nginx, doesn't matter. vhost taiga.domain.example
-> internal-ip on your network with any port pointing towards 80
on the docker container.)
.env
looks like this:
# will not allow container to exit even if application exits
VERSION=4.2.14
DEBUG=true
# http settings domain, scheme
TAIGA_HOSTNAME=taiga.domain.example
#TAIGA_SCHEME=http
TAIGA_SCHEME=https
TAIGA_PLUGINS=slack
# general
TAIGA_SECRET_KEY=A_LONG_SECRET_KEY
TAIGA_DEFAULT_LOCALE=en
# Database settings
# To use an external database, simply update these and remove the postgres
# service from this docker-compose.yml file
TAIGA_DB_NAME=taigadb
TAIGA_DB_HOST=database
TAIGA_DB_USER=taiga
TAIGA_DB_PASSWORD=A_LONG_PASSWORD_FOR_DB_USER
# To use an external SMTP for emails, fill in these values:
# TAIGA_ENABLE_EMAIL: True
# TAIGA_EMAIL_FROM: no-reply@taiga.mycompany.net
# TAIGA_EMAIL_USE_TLS: True
# TAIGA_EMAIL_HOST: smtp.google.com
# TAIGA_EMAIL_PORT: 587
# TAIGA_EMAIL_USER: me@gmail.com
# TAIGA_EMAIL_PASS: super-secure-pass phrase thing!
# events
TAIGA_ENABLE_EVENTS=false
TAIGA_EVENTS_HOST=events
TAIGA_BROKER_URL=amqp://guest:guest@rabbit:5672
TAIGA_REDIS_URL=redis://redis:6379/0
Create/verify the db-user just to be sure.
CREATE USER taiga WITH PASSWORD 'A_LONG_PASSWORD_FOR_DB_USER';
CREATE DATABASE taigadb OWNER taiga;
Then changed docker-compose.yaml
to look something like this:
version: '2'
volumes:
# postgres:
media:
services:
taiga:
image: quay.io/riotkit/taiga:${VERSION}
environment:
POSTGRES_DB: ${TAIGA_DB_NAME}
POSTGRES_PASSWORD: ${TAIGA_DB_PASSWORD}
POSTGRES_USER: ${TAIGA_DB_USER}
extra_hosts:
- "database:172.16.0.1"
ports:
- 172.16.0.5:80:80
volumes:
# all data placed in volumes are kept between container updates/deletion/recreation
- media:/usr/src/taiga-back/media
env_file:
- .env
Where 172.16.0.5
is the machine that the docker container will run on. And 172.16.0.1
is another machine running the postgresql. This is probably not the issue, and using the normal yaml that pulls the postgresql
docker image should probably not change the outcome. But I leave it here for trail purposes.
Then, doing:
make start
and access the instance externally works perfectly.
@Torxed You can also directly set TAIGA_DB_HOST=172.16.0.1
instead of doing tricky thing with extra_hosts I think.
I will have a look on what is the TAIGA_SCHEME
doing, as it is a variable coming from the forked container.
It looks that TAIGA_SCHEMA is deciding on what is the URL address to static files, including uploaded media files.
MEDIA_URL = TAIGA_SCHEME + '://' + TAIGA_HOSTNAME + '/media/'
STATIC_URL = TAIGA_SCHEME + '://' + TAIGA_HOSTNAME + '/static/'
I don't know how exactly Django works, but I guess that those values are set at the Django startup without knowing about the user request, so those values are not dynamic and needs to be passed from outside.
Closing as it is explained and the issue was already resolved.
Issue
Default credentials fail
Possible issues
local.py seems to be unimported
Data
Something happened and our Oompa Loompas are working on it.