Page MenuHomePhabricator

WDQS bash: cannot set terminal process group (-1): Inappropriate ioctl for device
Open, Needs TriagePublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

Wikibase release pipeline with current latest stable version 1.41.1 deployed on Docker version 26.0.0 hosted on Ubuntu 20.04.6 LTS

What happens?:

The command :
docker compose -f docker-compose.yml -f docker-compose.extra.yml run --rm wdqs-updater bash

Returns error message:

bash: cannot set terminal process group (-1): Inappropriate ioctl for device
bash: no job control in this shell
bash: /root/.bashrc: Permission denied

And so command using environment variables failed, for exemple :

docker compose -f docker-compose.yml -f docker-compose.extra.yml run --rm wdqs-updater bash -c 'echo $WIKIBASE_HOST'

The environment variable is not displayed

What should have happened instead?:

The environment variables should be displayed with previous command.

Software version (on Special:Version page; skip for WMF-hosted wikis like Wikipedia):

The issue seems to appear since version wikibase/wdqs:0.3.137-wmde.16/17/19/20

In previous wikibase/wdqs:0.3.135-wmde.14 there is not the issue.

Other information (browser name/version, screenshots, etc.):