taiga-back newer installation

568 views
Skip to first unread message

Greg

unread,
Jul 1, 2015, 3:01:06 PM7/1/15
to tai...@googlegroups.com
I've been trying to upgrade my older version of taiga, even with the Xavi's help here in the group, nothing working.

I decided to make another ambient to test the taiga-scripts, and I followed the tutorial exactly as required, but got this error when "python manage.py runserver" was called:

root@taiga:/etc/mail# su - taiga
taiga@taiga:~$ cd taiga-back/
taiga@taiga:~/taiga-back$ workon taiga
(taiga)taiga@taiga:~/taiga-back$ python manage.py runserver
Trying import local.py settings...
Traceback (most recent call last):
  File "/home/taiga/.virtualenvs/taiga/local/lib/python3.4/site-packages/django/apps/config.py", line 118, in create
    cls = getattr(mod, cls_name)
AttributeError: 'module' object has no attribute 'api'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/taiga/taiga-back/taiga/base/api/settings.py", line 177, in import_from_string
    module = importlib.import_module(module_path)
  File "/home/taiga/.virtualenvs/taiga/lib/python3.4/importlib/__init__.py", line 109, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 2231, in _gcd_import
  File "<frozen importlib._bootstrap>", line 2214, in _find_and_load
  File "<frozen importlib._bootstrap>", line 2189, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
  File "<frozen importlib._bootstrap>", line 2231, in _gcd_import
  File "<frozen importlib._bootstrap>", line 2214, in _find_and_load
  File "<frozen importlib._bootstrap>", line 2201, in _find_and_load_unlocked
ImportError: No module named 'rest_framework'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "manage.py", line 10, in <module>
    execute_from_command_line(sys.argv)
  File "/home/taiga/.virtualenvs/taiga/local/lib/python3.4/site-packages/django/core/management/__init__.py", line 385, in execute_from_command_line
    utility.execute()
  File "/home/taiga/.virtualenvs/taiga/local/lib/python3.4/site-packages/django/core/management/__init__.py", line 354, in execute
    django.setup()
  File "/home/taiga/.virtualenvs/taiga/local/lib/python3.4/site-packages/django/__init__.py", line 21, in setup
    apps.populate(settings.INSTALLED_APPS)
  File "/home/taiga/.virtualenvs/taiga/local/lib/python3.4/site-packages/django/apps/registry.py", line 85, in populate
    app_config = AppConfig.create(entry)
  File "/home/taiga/.virtualenvs/taiga/local/lib/python3.4/site-packages/django/apps/config.py", line 123, in create
    import_module(entry)
  File "/home/taiga/.virtualenvs/taiga/lib/python3.4/importlib/__init__.py", line 109, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 2231, in _gcd_import
  File "<frozen importlib._bootstrap>", line 2214, in _find_and_load
  File "<frozen importlib._bootstrap>", line 2203, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
  File "<frozen importlib._bootstrap>", line 1129, in _exec
  File "<frozen importlib._bootstrap>", line 1448, in exec_module
  File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
  File "/home/taiga/taiga-back/taiga/base/api/__init__.py", line 29, in <module>
    from .viewsets import ModelListViewSet
  File "/home/taiga/taiga-back/taiga/base/api/viewsets.py", line 24, in <module>
    from . import views
  File "/home/taiga/taiga-back/taiga/base/api/views.py", line 109, in <module>
    class APIView(View):
  File "/home/taiga/taiga-back/taiga/base/api/views.py", line 111, in APIView
    renderer_classes = api_settings.DEFAULT_RENDERER_CLASSES
  File "/home/taiga/taiga-back/taiga/base/api/settings.py", line 213, in __getattr__
    val = perform_import(val, attr)
  File "/home/taiga/taiga-back/taiga/base/api/settings.py", line 165, in perform_import
    return [import_from_string(item, setting_name) for item in val]
  File "/home/taiga/taiga-back/taiga/base/api/settings.py", line 165, in <listcomp>
    return [import_from_string(item, setting_name) for item in val]
  File "/home/taiga/taiga-back/taiga/base/api/settings.py", line 181, in import_from_string
    raise ImportError(msg)
