riotkit-org / docker-taiga

Production-ready docker container for Taiga https://taiga.io
https://quay.io/repository/riotkit/taiga?tab=tags
GNU General Public License v3.0
55 stars 8 forks source link

Unable to access Taiga console #25

Closed suren2306 closed 4 years ago

suren2306 commented 4 years ago

I cloned the repo updated the two things in .env file TAIGA_HOSTNAME=taiga.mylaptop and TAIGA_SECRET_KEY=MySecretKey. Then started the container using themake start command. It automatically downloads the docker image and starting the container. But when I try to access the Taiga web console, I am seeing an error page "Something happened and our Oompa Loompas are working on it". I doubt it got stuck at Trying import local.py settings...

Status: Downloaded newer image for quay.io/riotkit/taiga:4.2.14
Creating taiga_postgres_1 ... done
Creating taiga_taiga_1    ... done
Attaching to taiga_postgres_1, taiga_taiga_1
postgres_1  | 
postgres_1  | PostgreSQL Database directory appears to contain a database; Skipping initialization
postgres_1  | 
taiga_1     |  >> Setting user id and group id
taiga_1     | usermod: invalid user ID ''
postgres_1  | 2019-12-18 05:42:17.142 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
taiga_1     | groupmod: invalid group ID ''
taiga_1     |  >> Correcting permissions
postgres_1  | 2019-12-18 05:42:17.143 UTC [1] LOG:  listening on IPv4 address "0.0.0.0", port 5432
postgres_1  | 2019-12-18 05:42:17.143 UTC [1] LOG:  listening on IPv6 address "::", port 5432
postgres_1  | 2019-12-18 05:42:17.343 UTC [1] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
postgres_1  | 2019-12-18 05:42:17.959 UTC [25] LOG:  database system was shut down at 2019-12-18 05:39:28 UTC
postgres_1  | 2019-12-18 05:42:18.007 UTC [1] LOG:  database system is ready to accept connections
taiga_1     |  >> Preparing configuration files...
taiga_1     |  HINT: Add your files into /etc/nginx/extensions.d to include them in NGINX configuration
taiga_1     |  >> Preparing a database migration
taiga_1     | Running database check
taiga_1     | Connecting to database:
taiga_1     | dbname='taigadb' user='postgres' host='postgres' password='password'
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-12-18 05:44:58,237 INFO Set uid to user 0 succeeded
taiga_1     | 2019-12-18 05:44:58,241 INFO supervisord started with pid 1
taiga_1     | 2019-12-18 05:44:59,245 INFO spawned: 'nginx' with pid 33
taiga_1     | 2019-12-18 05:44:59,249 INFO spawned: 'backend' with pid 34
taiga_1     | 2019-12-18 05:44:59,524 DEBG 'backend' stderr output:
taiga_1     | [2019-12-18 05:44:59 +0000] [34] [INFO] Starting gunicorn 19.9.0
taiga_1     | 
taiga_1     | 2019-12-18 05:44:59,524 DEBG 'backend' stderr output:
taiga_1     | [2019-12-18 05:44:59 +0000] [34] [INFO] Listening at: http://127.0.0.1:8000 (34)
taiga_1     | 
taiga_1     | 2019-12-18 05:44:59,525 DEBG 'backend' stderr output:
taiga_1     | [2019-12-18 05:44:59 +0000] [34] [INFO] Using worker: sync
taiga_1     | 
taiga_1     | 2019-12-18 05:44:59,528 DEBG 'backend' stderr output:
taiga_1     | [2019-12-18 05:44:59 +0000] [41] [INFO] Booting worker with pid: 41
taiga_1     | 
taiga_1     | 2019-12-18 05:44:59,573 DEBG 'backend' stderr output:
taiga_1     | [2019-12-18 05:44:59 +0000] [42] [INFO] Booting worker with pid: 42
taiga_1     | 
taiga_1     | 2019-12-18 05:44:59,672 DEBG 'backend' stderr output:
taiga_1     | [2019-12-18 05:44:59 +0000] [45] [INFO] Booting worker with pid: 45
taiga_1     | 
taiga_1     | 2019-12-18 05:44:59,678 DEBG 'backend' stderr output:
taiga_1     | [2019-12-18 05:44:59 +0000] [46] [INFO] Booting worker with pid: 46
taiga_1     | 
taiga_1     | 2019-12-18 05:45:00,125 DEBG 'backend' stderr output:
taiga_1     | Trying import local.py settings...
taiga_1     | 
taiga_1     | 2019-12-18 05:45:00,180 DEBG 'backend' stderr output:
taiga_1     | Trying import local.py settings...
taiga_1     | 
taiga_1     | 2019-12-18 05:45:00,356 DEBG 'backend' stderr output:
taiga_1     | Trying import local.py settings...
taiga_1     | 
taiga_1     | 2019-12-18 05:45:00,356 INFO success: nginx entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
taiga_1     | 2019-12-18 05:45:00,357 INFO success: backend entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
taiga_1     | 2019-12-18 05:45:00,363 DEBG 'backend' stderr output:
taiga_1     | Trying import local.py settings...
taiga_1     | 
taiga_1     | 2019-12-18 05:45:20,874 DEBG 'nginx' stdout output:
taiga_1     | 127.0.0.1 - - [18/Dec/2019:05:45:20 +0000] "GET / HTTP/1.1" 200 91976 "-" "curl/7.64.0" "-"
taiga_1     | 
taiga_1     | 2019-12-18 05:46:15,747 DEBG 'nginx' stdout output:
taiga_1     | 172.16.12.70 - - [18/Dec/2019:05:46:15 +0000] "GET / HTTP/1.1" 200 91976 "-" "Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:71.0) Gecko/20100101 Firefox/71.0" "-"
taiga_1     | 
taiga_1     | 2019-12-18 05:46:15,900 DEBG 'nginx' stdout output:
taiga_1     | 172.16.12.70 - - [18/Dec/2019:05:46:15 +0000] "GET /v-1569907893851/styles/theme-taiga.css HTTP/1.1" 200 379032 "http://172.16.12.70/" "Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:71.0) Gecko/20100101 Firefox/71.0" "-"
taiga_1     | 
taiga_1     | 2019-12-18 05:46:15,902 DEBG 'nginx' stdout output:
taiga_1     | 172.16.12.70 - - [18/Dec/2019:05:46:15 +0000] "GET /v-1569907893851/js/libs.js HTTP/1.1" 200 1119550 "http://172.16.12.70/" "Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:71.0) Gecko/20100101 Firefox/71.0" "-"
taiga_1     | 
taiga_1     | 2019-12-18 05:46:15,903 DEBG 'nginx' stdout output:
taiga_1     | 172.16.12.70 - - [18/Dec/2019:05:46:15 +0000] "GET /v-1569907893851/svg/spinner-circle.svg HTTP/1.1" 200 2676 "http://172.16.12.70/" "Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:71.0) Gecko/20100101 Firefox/71.0" "-"
taiga_1     | 
taiga_1     | 2019-12-18 05:46:15,905 DEBG 'nginx' stdout output:
taiga_1     | 172.16.12.70 - - [18/Dec/2019:05:46:15 +0000] "GET /v-1569907893851/js/templates.js HTTP/1.1" 200 651813 "http://172.16.12.70/" "Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:71.0) Gecko/20100101 Firefox/71.0" "-"
taiga_1     | 
taiga_1     | 2019-12-18 05:46:15,906 DEBG 'nginx' stdout output:
taiga_1     | 172.16.12.70 - - [18/Dec/2019:05:46:15 +0000] "GET /v-1569907893851/js/app-loader.js HTTP/1.1" 200 1945 "http://172.16.12.70/" "Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:71.0) Gecko/20100101 Firefox/71.0" "-"
taiga_1     | 
taiga_1     | 2019-12-18 05:46:16,362 DEBG 'nginx' stdout output:
taiga_1     | 172.16.12.70 - - [18/Dec/2019:05:46:16 +0000] "GET /conf.json HTTP/1.1" 200 421 "http://172.16.12.70/" "Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:71.0) Gecko/20100101 Firefox/71.0" "-"
taiga_1     | 
taiga_1     | 2019-12-18 05:46:16,378 DEBG 'nginx' stdout output:
taiga_1     | 172.16.12.70 - - [18/Dec/2019:05:46:16 +0000] "GET /v-1569907893851/fonts/OpenSans-Regular.ttf HTTP/1.1" 200 217360 "http://172.16.12.70/v-1569907893851/styles/theme-taiga.css" "Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:71.0) Gecko/20100101 Firefox/71.0" "-"
taiga_1     | 
taiga_1     | 2019-12-18 05:46:16,384 DEBG 'nginx' stdout output:
taiga_1     | 172.16.12.70 - - [18/Dec/2019:05:46:16 +0000] "GET /v-1569907893851/images/favicon.png HTTP/1.1" 200 6979 "-" "Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:71.0) Gecko/20100101 Firefox/71.0" "-"
taiga_1     | 
taiga_1     | 2019-12-18 05:46:16,417 DEBG 'nginx' stdout output:
taiga_1     | 172.16.12.70 - - [18/Dec/2019:05:46:16 +0000] "GET /v-1569907893851/emojis/emojis-data.json HTTP/1.1" 200 91804 "http://172.16.12.70/" "Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:71.0) Gecko/20100101 Firefox/71.0" "-"
taiga_1     | 
taiga_1     | 2019-12-18 05:46:16,417 DEBG 'nginx' stdout output:
taiga_1     | 172.16.12.70 - - [18/Dec/2019:05:46:16 +0000] "GET /v-1569907893851/js/app.js HTTP/1.1" 200 747931 "http://172.16.12.70/" "Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:71.0) Gecko/20100101 Firefox/71.0" "-"
taiga_1     | 
taiga_1     | 2019-12-18 05:46:16,716 DEBG 'nginx' stdout output:
taiga_1     | 172.16.12.70 - - [18/Dec/2019:05:46:16 +0000] "GET /v-1569907893851/locales/taiga/locale-en.json HTTP/1.1" 200 74672 "http://172.16.12.70/" "Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:71.0) Gecko/20100101 Firefox/71.0" "-"
taiga_1     | 
taiga_1     | 2019-12-18 05:46:16,721 DEBG 'nginx' stdout output:
taiga_1     | 172.16.12.70 - - [18/Dec/2019:05:46:16 +0000] "GET /v-1569907893851/images/notification-decoration.png HTTP/1.1" 200 10317 "http://172.16.12.70/" "Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:71.0) Gecko/20100101 Firefox/71.0" "-"
taiga_1     | 
taiga_1     | 2019-12-18 05:46:16,804 DEBG 'nginx' stdout output:
taiga_1     | 172.16.12.70 - - [18/Dec/2019:05:46:16 +0000] "GET /v-1569907893851/fonts/OpenSans-Semibold.ttf HTTP/1.1" 200 221328 "http://172.16.12.70/v-1569907893851/styles/theme-taiga.css" "Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:71.0) Gecko/20100101 Firefox/71.0" "-"
taiga_1     | 
taiga_1     | 2019-12-18 05:46:16,983 DEBG 'nginx' stdout output:
taiga_1     | 172.16.12.70 - - [18/Dec/2019:05:46:16 +0000] "GET /v-1569907893851/images/menu-vert.png HTTP/1.1" 200 9390 "http://172.16.12.70/v-1569907893851/styles/theme-taiga.css" "Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:71.0) Gecko/20100101 Firefox/71.0" "-"
taiga_1     | 
taiga_1     | 2019-12-18 05:46:16,984 DEBG 'nginx' stdout output:
taiga_1     | 172.16.12.70 - - [18/Dec/2019:05:46:16 +0000] "GET /v-1569907893851/images/discover.png HTTP/1.1" 200 8211 "http://172.16.12.70/v-1569907893851/styles/theme-taiga.css" "Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:71.0) Gecko/20100101 Firefox/71.0" "-"
taiga_1     | 
taiga_1     | 2019-12-18 05:46:16,989 DEBG 'nginx' stdout output:
taiga_1     | 172.16.12.70 - - [18/Dec/2019:05:46:16 +0000] "GET /v-1569907893851/fonts/OpenSans-Light.ttf HTTP/1.1" 200 222412 "http://172.16.12.70/v-1569907893851/styles/theme-taiga.css" "Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:71.0) Gecko/20100101 Firefox/71.0" "-"
taiga_1     | 
taiga_1     | 2019-12-18 05:46:17,077 DEBG 'nginx' stdout output:
taiga_1     | 172.16.12.70 - - [18/Dec/2019:05:46:17 +0000] "GET /v-1569907893851/svg/logo.svg HTTP/1.1" 200 1548 "http://172.16.12.70/discover" "Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:71.0) Gecko/20100101 Firefox/71.0" "-"
taiga_1     | 
taiga_1     | 2019-12-18 05:46:17,082 DEBG 'nginx' stdout output:
taiga_1     | 172.16.12.70 - - [18/Dec/2019:05:46:17 +0000] "GET /v-1569907893851/images/invitation_bg.jpg HTTP/1.1" 200 188107 "http://172.16.12.70/v-1569907893851/styles/theme-taiga.css" "Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:71.0) Gecko/20100101 Firefox/71.0" "-"
taiga_1     | 
taiga_1     | 2019-12-18 05:46:21,387 DEBG 'nginx' stdout output:
taiga_1     | 127.0.0.1 - - [18/Dec/2019:05:46:21 +0000] "GET / HTTP/1.1" 200 91976 "-" "curl/7.64.0" "-"
blackandred commented 4 years ago

It seems that maybe the frontend cannot connect with backend.

There is an error:

taiga_1     | usermod: invalid user ID ''
taiga_1     | groupmod: invalid group ID ''

I will check this.

suren2306 commented 4 years ago

I accessed the server using the IP address and got the error. Made a localhost entry and accessed using the DNS name, it worked without any issues.

blackandred commented 4 years ago

That's a good hint. On our side we have to check if thats a problem with the built-in NGINX in container or with Taiga itself.

blackandred commented 4 years ago

The issue was probably resolved, please take a look at latest testing release https://github.com/riotkit-org/docker-taiga/releases/tag/1.2-RC1

blackandred commented 4 years ago

I will reopen the issue if its still a problem.