Open HumorBaby opened 5 years ago
Not sure if this is 100% related, but I am running into an issue where Sopel will randomly start duplicating module results (weather, youtube, etc.)
Using docker-compose
sopel:
depends_on:
- db
environment:
- EXTRA_PYPI_PACKAGES=google-api-python-client pyfiglet sopel-modules.bucket sopel-modules.cryptocurrency sopel-modules.imdb sopel-modules.quotes sopel-modules.stocks sopel-modules.urban sopel-modules.weather sopel-modules.youtube
- EXTRA_APK_PACKAGES=mariadb-connector-c-dev
image: sopelirc/sopel:latest
restart: always
volumes:
- ./sopel:/home/sopel/.sopel
No Bouncer
Labels:
"Labels": {
"com.docker.compose.config-hash": "63bdfd51ed9379248967f175fe6e4 a4c3a6b7056086247899e6ccd4a30f56c7f",
"com.docker.compose.container-number": "1",
"com.docker.compose.oneoff": "False",
"com.docker.compose.project": "sopel",
"com.docker.compose.service": "sopel",
"com.docker.compose.version": "1.22.0",
"dockerfile.vcf-ref": "9e68621",
"dockerfile.vcs-url": "https://github.com/sopel-irc/docker-sopel ",
"maintainer": "Humorous Baby <humorbaby@humorbaby.net>",
"org.label-schema.build-date": "2019-05-10T12:21:54Z",
"org.label-schema.description": " Sopel, the Python IRC bot. For stand-alone or compose/stack service use.",
"org.label-schema.name": "sopel",
"org.label-schema.schema-version": "1.0",
"org.label-schema.url": "https://sopel.chat",
"org.label-schema.vcs-ref": "d8b4233",
"org.label-schema.vcs-url": "https://github.com/sopel-irc/sopel" ,
"org.label-schema.version": "Python 3.6.8/Sopel v6.6.8"
}
},
A user reports that container restarts lead to duplicated responses. For example, after a restart,
.weather xxx
responds twice. After another restart,.weather xxx
responds three times.Unfortunately, I am not able to duplicate this with the following:
After subsequent restarts, the
.weather xxx
command still responds only one time."Labels"
fromsopelirc/sopel
image used for testing:More information is required:
docker inspect sopelirc/sopel
, specifically the"Labels"
metadata.