ImportError: Could not import 'rest_framework.renderers.JSONRenderer' for API setting 'DEFAULT_RENDERER_CLASSES'. ImportError: No module named 'rest_framework'.


What could be happening?

Thank you!

David Barragán

unread,
Jul 1, 2015, 3:37:45 PM7/1/15
to Greg, tai...@googlegroups.com
You are trying to import "rest_framework.renderers.JSONRenderer" in some place. We remove rest_framework dependencie some releases ago.

Try this to show the repo version you are using:

su - taiga
cd taiga-back
git describe --tags

The latest is 1.8.0-18-g0e39653

If you don't have 1.8.0-x, try to update the repository

git pull



---

 
David Barragán Merino  
Engineer

www.kaleidos.net/FFF8E7

--
You received this message because you are subscribed to the Google Groups "taigaio" group.
To unsubscribe from this group and stop receiving emails from it, send an email to taigaio+u...@googlegroups.com.
To post to this group, send email to tai...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/taigaio/CAP10_giE9FNtgvEOHjth6%3DXujA47cZZ7EgFCVKrLPnsNPEGYxQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Greg

unread,
Jul 1, 2015, 4:46:06 PM7/1/15
to tai...@googlegroups.com
David,

(taiga)taiga@taiga:~/taiga-back$ git describe --tags
1.8.0-18-g0e39653

I followed step by step without changing ANYTHING!
I used this link: http://taigaio.github.io/taiga-doc/dist/setup-production.html#faq-maintain-update

Thank you.

David Barragán

unread,
Jul 1, 2015, 5:50:36 PM7/1/15
to Greg, tai...@googlegroups.com
Ok, don't worry ;-)


1. Show me the result of this commands:

(in ~/taiga-back)

find . -name "*.pyc" -exec rm -rf {} \;
grep rest_framework -rn taiga
grep rest_framework -rn settings


2. -> Are you using some taiga-contrib plugin? (taiga-contrib-slack, taiga-contrib-hall, taiga-contrib-hipchat, taiga-contrib-github-auth...)

pip search taiga-contrib-*




---

 
David Barragán Merino  
Engineer

www.kaleidos.net/FFF8E7

Greg

unread,
Jul 1, 2015, 6:07:54 PM7/1/15
to David Barragán, tai...@googlegroups.com
David,

This is the output:

taiga@taiga:~/taiga-back$ find . -name "*.pyc" -exec rm -rf {} \;

taiga@taiga:~/taiga-back$ grep rest_framework -rn taiga
taiga/base/routers.py:219:        Note that lookup_prefix is not used directly inside REST rest_framework

taiga@taiga:~/taiga-back$ grep rest_framework -rn settings
settings/local.py:37:    "rest_framework.renderers.JSONRenderer",

I'm not using any plugin.

taiga@taiga:~/taiga-back$ pip search taiga-contrib-*
taiga-contrib-ldap-auth   - The Taiga plugin for ldap authentication
taiga-contrib-github-auth - The Taiga plugin for github authentication
taiga-contrib-hipchat     - The Taiga plugin for HipChat integration
taiga-contrib-gogs        - The Taiga plugin for gogs integration
taiga-contrib-slack       - The Taiga plugin for slack integration
taiga-contrib-hall        - The Taiga plugin for hall integration

David Barragán

unread,
Jul 1, 2015, 6:16:07 PM7/1/15
to Greg, tai...@googlegroups.com
Ok, we find the error.

Edit the file "settings/local.py" and change in line 37

    "rest_framework.renderers.JSONRenderer",

for

    "taiga.base.api.renderers.JSONRenderer",    


and problem solved.


But anyway I would like to see the contents of that file

---

 
David Barragán Merino  
Engineer

www.kaleidos.net/FFF8E7

Greg

unread,
Jul 1, 2015, 6:21:12 PM7/1/15
to David Barragán, tai...@googlegroups.com
Ok, David,

Changed:

REST_FRAMEWORK["DEFAULT_RENDERER_CLASSES"] = (
        "taiga.base.api.renderers.JSONRenderer",
)

But got this errors:

(taiga)taiga@taiga:~/taiga-back$ python manage.py sample_data

Trying import local.py settings...
Traceback (most recent call last):
  File "/home/taiga/.virtualenvs/taiga/local/lib/python3.4/site-packages/django/db/backends/utils.py", line 65, in execute
    return self.cursor.execute(sql, params)
psycopg2.IntegrityError: duplicate key value violates unique constraint "users_user_email_2b1a5c194f509b11_uniq"
DETAIL:  Key (email)=(user6532909...@taigaio.demo) already exists.


The above exception was the direct cause of the following exception:


Traceback (most recent call last):
  File "manage.py", line 10, in <module>
    execute_from_command_line(sys.argv)
  File "/home/taiga/.virtualenvs/taiga/local/lib/python3.4/site-packages/django/core/management/__init__.py", line 385, in execute_from_command_line
    utility.execute()
  File "/home/taiga/.virtualenvs/taiga/local/lib/python3.4/site-packages/django/core/management/__init__.py", line 377, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/home/taiga/.virtualenvs/taiga/local/lib/python3.4/site-packages/django/core/management/base.py", line 288, in run_from_argv
    self.execute(*args, **options.__dict__)
  File "/home/taiga/.virtualenvs/taiga/local/lib/python3.4/site-packages/django/core/management/base.py", line 338, in execute
    output = self.handle(*args, **options)
  File "/home/taiga/.virtualenvs/taiga/local/lib/python3.4/site-packages/django/db/transaction.py", line 394, in inner
    return func(*args, **kwargs)
  File "/home/taiga/taiga-back/taiga/projects/management/commands/sample_data.py", line 118, in handle
    self.users.append(self.create_user(counter=x))
  File "/home/taiga/taiga-back/taiga/projects/management/commands/sample_data.py", line 438, in create_user
    color=self.sd.choice(COLOR_CHOICES))
  File "/home/taiga/.virtualenvs/taiga/local/lib/python3.4/site-packages/django/db/models/manager.py", line 92, in manager_method
    return getattr(self.get_queryset(), name)(*args, **kwargs)
  File "/home/taiga/.virtualenvs/taiga/local/lib/python3.4/site-packages/django/db/models/query.py", line 372, in create
    obj.save(force_insert=True, using=self.db)
  File "/home/taiga/taiga-back/taiga/users/models.py", line 162, in save
    super().save(*args, **kwargs)
  File "/home/taiga/.virtualenvs/taiga/local/lib/python3.4/site-packages/django/db/models/base.py", line 589, in save
    force_update=force_update, update_fields=update_fields)
  File "/home/taiga/.virtualenvs/taiga/local/lib/python3.4/site-packages/django/db/models/base.py", line 617, in save_base
    updated = self._save_table(raw, cls, force_insert, force_update, using, update_fields)
  File "/home/taiga/.virtualenvs/taiga/local/lib/python3.4/site-packages/django/db/models/base.py", line 698, in _save_table
    result = self._do_insert(cls._base_manager, using, fields, update_pk, raw)
  File "/home/taiga/.virtualenvs/taiga/local/lib/python3.4/site-packages/django/db/models/base.py", line 731, in _do_insert
    using=using, raw=raw)
  File "/home/taiga/.virtualenvs/taiga/local/lib/python3.4/site-packages/django/db/models/manager.py", line 92, in manager_method
    return getattr(self.get_queryset(), name)(*args, **kwargs)
  File "/home/taiga/.virtualenvs/taiga/local/lib/python3.4/site-packages/django/db/models/query.py", line 921, in _insert
    return query.get_compiler(using=using).execute_sql(return_id)
  File "/home/taiga/.virtualenvs/taiga/local/lib/python3.4/site-packages/django/db/models/sql/compiler.py", line 921, in execute_sql
    cursor.execute(sql, params)
  File "/home/taiga/.virtualenvs/taiga/local/lib/python3.4/site-packages/django/db/backends/utils.py", line 65, in execute
    return self.cursor.execute(sql, params)
  File "/home/taiga/.virtualenvs/taiga/local/lib/python3.4/site-packages/django/db/utils.py", line 94, in __exit__
    six.reraise(dj_exc_type, dj_exc_value, traceback)
  File "/home/taiga/.virtualenvs/taiga/local/lib/python3.4/site-packages/django/utils/six.py", line 658, in reraise
    raise value.with_traceback(tb)
  File "/home/taiga/.virtualenvs/taiga/local/lib/python3.4/site-packages/django/db/backends/utils.py", line 65, in execute
    return self.cursor.execute(sql, params)
django.db.utils.IntegrityError: duplicate key value violates unique constraint "users_user_email_2b1a5c194f509b11_uniq"
DETAIL:  Key (email)=(user6532909...@taigaio.demo) already exists.

My local.py file:

(taiga)taiga@taiga:~/taiga-back$ cat settings/local.py
from .common import *

MEDIA_URL = "http://taiga.seg.com.br/media/"
STATIC_URL = "http://taiga.seg.com.br/static/"
ADMIN_MEDIA_PREFIX = "http://taiga.seg.com.br/static/admin/"

# This should change if you want generate urls in emails
# for external dns.
SITES["front"]["domain"] = "taiga.seg.com.br"

#SECRET_KEY = "theveryultratopsecretkey"

DEBUG = False
TEMPLATE_DEBUG = False
PUBLIC_REGISTER_ENABLED = True

#DEFAULT_FROM_EMAIL = "no-r...@example.com"
#SERVER_EMAIL = DEFAULT_FROM_EMAIL

EMAIL_BACKEND = "django.core.mail.backends.smtp.EmailBackend"

# Uncomment and populate with proper connection parameters
# for enable email sending.
#EMAIL_BACKEND = "django.core.mail.backends.smtp.EmailBackend"
#EMAIL_USE_TLS = False
#EMAIL_HOST = "localhost"
#EMAIL_HOST_USER = ""
#EMAIL_HOST_PASSWORD = ""
#EMAIL_PORT = 25

# Uncomment and populate with proper connection parameters
# for enable github login/singin.
#GITHUB_API_CLIENT_ID = "yourgithubclientid"
#GITHUB_API_CLIENT_SECRET = "yourgithubclientsecret"

REST_FRAMEWORK["DEFAULT_RENDERER_CLASSES"] = (
        "taiga.base.api.renderers.JSONRenderer",
)

Thank you!

David Barragán

unread,
Jul 1, 2015, 6:37:41 PM7/1/15
to Greg, tai...@googlegroups.com
You can remove 

REST_FRAMEWORK["DEFAULT_RENDERER_CLASSES"] = (
        "taiga.base.api.renderers.JSONRenderer",
)

because is not necessary.

And the command  python manage.py sample_data is only for generate sample data the first time.

If you want to execute it, you have to delete the database, and lose all your data, and create a new one. So you haver to do this:

#-> Remove taiga DB

dropdb taiga 

#-> Create taiga DB

createdb taiga

#-> Create db structure

python manage.py migrate 

#-> Load initial user (admin/123123) 

python manage.py loaddata initial_user --traceback 

#-> Load initial project_templates (scrum + kamban)

python manage.py loaddata initial_project_templates --traceback 

#-> Generate sample data

python manage.py sample_data --traceback

#-> Rebuilding timeline

python manage.py rebuild_timeline --purge


or run the shell script with all these steps


sh ./regenerate.sh 


---

 
David Barragán Merino  
Engineer

www.kaleidos.net/FFF8E7

Greg

unread,
Jul 2, 2015, 11:24:14 AM7/2/15
to David Barragán, tai...@googlegroups.com
David,

I used this checklist months ago for an environment migration change:

Production Server:

$ pg_dump taiga > /tmp/taiga
$ tar cvf /tmp/media.tar /home/taiga/taiga-back/media/


New Server:

$ dropdb taiga
$ createdb -O taiga taiga
$ psql taiga < /tmp/taiga
$ python manage.py migrate
$ tar -C media.tar /home/taiga/taiga-back
$ workon taiga ( this is necessary? )
$ cd taiga-back


I wonder if I can use it again, this consistent?

Thanks!


David Barragán

unread,
Jul 2, 2015, 11:37:52 AM7/2/15
to Greg, tai...@googlegroups.com
Only one correction

$ pg_dump taiga > /tmp/taiga.sql

$ tar cvf /tmp/media.tar /home/taiga/taiga-back/media/


New Server:

$ cd /home/taiga/taiga-back
$ dropdb taiga
$ createdb -O taiga taiga
$ psql taiga < /tmp/taiga.sql
$ tar -C /tmp/media.tar /home/taiga/taiga-back
$ workon taiga 
$ python manage.py migrate


--

Greg

unread,
Jul 2, 2015, 12:05:32 PM7/2/15
to David Barragán, tai...@googlegroups.com
David,

thank you for your time.

I will make the change today and send the feedback.

David Barragán

unread,
Jul 2, 2015, 12:15:05 PM7/2/15
to Greg, tai...@googlegroups.com
Ok, you are welcome. :-)

Greg

unread,
Jul 2, 2015, 3:56:33 PM7/2/15
to David Barragán, tai...@googlegroups.com
Hi David,

I implemented the changes and got these messages:

importing the .sql dump:

WARNING:  no privileges could be revoked for "public"
REVOKE
WARNING:  no privileges could be revoked for "public"
REVOKE
WARNING:  no privileges were granted for "public"
GRANT
WARNING:  no privileges were granted for "public"
GRANT


after database importing and media folder moved, script manage was
 executed:

(taiga)taiga@taiga:~/taiga-back$ python manage.py migrate
Trying import local.py settings...
Operations to perform:
  Synchronize unmigrated apps: raven_compat, sr, _humanize, front, searches, django_transactional_cleanup, sitemaps, export_import, django_jinja
  Apply all migrations: gitlab, contenttypes, votes, easy_thumbnails, djmail, notifications, admin, github, issues, users, attachments, wiki, feedback, milestones, userstories, webhooks, auth, bitbucket, sessions, custom_attributes, history, projects, userstorage, tasks, timeline, references
Synchronizing apps without migrations:
  Creating tables...
  Installing custom SQL...
  Installing indexes...
Running migrations:
  Applying attachments.0004_auto_20150508_1141... OK
  Applying custom_attributes.0005_auto_20150505_1639... OK
  Applying djmail.0001_initial... FAKED
  Applying history.0008_auto_20150508_1028... OK
  Applying issues.0005_auto_20150623_1923... OK
  Applying projects.0020_membership_user_order... OK
  Applying projects.0021_auto_20150504_1524... OK
  Applying tasks.0006_auto_20150623_1923... OK
  Applying tasks.0007_auto_20150629_1556... OK
  Applying users.0009_auto_20150326_1241... OK
  Applying users.0010_auto_20150414_0936... OK
  Applying timeline.0002_auto_20150327_1056... OK
  Applying timeline.0003_auto_20150410_0829... OK
  Applying timeline.0004_auto_20150603_1312... OK
  Applying users.0011_user_theme... OK
  Applying webhooks.0005_auto_20150505_1639... OK


I'm trying to access Taiga, but when I put my user and password show me the Oompa Loompa error, without any message important.

At the log files I have this messages:

root@taiga:/home/taiga/logs# cat gunicorn.stderr.log
[2015-07-02 16:07:24 -0300] [772] [INFO] Handling signal: term
Trying import local.py settings...
Trying import local.py settings...
Trying import local.py settings...
[2015-07-02 16:07:25 -0300] [772] [INFO] Shutting down: Master
[2015-07-02 16:07:46 -0300] [753] [INFO] Starting gunicorn 19.3.0
[2015-07-02 16:07:46 -0300] [753] [INFO] Listening at: http://127.0.0.1:8001 (753)
[2015-07-02 16:07:46 -0300] [753] [INFO] Using worker: sync
[2015-07-02 16:07:46 -0300] [985] [INFO] Booting worker with pid: 985
[2015-07-02 16:07:46 -0300] [987] [INFO] Booting worker with pid: 987
[2015-07-02 16:07:46 -0300] [988] [INFO] Booting worker with pid: 988



root@taiga:/home/taiga/logs# cat nginx.access.log
192.168.4.208 - - [02/Jul/2015:16:07:26 -0300] "GET /events HTTP/1.1" 200 1256 "-" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.130 Safari/537.36"
192.168.4.208 - - [02/Jul/2015:16:08:03 -0300] "GET /login HTTP/1.1" 304 0 "-" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.130 Safari/537.36"
192.168.4.208 - - [02/Jul/2015:16:08:03 -0300] "GET /styles/main.css HTTP/1.1" 304 0 "http://taiga.seg.com/login" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.130 Safari/537.36"
192.168.4.208 - - [02/Jul/2015:16:08:03 -0300] "GET /js/libs.js?v=1435835031987 HTTP/1.1" 304 0 "http://taiga.seg.com/login" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.130 Safari/537.36"
192.168.4.208 - - [02/Jul/2015:16:08:03 -0300] "GET /js/templates.js?v=1435835031987 HTTP/1.1" 304 0 "http://taiga.seg.com/login" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.130 Safari/537.36"
192.168.4.208 - - [02/Jul/2015:16:08:03 -0300] "GET /js/app-loader.js?v=1435835031987 HTTP/1.1" 304 0 "http://taiga.seg.com/login" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.130 Safari/537.36"
192.168.4.208 - - [02/Jul/2015:16:08:03 -0300] "GET /svg/spinner-circle.svg HTTP/1.1" 304 0 "http://taiga.seg.com/login" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.130 Safari/537.36"
192.168.4.208 - - [02/Jul/2015:16:08:03 -0300] "GET /fonts/taiga.woff HTTP/1.1" 304 0 "http://taiga.seg.com/login" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.130 Safari/537.36"
192.168.4.208 - - [02/Jul/2015:16:08:03 -0300] "GET /fonts/opensans-regular.woff HTTP/1.1" 304 0 "http://taiga.seg.com/login" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.130 Safari/537.36"
192.168.4.208 - - [02/Jul/2015:16:08:03 -0300] "GET /js/conf.json HTTP/1.1" 304 0 "http://taiga.seg.com/login" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.130 Safari/537.36"
192.168.4.208 - - [02/Jul/2015:16:08:03 -0300] "GET /events HTTP/1.1" 200 1256 "-" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.130 Safari/537.36"
192.168.4.208 - - [02/Jul/2015:16:08:03 -0300] "GET /fonts/opensans-semibold.woff HTTP/1.1" 304 0 "http://taiga.seg.com/login" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.130 Safari/537.36"
192.168.4.208 - - [02/Jul/2015:16:08:03 -0300] "GET /fonts/OpenSans-CondLight.woff HTTP/1.1" 304 0 "http://taiga.seg.com/login" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.130 Safari/537.36"
192.168.4.208 - - [02/Jul/2015:16:08:06 -0300] "GET /events HTTP/1.1" 200 1256 "-" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.130 Safari/537.36"
192.168.4.208 - - [02/Jul/2015:16:09:45 -0300] "GET /events HTTP/1.1" 200 1254 "-" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.130 Safari/537.36"
192.168.4.208 - - [02/Jul/2015:16:09:50 -0300] "GET /events HTTP/1.1" 200 1254 "-" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.130 Safari/537.36"
192.168.4.208 - - [02/Jul/2015:16:10:48 -0300] "GET /error HTTP/1.1" 200 1254 "-" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.130 Safari/537.36"
192.168.4.208 - - [02/Jul/2015:16:10:48 -0300] "GET /styles/main.css HTTP/1.1" 304 0 "http://taiga.seg.com/error" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.130 Safari/537.36"
192.168.4.208 - - [02/Jul/2015:16:10:48 -0300] "GET /js/app-loader.js?v=1435861521433 HTTP/1.1" 200 1131 "http://taiga.seg.com/error" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.130 Safari/537.36"
192.168.4.208 - - [02/Jul/2015:16:10:48 -0300] "GET /svg/spinner-circle.svg HTTP/1.1" 304 0 "http://taiga.seg.com/error" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.130 Safari/537.36"
192.168.4.208 - - [02/Jul/2015:16:10:48 -0300] "GET /js/templates.js?v=1435861521433 HTTP/1.1" 200 336067 "http://taiga.seg.com/error" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.130 Safari/537.36"
192.168.4.208 - - [02/Jul/2015:16:10:48 -0300] "GET /fonts/taiga.woff HTTP/1.1" 304 0 "http://taiga.seg.com/error" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.130 Safari/537.36"
192.168.4.208 - - [02/Jul/2015:16:10:48 -0300] "GET /fonts/opensans-regular.woff HTTP/1.1" 304 0 "http://taiga.seg.com/error" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.130 Safari/537.36"
192.168.4.208 - - [02/Jul/2015:16:10:48 -0300] "GET /js/libs.js?v=1435861521433 HTTP/1.1" 200 1344614 "http://taiga.seg.com/error" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.130 Safari/537.36"
192.168.4.208 - - [02/Jul/2015:16:10:48 -0300] "GET /js/conf.json HTTP/1.1" 304 0 "http://taiga.seg.com/error" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.130 Safari/537.36"
192.168.4.208 - - [02/Jul/2015:16:10:48 -0300] "GET /images/favicon.png HTTP/1.1" 200 6979 "http://taiga.seg.com/error" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.130 Safari/537.36"
192.168.4.208 - - [02/Jul/2015:16:10:48 -0300] "GET /js/app.js?v=1435861521443 HTTP/1.1" 200 920340 "http://taiga.seg.com/error" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.130 Safari/537.36"
192.168.4.208 - - [02/Jul/2015:16:10:49 -0300] "GET /events HTTP/1.1" 200 1254 "-" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.130 Safari/537.36"
192.168.4.208 - - [02/Jul/2015:16:10:49 -0300] "GET /fonts/OpenSans-CondLight.woff HTTP/1.1" 304 0 "http://taiga.seg.com/error" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.130 Safari/537.36"
192.168.4.208 - - [02/Jul/2015:16:10:49 -0300] "GET /fonts/opensans-semibold.woff HTTP/1.1" 304 0 "http://taiga.seg.com/error" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.130 Safari/537.36"
192.168.4.208 - - [02/Jul/2015:16:10:51 -0300] "GET /error HTTP/1.1" 304 0 "-" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.130 Safari/537.36"
192.168.4.208 - - [02/Jul/2015:16:10:51 -0300] "GET /js/templates.js?v=1435861521433 HTTP/1.1" 304 0 "http://taiga.seg.com/error" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.130 Safari/537.36"
192.168.4.208 - - [02/Jul/2015:16:10:51 -0300] "GET /js/app-loader.js?v=1435861521433 HTTP/1.1" 304 0 "http://taiga.seg.com/error" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.130 Safari/537.36"
192.168.4.208 - - [02/Jul/2015:16:10:51 -0300] "GET /events HTTP/1.1" 200 1254 "-" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.130 Safari/537.36"
192.168.4.208 - - [02/Jul/2015:16:10:53 -0300] "GET /events HTTP/1.1" 200 1254 "-" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.130 Safari/537.36"

Thank you!

David Barragán

unread,
Jul 2, 2015, 4:03:36 PM7/2/15
to Greg, tai...@googlegroups.com
And your config.json file? Could you paste the content here?


---

 
David Barragán Merino  
Engineer

www.kaleidos.net/FFF8E7

Greg

unread,
Jul 2, 2015, 4:10:57 PM7/2/15
to David Barragán, tai...@googlegroups.com
Sure David,

Following content:

root@taiga:/home/taiga/logs# cat /home/taiga/taiga-front-dist/dist/js/conf.json
{
    "api": "http://taiga.seg.com.br:8000/api/v1/",
    "eventsUrl": "ws://taiga.seg.com.br/events",
    "debug": true,
    "debugInfo": false,
    "defaultLanguage": "en",
    "publicRegisterEnabled": true,
    "feedbackEnabled": true,
    "privacyPolicyUrl": null,
    "termsOfServiceUrl": null,
    "maxUploadFileSize": null,
    "contribPlugins": []
}

David Barragán

unread,
Jul 2, 2015, 4:15:08 PM7/2/15
to Greg, tai...@googlegroups.com

Greg

unread,
Jul 2, 2015, 5:11:32 PM7/2/15
to David Barragán, tai...@googlegroups.com
David,

I compared the two ambients: production and that you are helping me set up and got a line added in Nginx that is not in the tutorial:

listen 8000 DEFAULT_SERVER;

It seems to me it's okay, I'll run some tests and report to you, okay?

Thanks again! :)

David Barragán

unread,
Jul 2, 2015, 5:28:51 PM7/2/15
to Greg, tai...@googlegroups.com
Okis

Greg

unread,
Jul 2, 2015, 6:34:19 PM7/2/15
to David Barragán, tai...@googlegroups.com
Hey David,

I did the change and migrated the environment.

The interface was very beautiful, congratulations.

I have a problem: when I change the project, the colorful circle of "loading" not out of there. The rest everything is working normal.

thank you!

David Barragán

unread,
Jul 2, 2015, 7:17:35 PM7/2/15
to Greg, tai...@googlegroups.com
I'm glad everything have worked out well. I think the circle disappeared some releases ago.

Regards.

Greg

unread,
Jul 3, 2015, 2:09:24 PM7/3/15
to David Barragán, tai...@googlegroups.com
Hey there,

The new version is pretty good! Congrats Taiga team.

I need one help to understand what is happening in my environment: when the Taiga attempts to use the "timeline" resource in a project or user, the loading icon stay on the screen for a long time and after several minutes the data is loaded, the next access becomes instant.

One of this access took more than 20 minutes.

Thank you!

David Barragán

unread,
Jul 6, 2015, 6:21:14 AM7/6/15
to Greg, tai...@googlegroups.com
Mmmmm, It's very strange, try to regenerate all the timeline entries.

cd taiga-back
workon taiga
./manage.py rebuild_timeline --purge

Greg

unread,
Jul 6, 2015, 6:12:02 PM7/6/15
to David Barragán, tai...@googlegroups.com
David,

Perfect!

Thank you for your time! ;)

David Barragán

unread,
Jul 6, 2015, 6:13:50 PM7/6/15
to Greg, tai...@googlegroups.com
you're welcome :-)
Reply all
Reply to author
Forward
0 new messages