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

Problems were encountered when deploying the development environment on WSL(no password supplied) #7877

Closed
2 tasks done
kaworuist opened this issue May 11, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@kaworuist
Copy link

kaworuist commented May 11, 2024

Actions before raising this issue

  • I searched the existing issues and did not find anything similar.
  • I read/searched the docs

Steps to Reproduce

  1. Install Ubuntu 22.04 LTS in WSL
  2. follow https://docs.cvat.ai/docs/contributing/development-environment/ linux step
  • sudo apt-get update && sudo apt-get --no-install-recommends install -y build-essential curl git redis-server python3-dev python3-pip python3-venv python3-tk libldap2-dev libsasl2-dev
  • # Install Node.js 20 and yarn curl -fsSL https://deb.nodesource.com/setup_20.x | sudo bash - sudo apt-get install -y nodejs sudo npm install --global yarn
  • python3 --version Python 3.10.12
  • git clone https://github.com/cvat-ai/cvat cd cvat && mkdir logs keys python3 -m venv .env . .env/bin/activate pip install -U pip wheel setuptools
  • pip install -r cvat/requirements/development.txt occurred error OSError: Could not find library geos_c or load any of its variants ['libgeos_c.so.1', 'libgeos_c.so'] when downloading shapely-1.7.7, I run sudo apt install libgeos-dev and rerun pip install -r cvat/requirements/development.txt, it worked.
  • Install docker desktop
    image
  • docker compose -f docker-compose.yml -f docker-compose.dev.yml up -d --build \ cvat_opa cvat_db cvat_redis_inmem cvat_redis_ondisk cvat_server
    image
    image
    image
  • python manage.py migrate occurred error connection to server at "localhost" (127.0.0.1), port 5432 failed: fe_sendauth: no password supplied
    image
    I also try server: django and server: debug in vscode, occourred same error.
    I search past issues and found Need help to solve error in development environment #7544

The error in cvat_opa can be solved by stoping the container and then running it like this

docker run -d --rm --name cvat_opa_debug -p 8181:8181 -v ${PWD}/cvat/apps/iam/rules:/rules openpolicyagent/opa:0.45.0-rootless run --server --set=decision_logs.console=true /rules

and it would be great that someone looked into this i got this error on wsl windows 10 and then on ubuntu 22.04 both.

It doesn't seem to be working. Other than that,I've tried it many times starting in a pure environment, but I always run into this problem.

Docker container info below:
cvat-opa:
2024-05-11 14:12:01 {"level":"error","msg":"Bundle load failed: request failed: Get "http://cvat-server:8080/api/auth/rules\": dial tcp 172.18.0.6:8080: connect: connection refused","name":"cvat","plugin":"bundle","time":"2024-05-11T06:12:01Z"}
2024-05-11 14:12:01 {"level":"error","msg":"Bundle load failed: request failed: Get "http://cvat-server:8080/api/auth/rules\": dial tcp 172.18.0.6:8080: connect: connection refused","name":"cvat","plugin":"bundle","time":"2024-05-11T06:12:01Z"}
2024-05-11 14:12:01 {"level":"error","msg":"Bundle load failed: request failed: Get "http://cvat-server:8080/api/auth/rules\": dial tcp 172.18.0.6:8080: connect: connection refused","name":"cvat","plugin":"bundle","time":"2024-05-11T06:12:01Z"}
2024-05-11 14:12:01 {"level":"error","msg":"Bundle load failed: request failed: Get "http://cvat-server:8080/api/auth/rules\": dial tcp 172.18.0.6:8080: connect: connection refused","name":"cvat","plugin":"bundle","time":"2024-05-11T06:12:01Z"}
2024-05-11 14:12:02 {"level":"error","msg":"Bundle load failed: request failed: Get "http://cvat-server:8080/api/auth/rules\": dial tcp 172.18.0.6:8080: connect: connection refused","name":"cvat","plugin":"bundle","time":"2024-05-11T06:12:02Z"}
2024-05-11 14:12:02 {"level":"error","msg":"Bundle load failed: request failed: Get "http://cvat-server:8080/api/auth/rules\": dial tcp 172.18.0.6:8080: connect: connection refused","name":"cvat","plugin":"bundle","time":"2024-05-11T06:12:02Z"}
2024-05-11 14:12:03 {"level":"error","msg":"Bundle load failed: request failed: Get "http://cvat-server:8080/api/auth/rules\": dial tcp 172.18.0.6:8080: connect: connection refused","name":"cvat","plugin":"bundle","time":"2024-05-11T06:12:03Z"}
2024-05-11 14:12:05 {"level":"error","msg":"Bundle load failed: request failed: Get "http://cvat-server:8080/api/auth/rules\": dial tcp 172.18.0.6:8080: connect: connection refused","name":"cvat","plugin":"bundle","time":"2024-05-11T06:12:05Z"}
2024-05-11 14:12:08 {"level":"error","msg":"Bundle load failed: request failed: Get "http://cvat-server:8080/api/auth/rules\": dial tcp 172.18.0.6:8080: connect: connection refused","name":"cvat","plugin":"bundle","time":"2024-05-11T06:12:08Z"}
2024-05-11 14:12:12 {"level":"error","msg":"Bundle load failed: request failed: Get "http://cvat-server:8080/api/auth/rules\": dial tcp 172.18.0.6:8080: connect: connection refused","name":"cvat","plugin":"bundle","time":"2024-05-11T06:12:12Z"}

cvat_redis_inmem:
2024-05-11 14:11:57 1:C 11 May 2024 06:11:57.444 * oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
2024-05-11 14:11:57 1:C 11 May 2024 06:11:57.444 * Redis version=7.2.3, bits=64, commit=00000000, modified=0, pid=1, just started
2024-05-11 14:11:57 1:C 11 May 2024 06:11:57.444 * Configuration loaded
2024-05-11 14:11:57 1:M 11 May 2024 06:11:57.444 * monotonic clock: POSIX clock_gettime
2024-05-11 14:11:57 1:M 11 May 2024 06:11:57.444 * Running mode=standalone, port=6379.
2024-05-11 14:11:57 1:M 11 May 2024 06:11:57.445 * Server initialized
2024-05-11 14:11:57 1:M 11 May 2024 06:11:57.447 * Creating AOF base file appendonly.aof.1.base.rdb on server start
2024-05-11 14:11:57 1:M 11 May 2024 06:11:57.452 * Creating AOF incr file appendonly.aof.1.incr.aof on server start
2024-05-11 14:11:57 1:M 11 May 2024 06:11:57.452 * Ready to accept connections tcp

cvat_db:
2024-05-11 14:11:57 ********************************************************************************
2024-05-11 14:11:57 WARNING: POSTGRES_HOST_AUTH_METHOD has been set to "trust". This will allow
2024-05-11 14:11:57 anyone with access to the Postgres port to access your database without
2024-05-11 14:11:57 a password, even if POSTGRES_PASSWORD is set. See PostgreSQL
2024-05-11 14:11:57 documentation about "trust":
2024-05-11 14:11:57 https://www.postgresql.org/docs/current/auth-trust.html
2024-05-11 14:11:57 In Docker's default configuration, this is effectively any other
2024-05-11 14:11:57 container on the same system.
2024-05-11 14:11:57
2024-05-11 14:11:57 It is not recommended to use POSTGRES_HOST_AUTH_METHOD=trust. Replace
2024-05-11 14:11:57 it with "-e POSTGRES_PASSWORD=password" instead to set a password in
2024-05-11 14:11:57 "docker run".
2024-05-11 14:11:57 ********************************************************************************
2024-05-11 14:11:57 sh: locale: not found
2024-05-11 14:11:57 2024-05-11 06:11:57.731 UTC [32] WARNING: no usable system locales were found
2024-05-11 14:11:58 initdb: warning: enabling "trust" authentication for local connections
2024-05-11 14:11:58 initdb: hint: You can change this by editing pg_hba.conf or using the option -A, or --auth-local and --auth-host, the next time you run initdb.
2024-05-11 14:11:58 2024-05-11 06:11:58.428 UTC [1] LOG: starting PostgreSQL 15.7 on x86_64-pc-linux-musl, compiled by gcc (Alpine 13.2.1_git20231014) 13.2.1 20231014, 64-bit
2024-05-11 14:11:58 2024-05-11 06:11:58.428 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432
2024-05-11 14:11:58 2024-05-11 06:11:58.428 UTC [1] LOG: listening on IPv6 address "::", port 5432
2024-05-11 14:11:58 2024-05-11 06:11:58.433 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
2024-05-11 14:11:58 2024-05-11 06:11:58.437 UTC [54] LOG: database system was shut down at 2024-05-11 06:11:58 UTC
2024-05-11 14:11:58 2024-05-11 06:11:58.441 UTC [1] LOG: database system is ready to accept connections
2024-05-11 14:11:58 2024-05-11 06:11:58.761 UTC [58] LOG: incomplete startup packet
2024-05-11 14:12:13 2024-05-11 06:12:13.909 UTC [60] LOG: incomplete startup packet
2024-05-11 14:12:16 2024-05-11 06:12:16.742 UTC [62] LOG: incomplete startup packet
2024-05-11 14:12:16 2024-05-11 06:12:16.743 UTC [63] LOG: incomplete startup packet
2024-05-11 14:16:58 2024-05-11 06:16:58.497 UTC [52] LOG: checkpoint starting: time
2024-05-11 14:17:47 2024-05-11 06:17:47.380 UTC [52] LOG: checkpoint complete: wrote 488 buffers (3.0%); 1 WAL file(s) added, 0 removed, 0 recycled; write=48.709 s, sync=0.129 s, total=48.883 s; sync files=836, longest=0.008 s, average=0.001 s; distance=4740 kB, estimate=4740 kB
2024-05-11 14:11:57 The files belonging to this database system will be owned by user "postgres".
2024-05-11 14:11:57 This user must also own the server process.
2024-05-11 14:11:57
2024-05-11 14:11:57 The database cluster will be initialized with locale "en_US.utf8".
2024-05-11 14:11:57 The default database encoding has accordingly been set to "UTF8".
2024-05-11 14:11:57 The default text search configuration will be set to "english".
2024-05-11 14:11:57
2024-05-11 14:11:57 Data page checksums are disabled.
2024-05-11 14:11:57
2024-05-11 14:11:57 fixing permissions on existing directory /var/lib/postgresql/data ... ok
2024-05-11 14:11:57 creating subdirectories ... ok
2024-05-11 14:11:57 selecting dynamic shared memory implementation ... posix
2024-05-11 14:11:57 selecting default max_connections ... 100
2024-05-11 14:11:57 selecting default shared_buffers ... 128MB
2024-05-11 14:11:57 selecting default time zone ... UTC
2024-05-11 14:11:57 creating configuration files ... ok
2024-05-11 14:11:57 running bootstrap script ... ok
2024-05-11 14:11:57 performing post-bootstrap initialization ... ok
2024-05-11 14:11:58 syncing data to disk ... ok
2024-05-11 14:11:58
2024-05-11 14:11:58
2024-05-11 14:11:58 Success. You can now start the database server using:
2024-05-11 14:11:58
2024-05-11 14:11:58 pg_ctl -D /var/lib/postgresql/data -l logfile start
2024-05-11 14:11:58
2024-05-11 14:11:58 waiting for server to start....2024-05-11 06:11:58.150 UTC [38] LOG: starting PostgreSQL 15.7 on x86_64-pc-linux-musl, compiled by gcc (Alpine 13.2.1_git20231014) 13.2.1 20231014, 64-bit
2024-05-11 14:11:58 2024-05-11 06:11:58.152 UTC [38] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
2024-05-11 14:11:58 2024-05-11 06:11:58.163 UTC [41] LOG: database system was shut down at 2024-05-11 06:11:57 UTC
2024-05-11 14:11:58 2024-05-11 06:11:58.167 UTC [38] LOG: database system is ready to accept connections
2024-05-11 14:11:58 done
2024-05-11 14:11:58 server started
2024-05-11 14:11:58 CREATE DATABASE
2024-05-11 14:11:58
2024-05-11 14:11:58
2024-05-11 14:11:58 /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/*
2024-05-11 14:11:58
2024-05-11 14:11:58 waiting for server to shut down....2024-05-11 06:11:58.309 UTC [38] LOG: received fast shutdown request
2024-05-11 14:11:58 2024-05-11 06:11:58.311 UTC [38] LOG: aborting any active transactions
2024-05-11 14:11:58 2024-05-11 06:11:58.313 UTC [38] LOG: background worker "logical replication launcher" (PID 44) exited with exit code 1
2024-05-11 14:11:58 2024-05-11 06:11:58.313 UTC [39] LOG: shutting down
2024-05-11 14:11:58 2024-05-11 06:11:58.315 UTC [39] LOG: checkpoint starting: shutdown immediate
2024-05-11 14:11:58 2024-05-11 06:11:58.371 UTC [39] LOG: checkpoint complete: wrote 920 buffers (5.6%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.011 s, sync=0.041 s, total=0.058 s; sync files=301, longest=0.002 s, average=0.001 s; distance=4233 kB, estimate=4233 kB
2024-05-11 14:11:58 2024-05-11 06:11:58.376 UTC [38] LOG: database system is shut down
2024-05-11 14:11:58 done
2024-05-11 14:11:58 server stopped
2024-05-11 14:11:58
2024-05-11 14:11:58 PostgreSQL init process complete; ready for start up.
2024-05-11 14:11:58

cvat_redis_ondisk:
2024-05-11 14:11:57 I20240511 06:11:57.451392 8 main.cc:141] kvrocks version 2.7.0 (commit 33b49591)
2024-05-11 14:11:57 I20240511 06:11:57.513056 8 storage.cc:335] [storage] Success to load the data from disk: 17 ms
2024-05-11 14:11:57 I20240511 06:11:57.515076 8 worker.cc:72] [worker] Listening on: 0.0.0.0:6666
2024-05-11 14:11:57 I20240511 06:11:57.515190 8 worker.cc:72] [worker] Listening on: 0.0.0.0:6666
2024-05-11 14:11:57 I20240511 06:11:57.515260 8 worker.cc:72] [worker] Listening on: 0.0.0.0:6666
2024-05-11 14:11:57 I20240511 06:11:57.515328 8 worker.cc:72] [worker] Listening on: 0.0.0.0:6666
2024-05-11 14:11:57 I20240511 06:11:57.515393 8 worker.cc:72] [worker] Listening on: 0.0.0.0:6666
2024-05-11 14:11:57 I20240511 06:11:57.515455 8 worker.cc:72] [worker] Listening on: 0.0.0.0:6666
2024-05-11 14:11:57 I20240511 06:11:57.515515 8 worker.cc:72] [worker] Listening on: 0.0.0.0:6666
2024-05-11 14:11:57 I20240511 06:11:57.515573 8 worker.cc:72] [worker] Listening on: 0.0.0.0:6666
2024-05-11 14:11:57 I20240511 06:11:57.516150 8 worker.cc:555] [worker] Thread #139837973461808 started
2024-05-11 14:11:57 I20240511 06:11:57.516191 8 worker.cc:555] [worker] Thread #139837973285680 started
2024-05-11 14:11:57 I20240511 06:11:57.516223 8 worker.cc:555] [worker] Thread #139837973109552 started
2024-05-11 14:11:57 I20240511 06:11:57.516255 8 worker.cc:555] [worker] Thread #139837972933424 started

cvat_server:
2024-05-11 14:11:57 wait-for-it.sh: waiting for cvat_db:5432 without a timeout
2024-05-11 14:11:58 wait-for-it.sh: cvat_db:5432 is available after 1 seconds
2024-05-11 14:12:01 Operations to perform:
2024-05-11 14:12:01 Apply all migrations: account, admin, analytics_report, auth, authtoken, contenttypes, dataset_repo, db, django_rq, engine, organizations, quality_control, sessions, sites, socialaccount, webhooks
2024-05-11 14:12:01 Running migrations:
2024-05-11 14:12:01 Applying contenttypes.0001_initial... OK
2024-05-11 14:12:01 Applying auth.0001_initial... OK
2024-05-11 14:12:01 Applying account.0001_initial... OK
2024-05-11 14:12:01 Applying account.0002_email_max_length... OK
2024-05-11 14:12:01 Applying account.0003_alter_emailaddress_create_unique_verified_email... OK
2024-05-11 14:12:01 Applying account.0004_alter_emailaddress_drop_unique_email... OK
2024-05-11 14:12:01 Applying account.0005_emailaddress_idx_upper_email... OK
2024-05-11 14:12:01 Applying admin.0001_initial... OK
2024-05-11 14:12:01 Applying admin.0002_logentry_remove_auto_add... OK
2024-05-11 14:12:01 Applying admin.0003_logentry_add_action_flag_choices... OK
2024-05-11 14:12:01 Applying organizations.0001_initial... OK
2024-05-11 14:12:02 Applying engine.0001_release_v0_1_0... OK
2024-05-11 14:12:02 Applying engine.0002_labeledpoints_labeledpointsattributeval_labeledpolygon_labeledpolygonattributeval_labeledpolyline_la... OK
2024-05-11 14:12:02 Applying engine.0003_objectpath_shapes... OK
2024-05-11 14:12:02 Applying engine.0004_task_z_order... OK
2024-05-11 14:12:02 Applying engine.0005_auto_20180609_1512... OK
2024-05-11 14:12:02 Applying engine.0006_auto_20180629_1501... OK
2024-05-11 14:12:02 Applying engine.0007_task_flipped... OK
2024-05-11 14:12:02 Applying engine.0008_auto_20180917_1424... OK
2024-05-11 14:12:03 Applying engine.0009_auto_20180917_1424... OK
2024-05-11 14:12:03 Applying engine.0010_auto_20181011_1517... OK
2024-05-11 14:12:03 Applying engine.0011_add_task_source_and_safecharfield... OK
2024-05-11 14:12:03 Applying engine.0012_auto_20181025_1618... OK
2024-05-11 14:12:03 Applying engine.0013_auth_no_default_permissions... OK
2024-05-11 14:12:03 Applying engine.0014_job_max_shape_id... OK
2024-05-11 14:12:04 Applying engine.0015_db_redesign_20190217... OK
2024-05-11 14:12:04 Applying engine.0016_attribute_spec_20190217... OK
2024-05-11 14:12:06 Applying engine.0017_db_redesign_20190221... OK
2024-05-11 14:12:06 Applying engine.0018_jobcommit... OK
2024-05-11 14:12:06 Applying engine.0019_frame_selection... OK
2024-05-11 14:12:06 Applying engine.0020_remove_task_flipped...Getting flipped tasks...
2024-05-11 14:12:06 Conversion started...
2024-05-11 14:12:06 OK
2024-05-11 14:12:06 Applying engine.0021_auto_20190826_1827... OK
2024-05-11 14:12:06 Applying engine.0022_auto_20191004_0817... OK
2024-05-11 14:12:06 Applying engine.0023_auto_20200113_1323... OK
2024-05-11 14:12:06 Applying engine.0024_auto_20191023_1025...
2024-05-11 14:12:06 Start schema migration...
2024-05-11 14:12:06
2024-05-11 14:12:06 [2024-05-11 06:12:06,534] INFO 0024_auto_20191023_1025:
2024-05-11 14:12:06 Start schema migration...
2024-05-11 14:12:06 [2024-05-11 06:12:06,536] INFO 0024_auto_20191023_1025:
2024-05-11 14:12:06 Schema migration is finished...
2024-05-11 14:12:06 [2024-05-11 06:12:06,536] INFO 0024_auto_20191023_1025:
2024-05-11 14:12:06 Start data migration...
2024-05-11 14:12:07 The data migration has been started for creating manifests files 2024-05-11 14:12:07 [2024-05-11 06:12:07,533] INFO 0038_manifest: The data migration has been started for creating manifests files
2024-05-11 14:12:07 Need to update 0 data objects
2024-05-11 14:12:07 [2024-05-11 06:12:07,535] INFO 0038_manifest: Need to update 0 data objects
2024-05-11 14:12:08 Migration has been started. Need to create 0 directories.
2024-05-11 14:12:08 [2024-05-11 06:12:08,660] INFO 0055_jobs_directories: Migration has been started. Need to create 0 directories.
2024-05-11 14:12:08 Migration has been finished successfully.
2024-05-11 14:12:08 [2024-05-11 06:12:08,661] INFO 0055_jobs_directories: Migration has been finished successfully.
2024-05-11 14:12:08 Migration has been started. Need to create 0 previews.
2024-05-11 14:12:08 [2024-05-11 06:12:08,775] INFO 0056_jobs_previews: Migration has been started. Need to create 0 previews.
2024-05-11 14:12:09 [2024-05-11 06:12:09,547] INFO 0062_delete_previews:
2024-05-11 14:12:09 Deleting Data previews...
2024-05-11 14:12:09 [2024-05-11 06:12:09,549] INFO 0062_delete_previews:
2024-05-11 14:12:09 Deleting Job previews...
2024-05-11 14:12:09 [2024-05-11 06:12:09,550] INFO 0062_delete_previews:
2024-05-11 14:12:09 Deleting CloudStorage previews...
2024-05-11 14:12:09 [2024-05-11 06:12:09,584] INFO 0064_delete_or_rename_wrong_labels:
2024-05-11 14:12:09 Deleting skeleton Labels without skeletons...
2024-05-11 14:12:09 [2024-05-11 06:12:09,588] INFO 0064_delete_or_rename_wrong_labels:
2024-05-11 14:12:09 Deleting duplicate skeleton sublabels and renaming duplicate Labels...
2024-05-11 14:12:13 wait-for-it.sh: waiting for cvat_db:5432 without a timeout
2024-05-11 14:12:13 wait-for-it.sh: cvat_db:5432 is available after 0 seconds
2024-05-11 14:12:06 Schema migration is finished...
2024-05-11 14:12:06
2024-05-11 14:12:06 Start data migration...
2024-05-11 14:12:06 OK
2024-05-11 14:12:06 Applying engine.0025_auto_20200324_1222... OK
2024-05-11 14:12:06 Applying engine.0026_auto_20200719_1511... OK
2024-05-11 14:12:06 Applying engine.0027_auto_20200719_1552... OK
2024-05-11 14:12:06 Applying engine.0028_labelcolor... OK
2024-05-11 14:12:06 Applying engine.0029_data_storage_method... OK
2024-05-11 14:12:07 Applying engine.0030_auto_20200914_1331... OK
2024-05-11 14:12:07 Applying engine.0031_auto_20201011_0220... OK
2024-05-11 14:12:07 Applying engine.0032_remove_task_z_order... OK
2024-05-11 14:12:07 Applying engine.0033_projects_adjastment... OK
2024-05-11 14:12:07 Applying engine.0034_auto_20201125_1426... OK
2024-05-11 14:12:07 Applying engine.0035_data_storage... OK
2024-05-11 14:12:07 Applying engine.0036_auto_20201216_0943... OK
2024-05-11 14:12:07 Applying engine.0037_task_subset... OK
2024-05-11 14:12:07 Applying engine.0038_manifest...The data migration has been started for creating manifest`s files
2024-05-11 14:12:07 Need to update 0 data objects
2024-05-11 14:12:07 OK
2024-05-11 14:12:07 Applying engine.0039_auto_training... OK
2024-05-11 14:12:07 Applying engine.0040_cloud_storage... OK
2024-05-11 14:12:07 Applying engine.0041_auto_20210827_0258... OK
2024-05-11 14:12:07 Applying engine.0042_auto_20210830_1056... OK
2024-05-11 14:12:07 Applying engine.0043_auto_20211027_0718... OK
2024-05-11 14:12:07 Applying engine.0044_auto_20211115_0858... OK
2024-05-11 14:12:07 Applying engine.0045_auto_20211123_0824... OK
2024-05-11 14:12:07 Applying engine.0046_data_sorting_method... OK
2024-05-11 14:12:08 Applying engine.0047_auto_20211110_1938... OK
2024-05-11 14:12:08 Applying engine.0048_auto_20211112_1918... OK
2024-05-11 14:12:08 Applying engine.0049_auto_20220202_0710... OK
2024-05-11 14:12:08 Applying engine.0050_auto_20220211_1425... OK
2024-05-11 14:12:08 Applying engine.0051_auto_20220220_1824... OK
2024-05-11 14:12:08 Applying engine.0052_alter_cloudstorage_specific_attributes... OK
2024-05-11 14:12:08 Applying engine.0053_data_deleted_frames... OK
2024-05-11 14:12:08 Applying engine.0054_auto_20220610_1829... OK
2024-05-11 14:12:08 Applying engine.0055_jobs_directories...Migration has been started. Need to create 0 directories.
2024-05-11 14:12:08 Migration has been finished successfully.
2024-05-11 14:12:08 OK
2024-05-11 14:12:08 Applying engine.0056_jobs_previews...Migration has been started. Need to create 0 previews.
2024-05-11 14:12:08 OK
2024-05-11 14:12:09 Applying engine.0057_auto_20220726_0926... OK
2024-05-11 14:12:09 Applying engine.0058_auto_20220809_1236... OK
2024-05-11 14:12:09 Applying engine.0059_labeledshape_outside... OK
2024-05-11 14:12:09 Applying engine.0060_alter_label_parent... OK
2024-05-11 14:12:09 Applying engine.0061_auto_20221130_0844... OK
2024-05-11 14:12:09 Applying engine.0062_delete_previews...
2024-05-11 14:12:09 Deleting Data previews...
2024-05-11 14:12:09
2024-05-11 14:12:09 Deleting Job previews...
2024-05-11 14:12:09
2024-05-11 14:12:09 Deleting CloudStorage previews...
2024-05-11 14:12:09 OK
2024-05-11 14:12:09 Applying engine.0063_delete_jobcommit... OK
2024-05-11 14:12:09 Applying engine.0064_delete_or_rename_wrong_labels...
2024-05-11 14:12:09 Deleting skeleton Labels without skeletons...
2024-05-11 14:12:09
2024-05-11 14:12:09 Deleting duplicate skeleton sublabels and renaming duplicate Labels...
2024-05-11 14:12:09 OK
2024-05-11 14:12:09 Applying engine.0065_auto_20230221_0931... OK
2024-05-11 14:12:09 Applying engine.0066_auto_20230319_1252... OK
2024-05-11 14:12:09 Applying engine.0067_alter_cloudstorage_credentials_type... OK
2024-05-11 14:12:09 Applying engine.0068_auto_20230418_0901... OK
2024-05-11 14:12:09 Applying engine.0069_auto_20230608_1915... OK
2024-05-11 14:12:09 Applying engine.0070_add_job_type_created_date... OK
2024-05-11 14:12:09 Applying engine.0071_annotationguide_asset... OK
2024-05-11 14:12:10 Applying engine.0072_alter_issue_updated_date... OK
2024-05-11 14:12:10 Applying analytics_report.0001_initial... OK
2024-05-11 14:12:10 Applying contenttypes.0002_remove_content_type_name... OK
2024-05-11 14:12:10 Applying auth.0002_alter_permission_name_max_length... OK
2024-05-11 14:12:10 Applying auth.0003_alter_user_email_max_length... OK
2024-05-11 14:12:10 Applying auth.0004_alter_user_username_opts... OK
2024-05-11 14:12:10 Applying auth.0005_alter_user_last_login_null... OK
2024-05-11 14:12:10 Applying auth.0006_require_contenttypes_0002... OK
2024-05-11 14:12:10 Applying auth.0007_alter_validators_add_error_messages... OK
2024-05-11 14:12:10 Applying auth.0008_alter_user_username_max_length... OK
2024-05-11 14:12:10 Applying auth.0009_alter_user_last_name_max_length... OK
2024-05-11 14:12:10 Applying auth.0010_alter_group_name_max_length... OK
2024-05-11 14:12:10 Applying auth.0011_update_proxy_permissions... OK
2024-05-11 14:12:10 Applying auth.0012_alter_user_first_name_max_length... OK
2024-05-11 14:12:10 Applying authtoken.0001_initial... OK
2024-05-11 14:12:10 Applying authtoken.0002_auto_20160226_1747... OK
2024-05-11 14:12:10 Applying authtoken.0003_tokenproxy... OK
2024-05-11 14:12:10 Applying dataset_repo.0001_initial... OK
2024-05-11 14:12:10 Applying dataset_repo.0002_auto_20190123_1305... OK
2024-05-11 14:12:10 Applying dataset_repo.0003_gitdata_lfs... OK
2024-05-11 14:12:10 Applying dataset_repo.0004_rename... OK
2024-05-11 14:12:10 Applying dataset_repo.0005_auto_20201019_1100... OK
2024-05-11 14:12:10 Applying dataset_repo.0006_gitdata_format... OK
2024-05-11 14:12:10 Applying dataset_repo.0007_delete_gitdata... OK
2024-05-11 14:12:10 Applying db.0001_initial... OK
2024-05-11 14:12:10 Applying django_rq.0001_initial... OK
2024-05-11 14:12:10 Applying engine.0073_alter_attributespec_default_value_and_more... OK
2024-05-11 14:12:10 Applying engine.0074_alter_labeledimage_source_alter_labeledshape_source_and_more... OK
2024-05-11 14:12:10 Applying engine.0075_annotationguide_is_public... OK
2024-05-11 14:12:10 Applying engine.0076_remove_storages_that_refer_to_deleted_cloud_storages... OK
2024-05-11 14:12:10 Applying engine.0077_auto_20231121_1952... OK
2024-05-11 14:12:11 Applying engine.0078_alter_cloudstorage_credentials... OK
2024-05-11 14:12:11 Applying organizations.0002_invitation_sent_date... OK
2024-05-11 14:12:11 Applying quality_control.0001_initial... OK
2024-05-11 14:12:11 Applying sessions.0001_initial... OK
2024-05-11 14:12:11 Applying sites.0001_initial... OK
2024-05-11 14:12:11 Applying sites.0002_alter_domain_unique... OK
2024-05-11 14:12:11 Applying socialaccount.0001_initial... OK
2024-05-11 14:12:11 Applying socialaccount.0002_token_max_lengths... OK
2024-05-11 14:12:11 Applying socialaccount.0003_extra_data_default_dict... OK
2024-05-11 14:12:11 Applying socialaccount.0004_app_provider_id_settings... OK
2024-05-11 14:12:11 Applying socialaccount.0005_socialtoken_nullable_app... OK
2024-05-11 14:12:11 Applying webhooks.0001_initial... OK
2024-05-11 14:12:11 Applying webhooks.0002_alter_webhookdelivery_status_code... OK
2024-05-11 14:12:11 Applying webhooks.0003_alter_webhookdelivery_status_code... OK
2024-05-11 14:12:11 Applying webhooks.0004_alter_webhook_target_url... OK
2024-05-11 14:12:13
2024-05-11 14:12:13 163 static files copied to '/home/django/static'.
2024-05-11 14:12:13 waiting for migrations to complete...
2024-05-11 14:12:15 2024-05-11 06:12:15,716 INFO Creating socket unix:///tmp/uvicorn.sock
2024-05-11 14:12:15 2024-05-11 06:12:15,716 INFO Closing socket unix:///tmp/uvicorn.sock
2024-05-11 14:12:15 2024-05-11 06:12:15,717 INFO RPC interface 'supervisor' initialized
2024-05-11 14:12:15 2024-05-11 06:12:15,717 CRIT Server 'unix_http_server' running without any HTTP authentication checking
2024-05-11 14:12:15 2024-05-11 06:12:15,717 INFO supervisord started with pid 1
2024-05-11 14:12:16 2024-05-11 06:12:16,722 INFO spawned: 'clamav_update' with pid 134
2024-05-11 14:12:16 2024-05-11 06:12:16,724 INFO spawned: 'nginx-0' with pid 135
2024-05-11 14:12:16 2024-05-11 06:12:16,731 INFO spawned: 'smokescreen' with pid 136
2024-05-11 14:12:16 2024-05-11 06:12:16,731 INFO Creating socket unix:///tmp/uvicorn.sock
2024-05-11 14:12:16 2024-05-11 06:12:16,732 DEBG fd 20 closed, stopped monitoring <PInputDispatcher at 139690267538576 for <Subprocess at 139690267527200 with name uvicorn-0 in state STARTING> (stdin)>
2024-05-11 14:12:16 2024-05-11 06:12:16,733 INFO spawned: 'uvicorn-0' with pid 137
2024-05-11 14:12:16 2024-05-11 06:12:16,733 DEBG fd 24 closed, stopped monitoring <PInputDispatcher at 139690267539152 for <Subprocess at 139690267527056 with name uvicorn-1 in state STARTING> (stdin)>
2024-05-11 14:12:16 2024-05-11 06:12:16,734 INFO spawned: 'uvicorn-1' with pid 138
2024-05-11 14:12:16 2024-05-11 06:12:16,734 DEBG fd 7 closed, stopped monitoring <POutputDispatcher at 139690267062768 for <Subprocess at 139690267062672 with name clamav_update in state STARTING> (stdout)>
2024-05-11 14:12:16 2024-05-11 06:12:16,734 DEBG fd 9 closed, stopped monitoring <POutputDispatcher at 139690267536992 for <Subprocess at 139690267062672 with name clamav_update in state STARTING> (stderr)>
2024-05-11 14:12:16 2024-05-11 06:12:16,734 INFO exited: clamav_update (exit status 0; expected)
2024-05-11 14:12:16 2024-05-11 06:12:16,735 DEBG received SIGCHLD indicating a child quit
2024-05-11 14:12:16 2024-05-11 06:12:16,735 DEBG 'nginx-0' stderr output:
2024-05-11 14:12:16 nginx: [alert] could not open error log file: open() "/var/log/nginx/error.log" failed (13: Permission denied)
2024-05-11 14:12:16
2024-05-11 14:12:16 2024-05-11 06:12:16,739 DEBG 'uvicorn-0' stderr output:
2024-05-11 14:12:16 wait-for-it.sh: waiting for cvat_db:5432 without a timeout
2024-05-11 14:12:16
2024-05-11 14:12:16 2024-05-11 06:12:16,741 DEBG 'uvicorn-1' stderr output:
2024-05-11 14:12:16 wait-for-it.sh: waiting for cvat_db:5432 without a timeout
2024-05-11 14:12:16
2024-05-11 14:12:16 2024-05-11 06:12:16,741 DEBG 'smokescreen' stderr output:
2024-05-11 14:12:16 {"level":"info","msg":"starting","time":"2024-05-11T06:12:16Z"}
2024-05-11 14:12:16
2024-05-11 14:12:16 2024-05-11 06:12:16,742 DEBG 'uvicorn-0' stderr output:
2024-05-11 14:12:16 wait-for-it.sh: cvat_db:5432 is available after 0 seconds
2024-05-11 14:12:16
2024-05-11 14:12:16 2024-05-11 06:12:16,743 DEBG 'uvicorn-1' stderr output:
2024-05-11 14:12:16 wait-for-it.sh: cvat_db:5432 is available after 0 seconds
2024-05-11 14:12:16
2024-05-11 14:12:16 2024-05-11 06:12:16,746 DEBG 'uvicorn-0' stderr output:
2024-05-11 14:12:16 wait-for-it.sh: waiting for cvat_redis_inmem:6379 without a timeout
2024-05-11 14:12:16
2024-05-11 14:12:16 2024-05-11 06:12:16,747 DEBG 'uvicorn-1' stderr output:
2024-05-11 14:12:16 wait-for-it.sh: waiting for cvat_redis_inmem:6379 without a timeout
2024-05-11 14:12:16
2024-05-11 14:12:16 2024-05-11 06:12:16,747 DEBG fd 14 closed, stopped monitoring <POutputDispatcher at 139690267537232 for <Subprocess at 139690267526480 with name nginx-0 in state STARTING> (stderr)>
2024-05-11 14:12:16 2024-05-11 06:12:16,748 DEBG 'uvicorn-0' stderr output:
2024-05-11 14:12:16 wait-for-it.sh: cvat_redis_inmem:6379 is available after 0 seconds
2024-05-11 14:12:16
2024-05-11 14:12:16 2024-05-11 06:12:16,749 DEBG 'uvicorn-1' stderr output:
2024-05-11 14:12:16 wait-for-it.sh: cvat_redis_inmem:6379 is available after 0 seconds
2024-05-11 14:12:16
2024-05-11 14:12:16 2024-05-11 06:12:16,752 DEBG 'uvicorn-0' stderr output:
2024-05-11 14:12:16 wait-for-it.sh: waiting for cvat_redis_ondisk:6666 without a timeout
2024-05-11 14:12:16
2024-05-11 14:12:16 2024-05-11 06:12:16,753 DEBG 'uvicorn-1' stderr output:
2024-05-11 14:12:16 wait-for-it.sh: waiting for cvat_redis_ondisk:6666 without a timeout
2024-05-11 14:12:16
2024-05-11 14:12:16 2024-05-11 06:12:16,754 DEBG 'uvicorn-0' stderr output:
2024-05-11 14:12:16 wait-for-it.sh: cvat_redis_ondisk:6666 is available after 0 seconds
2024-05-11 14:12:16
2024-05-11 14:12:16 2024-05-11 06:12:16,755 DEBG 'uvicorn-1' stderr output:
2024-05-11 14:12:16 wait-for-it.sh: cvat_redis_ondisk:6666 is available after 0 seconds
2024-05-11 14:12:16
2024-05-11 14:12:17 2024-05-11 06:12:17,756 INFO success: nginx-0 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2024-05-11 14:12:17 2024-05-11 06:12:17,756 INFO success: smokescreen entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2024-05-11 14:12:17 2024-05-11 06:12:17,756 INFO success: uvicorn-0 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2024-05-11 14:12:17 2024-05-11 06:12:17,756 INFO success: uvicorn-1 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2024-05-11 14:12:18 2024-05-11 06:12:18,231 DEBG 'uvicorn-0' stderr output:
2024-05-11 14:12:18 INFO: Started server process [137]
2024-05-11 14:12:18 INFO: Waiting for application startup.
2024-05-11 14:12:18
2024-05-11 14:12:18 2024-05-11 06:12:18,231 DEBG 'uvicorn-0' stderr output:
2024-05-11 14:12:18 INFO: ASGI 'lifespan' protocol appears unsupported.
2024-05-11 14:12:18 INFO: Application startup complete.
2024-05-11 14:12:18
2024-05-11 14:12:18 2024-05-11 06:12:18,231 DEBG 'uvicorn-1' stderr output:
2024-05-11 14:12:18 INFO: Started server process [138]
2024-05-11 14:12:18 INFO: Waiting for application startup.
2024-05-11 14:12:18
2024-05-11 14:12:18 2024-05-11 06:12:18,231 DEBG 'uvicorn-1' stderr output:
2024-05-11 14:12:18 INFO: ASGI 'lifespan' protocol appears unsupported.
2024-05-11 14:12:18 INFO: Application startup complete.
2024-05-11 14:12:18
2024-05-11 14:12:18 2024-05-11 06:12:18,231 DEBG 'uvicorn-0' stderr output:
2024-05-11 14:12:18 INFO: Uvicorn running on socket /tmp/uvicorn.sock (Press CTRL+C to quit)
2024-05-11 14:12:18
2024-05-11 14:12:18 2024-05-11 06:12:18,232 DEBG 'uvicorn-1' stderr output:
2024-05-11 14:12:18 INFO: Uvicorn running on socket /tmp/uvicorn.sock (Press CTRL+C to quit)
2024-05-11 14:12:18
2024-05-11 14:12:20 2024-05-11 06:12:20,197 DEBG 'uvicorn-1' stdout output:
2024-05-11 14:12:20 INFO: 172.18.0.2:0 - "GET /api/auth/rules HTTP/1.0" 200 OK
2024-05-11 14:12:20
2024-05-11 14:12:31 2024-05-11 06:12:31,936 DEBG 'uvicorn-1' stdout output:
2024-05-11 14:12:31 INFO: 172.18.0.2:0 - "GET /api/auth/rules HTTP/1.0" 304 Not Modified
2024-05-11 14:12:31
2024-05-11 14:12:42 2024-05-11 06:12:42,863 DEBG 'uvicorn-0' stdout output:
2024-05-11 14:12:42 INFO: 172.18.0.2:0 - "GET /api/auth/rules HTTP/1.0" 200 OK
2024-05-11 14:12:42
2024-05-11 14:12:54 2024-05-11 06:12:54,058 DEBG 'uvicorn-1' stdout output:
2024-05-11 14:12:54 INFO: 172.18.0.2:0 - "GET /api/auth/rules HTTP/1.0" 200 OK
2024-05-11 14:12:54
2024-05-11 14:13:08 2024-05-11 06:13:08,543 DEBG 'uvicorn-1' stdout output:
2024-05-11 14:13:08 INFO: 172.18.0.2:0 - "GET /api/auth/rules HTTP/1.0" 304 Not Modified

Expected Behavior

No response

Possible Solution

No response

Context

No response

Environment

Windows 11
WSL2 Ubuntu 22.04
Python 3.10
Docker 26.1.1, build 4cf5afa

@kaworuist kaworuist added the bug Something isn't working label May 11, 2024
@kaworuist
Copy link
Author

I fixed the problem, it was indeed an environmental issue, I installed multiple versions of Ubuntu on WSL, where the default WSL system had postgresql installed before it, and each time it started itself, causing me to connect to another postgresql every time I connected to wsl in the CVAT development environment. The development environment was successfully deployed after the process was closed. I will now close this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant