maybe
maybe copied to clipboard
Bug: [libxml2: getentropy failed with error code 38]
Where did this bug occur? (required)
This bug occurs when I want to start the application.
- I am a self-hosted user reporting a bug from my self hosted app
Describe the bug
I'm running the Maybe
containers on a Synology DS716+II
.
I'm using ghcr.io/maybe-finance/maybe:stable
but the same problem occurs with ghcr.io/maybe-finance/maybe:latest
Here's my docker-compose, I'm not sure you'll find relevant informations here :
version: "2.1"
networks:
web:
name: web
external: true
services:
maybe:
image: ghcr.io/maybe-finance/maybe:stable
labels:
- "traefik.http.routers.maybe.rule=Host(`maybe.mysecretdomain.org`)"
- "traefik.http.routers.maybe.service=maybe"
- "traefik.http.routers.maybe.tls.certresolver=leresolver"
- "traefik.http.routers.maybe.entrypoints=websecure"
- "traefik.http.services.maybe.loadbalancer.server.port=3000"
container_name: maybe
environment:
TZ: "Europe/Paris"
SELF_HOSTED: "true"
RAILS_FORCE_SSL: "false"
RAILS_ASSUME_SSL: "false"
GOOD_JOB_EXECUTION_MODE: async
SECRET_KEY_BASE: ${SECRET_KEY_BASE:?}
DB_HOST: postgres
POSTGRES_DB: ${POSTGRES_DB:-maybe_production}
POSTGRES_USER: ${POSTGRES_USER:-maybe_user}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:?}
volumes:
- /volume1/docker/maybe/data/storage:/rails/storage
networks:
- web
restart: unless-stopped
depends_on:
postgres:
condition: service_healthy
postgres:
image: postgres:16
restart: unless-stopped
volumes:
- /volume1/docker/maybe/data/postgres:/var/lib/postgresql/data
environment:
POSTGRES_USER: ${POSTGRES_USER:-maybe_user}
POSTGRES_DB: ${POSTGRES_DB:-maybe_production}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:?}
healthcheck:
test: [ "CMD-SHELL", "pg_isready -U $$POSTGRES_USER -d $$POSTGRES_DB" ]
interval: 5s
timeout: 5s
retries: 5
When trying to start the application, the postgres
container is running and healthy, but maybe
container won't start :
bazirico@nas:/volume1/docker/maybe$ sudo docker-compose logs maybe
maybe | libxml2: getentropy failed with error code 38
maybe | /rails/bin/docker-entrypoint: line 6: 7 Aborted (core dumped) ./bin/rails db:prepare
maybe | libxml2: getentropy failed with error code 38
maybe | /rails/bin/docker-entrypoint: line 6: 7 Aborted (core dumped) ./bin/rails db:prepare
maybe | libxml2: getentropy failed with error code 38
maybe | /rails/bin/docker-entrypoint: line 6: 7 Aborted (core dumped) ./bin/rails db:prepare
To Reproduce Steps to reproduce the behavior:
- Follow the self hosted installation tutorial, then copy your
docker-compose.yaml
in yourSynology
NAS. -
sudo docker-compose up -d
-
sudo docker-compose logs maybe
- Check the error
Expected behavior The application should start without any errors.