Skip to content

Bug: FATAL: database "splitpro" does not exist #356

@Silther

Description

@Silther

Describe the bug
if I look in the portainer logs of my postgres container I get the following error:
´FATAL: database "splitpro" does not exist´
but everything still works.
This error is not new ( at least a week old

To Reproduce
Steps to reproduce the behavior:

  1. Go to your docker postgress logs

Expected behavior
should only show errors if something is wrong

Screenshots

Image

App version
v1.5.1

Additional context

compose:

postgres:
container_name: splitpro-postgres
image: postgres:16
restart: unless-stopped
volumes:
- path/splitpro/database:/var/lib/postgresql/data
env_file:
- .env
healthcheck:
test: ['CMD-SHELL', 'pg_isready -U ${POSTGRES_USER}']
interval: 10s
timeout: 5s
retries: 5

.env:

postgres

POSTGRES_USER=splitpro
POSTGRES_PASSWORD=password
POSTGRES_DB=splitprodb
POSTGRES_PORT=5432

DATABASE_URL=postgresql://splitpro:password@postgres:5432/splitprodb

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions