taiga-docker
taiga-docker copied to clipboard
CommandError: No fixture named 'initial_role' found.
i did docker-compose -f taiga.yml
taiga.yml:
data:
image: tianon/true
volumes:
- /var/lib/postgresql/data
- /usr/local/taiga/media
- /usr/local/taiga/static
- /usr/local/taiga/logs
db:
image: postgres
environment:
POSTGRES_USER: taiga
POSTGRES_PASSWORD: password
volumes_from:
- data
restart: always
taigaback:
build: taiga-back
hostname: dev.example.com
environment:
SECRET_KEY: examplesecretkey
EMAIL_USE_TLS: 'True'
EMAIL_HOST: smtp.gmail.com
EMAIL_PORT: 587
EMAIL_HOST_USER: [email protected]
EMAIL_HOST_PASSWORD: mypassword
POSTGRES_HOST: postgres
POSTGRES_PORT: 5432
links:
- db:postgres
volumes_from:
- data
restart: always
taigafront:
build: taiga-front-dist
hostname: 0.0.0.0
links:
- taigaback
volumes_from:
- data
ports:
- 0.0.0.0:9000:80
restart: always
root@ds:/usr/local/taiga/taiga-back# python manage.py loaddata initial_role Trying import local.py settings... CommandError: No fixture named 'initial_role' found.
hello,I meet the same problem with you.So what is the fix? In official documentation with the URL "http://taigaio.github.io/taiga-doc/dist/setup-production.html", it is not mentioned the command "python manage.py loaddata initial_role" and I run the command "find /home/taiga/taiga-back/ -name initial_*", it turns out /home/taiga/taiga-back/taiga/projects/fixtures/initial_project_templates.json /home/taiga/taiga-back/taiga/users/fixtures/initial_user.json
that is not found "initial_role.json"
Maybe it is not Necessary to run this command "python manage.py loaddata initial_role" in the current version any more.I guess it is needed by some history version.
So what does the author of taiga say?
It's seem it's a mistake:
https://github.com/taigaio/taiga-back/issues/958