Skip to content

install.sh hangs during superuser creation under Docker Compose v2 #1133

@mowangjuanzi

Description

@mowangjuanzi

Workaround

With Docker Compose < 2.2.1(?):

./install.sh --no-user-prompt
docker compose run --rm web createuser

Docker Compose >= v2.2.1(?) is known to partially work.

Update

Fixed in docker/compose#9035! 💃 Released in 2.2.3. 👍

Original Report

Docker version 20.10.10, build b485636

Docker Compose version v2.0.1

Version

21.10.0

Steps to Reproduce

sudo ./install.sh

Expected Result

Install Success

Actual Result

Running hooks in /etc/ca-certificates/update.d...
done.
02:45:10 [WARNING] sentry.utils.geo: Error opening GeoIP database: /geoip/GeoLite2-City.mmdb
02:45:10 [WARNING] sentry.utils.geo: Error opening GeoIP database in Rust: /geoip/GeoLite2-City.mmdb
02:45:12 [INFO] sentry.plugins.github: apps-not-configured
Running migrations for default

Project Options: N/A% | | ETA: --:--:--

Project Options: 100% |#########################################| Time: 0:00:00
Operations to perform:
Apply all migrations: admin, auth, contenttypes, nodestore, sentry, sessions, sites, social_auth
Running migrations:
Applying sentry.0240_grouphistory_index... OK
Applying sentry.0241_grouphistory_null_actor... OK
Applying sentry.0242_delete_removed_plugin_data... OK
Applying sentry.0243_delete_visualstudio_repo_data... OK

Would you like to create a user account now? [Y/n]:

At this time, the terminal does not respond. There is no choice but to close the terminal. After closing, the log output is as follows

read /dev/stdin: input/output error

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions