Giter Site home page Giter Site logo

Comments (3)

daniel-herrero avatar daniel-herrero commented on August 12, 2024 4

Hi @zippo-lighter ,

I have tried to reproduce your bug with no luck. I've been able to create the super user, both in linux and Windows 10 (using Docker Desktop).

Have you tried to do what is suggested in your screenshot?. Instead of executing taiga-manage.sh from the machine that hosts the docker containers, try to start and run the python script by connecting to the taiga-backrunning container:

PS H:\TEMP\taiga-docker-stable> docker exec -it taiga-docker-stable_taiga-back_1 bash
root@921f7f92d4e9:/taiga-back# python manage.py createsuperuser
Username: taiga
Email address: [email protected]
Password: 
Password (again): 
Superuser created successfully.

If that doesn't either fix the problem, I would need further information, like:

  • What are the logs you get executing python manage.py directly?
  • Do you see something in the docker-compose logs?
  • Can you share your docker-compose.yml?

Thanks in advance

from taiga-back.

Abdipour avatar Abdipour commented on August 12, 2024 3

Hi,
I have the same problem in windows 10.
I tried @daniel-herrero script. It works with some changes:
First check your container id that have "back" in the name. In my env I found this: "taiga-docker-taiga-back-1".
Second add 'winpty' before command:

 MINGW64 ~/taiga/taiga-docker (stable)
$ winpty docker exec -it taiga-docker-taiga-back-1 bash
root@2110a95a4f0c:/taiga-back# python manage.py createsuperuser
Username: admin
Email address: [email protected]
Password:
Password (again):
Superuser created successfully.
root@2110a95a4f0c:/taiga-back#

from taiga-back.

csais3 avatar csais3 commented on August 12, 2024

Try adding at the end of your .sh file when creating superuser in the python manage.py createsuperuser line this >> || true
so in my code was something like this :
/opt/venv/bin/python manage.py createsuperuser --email $SUPERUSER_EMAIL --noinput || true

from taiga-back.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.