aheil / aheil/docker-ttrss

Race condition at first time startup

Abierto
#3 0 comentarios 0 reacciones 0 asignados Ver en GitHub
bug help wanted
Lenguaje dominante
Shell
Estrellas
9
Forks
1
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

When containers are started the first time, there might occure a dace condition while the database is not yet fully set up. database_ready seams not to return a vaild integer value then.

```
ttrss_php_1 | Initializing config.php
ttrss_php_1 | /docker-entrypoint.sh: line 49: [: database_ready: integer expression expected
```
Proposed fix: within the function check the value for 1, otherwise return 0 instead of returning the variable

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.