ClickHouse/ClickHouse

Docker image with CLICKHOUSE_GID: DB::Exception: Group 0 is not found in the system

Aperta

#42.400 aperta il 17 ott 2022

 (21 commenti) (2 reazioni) (0 assegnatari)C++ (8400 fork)batch import
easy taskhelp wantedst-need-infounexpected behaviour

Metriche repository

Star
 (47.419 stelle)
Metriche merge PR
 (Merge medio 2g 2h) (1000 PR mergiate in 30 g)

Descrizione

Since 22.6 docker image with ENVs CLICKHOUSE_UID=0 and CLICKHOUSE_GID=0 doesn't start:

# docker run --rm -e CLICKHOUSE_UID=0 -e CLICKHOUSE_GID=0 --name clickhouse-server clickhouse/clickhouse-server:22.6
Code: 36. DB::Exception: Group {} is not found in the system. (BAD_ARGUMENTS) (version 22.6.9.11 (official build))

# docker run --rm -e CLICKHOUSE_UID=0 -e CLICKHOUSE_GID=0 --name clickhouse-server clickhouse/clickhouse-server:22.7
Code: 36. DB::Exception: Group 0 is not found in the system. (BAD_ARGUMENTS) (version 22.7.6.74 (official build))

# docker run --rm -e CLICKHOUSE_UID=0 -e CLICKHOUSE_GID=0 --name clickhouse-server clickhouse/clickhouse-server:22.8
Code: 36. DB::Exception: Group 0 is not found in the system. (BAD_ARGUMENTS) (version 22.8.6.71 (official build))

# docker run --rm -e CLICKHOUSE_UID=0 -e CLICKHOUSE_GID=0 --name clickhouse-server clickhouse/clickhouse-server:22.9
Code: 36. DB::Exception: Group 0 is not found in the system. (BAD_ARGUMENTS) (version 22.9.3.18 (official build))

Error Group {} is not found in the system seen in version 22.6 has been fixed in https://github.com/ClickHouse/ClickHouse/issues/38583 and after that error message changed to Group 0 is not found in the system.

Guida contributor