DOMjudge / domjudge-packaging

DOMjudge packaging for (Linux) distributions and live image
31 stars 37 forks source link

7.1.1 Docker Domserver Invalid credentials for admin/admin #47

Closed bumfo closed 4 years ago

bumfo commented 4 years ago

Description of the problem

The default password described in docker document is invalid for domserver 7.1.1 on docker

Your environment

Include details about your installation here.

  • DOMjudge version 7.1.1
  • Operating system Windows 10 Docker
  • nginx

Steps to reproduce

Replace this with a description how we can reproduce your bug.

Expected behaviour

successfully login.

Actual behaviour

get Invalid credentials.

Any other information that you want to share?

domserver:latest

bumfo commented 4 years ago

I think adding some command line to quickly add an admin account is more convenient, like manage.py createsuperuser in Django.

bumfo commented 4 years ago

I think at least add a line:

docker exec -it domserver cat /opt/domjudge/domserver/etc/initial_admin_password.secret

to guide new users to retrieve initial password, or print that password when initial docker run should be more friendly.

at least the tutorial should be updated.

nickygerritsen commented 4 years ago

Yes the documentation is indeed outdated. I will update it.