Wallabag container never actually successfully starts up again after the initial run and installation.
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- docker, docker-compose, postgresql, redis
- Domain
- databases, devops, infrastructure
Research direction
Start with the supplied docker-compose.yml and reproduce the restart loop, then inspect the wallabag container logs alongside the PostgreSQL and Redis service state. The issue is resolved when the stack starts successfully after a container or host restart and remains available without repeated provisioner cycles.
Written by the indexing model from the issue text.
Description
Basically it never survived the reboot.
I got one run and that was one hell to setup.
I'm using docker compose with Postgres and redis.
My Wallabag container basically just cycles through this over and over again:
[WARNING]: Found both group and host with same name: localhost
[WARNING]: Platform linux on host localhost is using the discovered Python
interpreter at /usr/bin/python3, but future installation of another Python
interpreter could change this. See https://docs.ansible.com/ansible/2.9/referen
ce_appendices/interpreter_discovery.html for more information.
Starting provisioner...
[WARNING]: Found both group and host with same name: localhost
[WARNING]: Platform linux on host localhost is using the discovered Python
interpreter at /usr/bin/python3, but future installation of another Python
interpreter could change this. See https://docs.ansible.com/ansible/2.9/referen
ce_appendices/interpreter_discovery.html for more information.
Starting provisioner...
[WARNING]: Found both group and host with same name: localhost
[WARNING]: Platform linux on host localhost is using the discovered Python
interpreter at /usr/bin/python3, but future installation of another Python
interpreter could change this. See https://docs.ansible.com/ansible/2.9/referen
ce_appendices/interpreter_discovery.html for more information.
etc...
This is my docker-compose.yml:
# Wallabag is a self hostable application for saving web pages. Unlike other services, wallabag is free (as in freedom) and open source.
#
# Default user/password
# User: wallabag
# Password: wallabag
version: "3.4"
services:
wallabag:
image: wallabag/wallabag
restart: unless-stopped
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=<REDACTED>
- SYMFONY__ENV__DATABASE_DRIVER=pdo_pgsql
- SYMFONY__ENV__DATABASE_HOST=wallabag-db
- SYMFONY__ENV__DATABASE_PORT=5432
- SYMFONY__ENV__DATABASE_NAME=wallabag
- SYMFONY__ENV__DATABASE_USER=wallabag
# We don't need the database password, since Postgres is set up to trust
# - SYMFONY__ENV__DATABASE_PASSWORD=<REDACTED>
- SYMFONY__ENV__DATABASE_CHARSET=utf8
- SYMFONY__ENV__DOMAIN_NAME=<REDACTED>
- SYMFONY__ENV__SERVER_NAME=<REDACTED>
- SYMFONY__ENV__MAILER_HOST=127.0.0.1
- SYMFONY__ENV__MAILER_USER=~
- SYMFONY__ENV__MAILER_PASSWORD=~
- [email protected]
- POPULATE_DATABASE=False
ports:
- "55771:80"
volumes:
- "/etc/localtime:/etc/localtime:ro" # Use Host time
- "wallabag-images:/var/www/wallabag/web/assets/images"
healthcheck:
test: ["CMD", "wget" ,"--no-verbose", "--tries=1", "--spider", "http://localhost"]
interval: 1m
timeout: 3s
depends_on:
- redis
- wallabag-db
links:
- "wallabag-db:wallabag-db" # resolve the hostname "wallabag-db" with the ip of the wallabag-db container
wallabag-db:
image: postgres:11-alpine
restart: unless-stopped
hostname: wallabag-db
environment:
- PGUSER=postgres
- POSTGRES_USER=wallabag
- POSTGRES_PASSWORD=<REDACTED>
- POSTGRES_DB=wallabag
- POSTGRES_HOST_AUTH_METHOD=trust
volumes:
- "/etc/localtime:/etc/localtime:ro" # Use Host time
- "wallabag-data:/var/lib/postgresql/data"
healthcheck:
test: ["CMD-SHELL", "pg_isready -q || exit 1"]
interval: 10s
timeout: 3s
retries: 3
redis:
image: redis:alpine
restart: unless-stopped
healthcheck:
test: ["CMD", "redis-cli", "ping"]
interval: 20s
timeout: 3s
volumes:
wallabag-data:
driver: local
driver_opts:
type: 'none'
o: 'bind'
device: "<REDACTED>"
wallabag-images:
driver: local
driver_opts:
type: 'none'
o: 'bind'
device: "<REDACTED>"
I am absolutely at the end of my wisdom, I have never had a deployment this hard to get done and most importantly:
It did run, but after a restart of the container: NADA.
What the hell?
- Dominant language
- Shell
- Stars
- 771
- Forks
- 168
- PR merge metrics
- No merged PRs in 30d
Getting set up
- Ships a Dockerfile or Docker Compose file
- No pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from wallabag/docker
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
Awaiting response
Difficulty 4/5 3-5 days Newbie friendliness 32/100
-
Difficulty 4/5 3-5 days Newbie friendliness 28/100
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
koalaman/shellcheck#3593 ·
-
Link Checker ReportOpenautomated issue report
Difficulty 1/5 Under an hour Newbie friendliness 78/100
a2aproject/A2A#2381 ·
Maintainers usually reply within 3 days
-
e2e-failure ready-to-code
Difficulty 1/5 Under an hour Newbie friendliness 82/100
redhat-developer/rhdh-plugin-export-overlays#4485 · 1 comment ·
Maintainers usually reply within 1 day
-
DSH /pwf-status reports no plan when PLAN_ID is requiredPossibly taken @kuei51307-hub claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
OthmanAdi/planning-with-files#332 · 1 reaction ·
Maintainers usually reply within 1 day