Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clean installation doesn't work (missing templates) #23

Closed
Semyazz opened this issue Mar 2, 2015 · 4 comments
Closed

Clean installation doesn't work (missing templates) #23

Semyazz opened this issue Mar 2, 2015 · 4 comments

Comments

@Semyazz
Copy link

@Semyazz Semyazz commented Mar 2, 2015

I tried ubuntu 14.04.1 image and I had some issues with locales (because of that Postgresql doesn't start) but after locale fix and when postgresql is up I still cannot make it work entirely. It looks like something is missing in DB initialization, cos I can log in to the Taiga, however there is no admin user, but I don't have any templates. When I try to create a project I see

taiga.projects.models.DoesNotExist: ProjectTemplate matching query does not exist

Any idea what went wrong?

@Semyazz Semyazz changed the title Clean installation doesn't work Clean installation doesn't work (missing templates) Mar 2, 2015
@superalex
Copy link
Member

@superalex superalex commented Mar 2, 2015

It seems that your intsallation failed in the "Populate the database with initial basic data" point, could you try to execute:

python manage.py migrate --noinput
python manage.py loaddata initial_user
python manage.py loaddata initial_project_templates
python manage.py loaddata initial_role
python manage.py collectstatic --noinput

If you need to generate random data for your instance you can also make a:

python manage.py sample_data
@Semyazz
Copy link
Author

@Semyazz Semyazz commented Mar 2, 2015

I recreate the VM, fixed lokale first and install postgresql manualny and after that I ran setup script and now everything works fine.

@bameda bameda closed this Mar 2, 2015
@superalex
Copy link
Member

@superalex superalex commented Mar 3, 2015

Great! 👍

@askz
Copy link

@askz askz commented Apr 17, 2015

Thanks for this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
4 participants
You can’t perform that action at this time.