Joplin will no longer start or update looks like a db error

Operating system

Linux

Joplin version

2.32.2

Desktop version info

No idea will not start

Sync target

Joplin Server

Editor

Rich Text Editor

What issue do you have?

I have joplin in portainer and run with a docker compose file it will no longer start or update or do a docker-compose up -d!
Dont know the version as it will not start

My logs are
22:51:57 0|app | 2024-03-08 22:51:57: db: Could not connect. Will try again. getaddrinfo ENOTFOUND db 100's of these
I have not changed any settings so no idea why it will no longer work


services:
    db:
        image: postgres:15-bookworm
        volumes:
            - /srv/dev-disk-by-uuid-1b21b65f-12ef-4592-9f0f-38b5369e1b7f/appdata/joplin:/var/lib/postgresql/data
        ports:
            - "5432:5432"
        restart: unless-stopped
        environment:
            - POSTGRES_PASSWORD=REDACTED
            - POSTGRES_USER=joplindb
            - POSTGRES_DB=joplin
            - HOSTNAME=mydomain
    app:
        image: joplin/server:latest
        depends_on:
            - db
        ports:
            - "22300:22300"
        restart: unless-stopped
        environment:
            - APP_PORT=22300
            - APP_BASE_URL=https://mydomain 
            - DB_CLIENT=pg
            - POSTGRES_PASSWORD=REDACTED
            - POSTGRES_DATABASE=joplin
            - POSTGRES_USER=joplindb
            - POSTGRES_PORT=5432
            - POSTGRES_HOST=db
            #- MAILER_ENABLED=1
            #- MAILER_HOST=smtp.gmail.com
            #- MAILER_PORT=465
            #- MAILER_SECURE=1
            #- MAILER_AUTH_USER=thor
            #- MAILER_AUTH_PASSWORD=REDACTED
            #- MAILER_NOREPLY_NAME=Joplin
            #- MAILER_NOREPLY_EMAIL=myemail
            
volumes:
  joplindb:```

The server is down so you need to check Joplin Server logs and nginx log to find out why

Here are my logs from trying to start the db

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.