midas-research / audino

Open source audio annotation tool for humans
MIT License
1.06k stars 128 forks source link

Cannot create user/superuser #132

Open CorentinWicht opened 3 months ago

CorentinWicht commented 3 months ago

Dear Team,

I have trying to install Audino following your Docker installation guide on my Ubuntu 24.04 LTS homeserver but I am stuck at the user/superuser creation step:

When I run as root, as suggested: docker exec -it cvat_server bash -ic 'python3 ~/manage.py createsuperuser

I get:

/opt/venv/lib/python3.10/site-packages/pydub/utils.py:170: RuntimeWarning: Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not work
  warn("Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not work", RuntimeWarning)
Username (leave blank to use 'django'):
Email address: wichtc91@gmail.com
Password:
Password (again):
Superuser created successfully.

Though, when I try to enter the corresponding credentials in the login page I get: image

I have also tried to create another user by clicking on image and I get the same error message.

I wonder whether it is relate to container cvat_db who seems to experience some kind of failure:

PostgreSQL Database directory appears to contain a database; Skipping initialization
2024-07-19 11:54:05.189 UTC [1] LOG:  starting PostgreSQL 15.7 on x86_64-pc-linux-musl, compiled by gcc (Alpine 13.2.1_git20240309) 13.2.1 20240309, 64-bit
2024-07-19 11:54:05.189 UTC [1] LOG:  listening on IPv4 address "0.0.0.0", port 5432
2024-07-19 11:54:05.189 UTC [1] LOG:  listening on IPv6 address "::", port 5432
2024-07-19 11:54:05.191 UTC [1] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
2024-07-19 11:54:05.196 UTC [29] LOG:  database system was shut down at 2024-07-19 10:30:26 UTC
2024-07-19 11:54:05.203 UTC [1] LOG:  database system is ready to accept connections
2024-07-19 11:54:05.598 UTC [33] LOG:  incomplete startup packet
2024-07-19 11:54:05.671 UTC [34] LOG:  incomplete startup packet
2024-07-19 11:54:05.698 UTC [35] LOG:  incomplete startup packet
2024-07-19 11:54:05.766 UTC [36] LOG:  incomplete startup packet
2024-07-19 11:54:05.846 UTC [37] LOG:  incomplete startup packet
2024-07-19 11:54:05.898 UTC [38] LOG:  incomplete startup packet
2024-07-19 11:54:06.095 UTC [39] LOG:  incomplete startup packet
2024-07-19 11:54:06.106 UTC [40] LOG:  incomplete startup packet
2024-07-19 11:54:13.223 UTC [49] LOG:  incomplete startup packet
2024-07-19 11:54:13.226 UTC [50] LOG:  incomplete startup packet
2024-07-19 11:54:13.358 UTC [51] LOG:  incomplete startup packet
2024-07-19 11:54:13.388 UTC [52] LOG:  incomplete startup packet
2024-07-19 11:54:13.443 UTC [53] LOG:  incomplete startup packet
2024-07-19 11:54:13.603 UTC [54] LOG:  incomplete startup packet
2024-07-19 11:54:13.618 UTC [55] LOG:  incomplete startup packet
2024-07-19 11:54:13.627 UTC [57] LOG:  incomplete startup packet
2024-07-19 11:54:13.629 UTC [56] LOG:  incomplete startup packet
2024-07-19 11:54:13.630 UTC [58] LOG:  incomplete startup packet
2024-07-19 11:54:13.642 UTC [59] LOG:  incomplete startup packet
2024-07-19 11:54:13.677 UTC [60] LOG:  incomplete startup packet
2024-07-19 11:54:15.445 UTC [61] LOG:  incomplete startup packet
2024-07-19 11:54:21.347 UTC [63] LOG:  incomplete startup packet
2024-07-19 11:54:21.348 UTC [64] LOG:  incomplete startup packet
2024-07-19 11:59:05.296 UTC [27] LOG:  checkpoint starting: time
2024-07-19 11:59:05.304 UTC [27] LOG:  checkpoint complete: wrote 3 buffers (0.0%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.004 s, sync=0.001 s, total=0.009 s; sync files=2, longest=0.001 s, average=0.001 s; distance=0 kB, estimate=0 kB
2024-07-19 12:04:05.372 UTC [27] LOG:  checkpoint starting: time
2024-07-19 12:04:06.990 UTC [27] LOG:  checkpoint complete: wrote 17 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=1.608 s, sync=0.004 s, total=1.619 s; sync files=17, longest=0.002 s, average=0.001 s; distance=3 kB, estimate=3 kB

FYI I only slightly modified the default docker-compose.yml regarding the assigned ports (because they are already used by other containers: Nginx and Grafana):

I have also added an .env file containing: CVAT_HOST=192.160.0.32 (i.e., the fixed IP address of my homeserver)

Best,

C.

rohan220217 commented 3 months ago

Hi @CorentinWicht, Can you check the cvat server health (localhost:8080/api/server/health). It should be like this: image