Unable to connect to Joplin-Server

I did the normal install, and copied the URL (local IP) to the APP_BASE_URL parameter. Was unable to connect. I tried other things like setting the network to the bridge network, also tried the networks with Joplin in the name. I also tried setting both the Joplin app, and the Joplin Postgres DB to the same network values. I verified the password from Joplin Postgres DB is the same in the Joplin app.
I’ve tried dozens of setting changes the past few days trying to get this working, but I am defeated.

Here’s the yaml

name: big-bear-joplin
services:
  big-bear-joplin:
    cpu_shares: 90
    command: []
    container_name: big-bear-joplin
    depends_on:
      big-bear-joplin-db:
        condition: service_started
        required: true
    deploy:
      resources:
        limits:
          memory: 2048M
    environment:
      - APP_BASE_URL=http://192.168.8.17:22300/
      - APP_PORT=22300
      - DB_CLIENT=pg
      - MAX_TIME_DRIFT=0
      - POSTGRES_DATABASE=joplin
      - POSTGRES_HOST=big-bear-joplin-db
      - POSTGRES_PASSWORD=27a1d42a-a15d-43dd-903c-2a73538647fe
      - POSTGRES_PORT=5432
      - POSTGRES_USER=bigbear
    hostname: big-bear-joplin
    image: florider89/joplin-server:2.14.2
    labels:
      icon: https://github.com/walkxcode/dashboard-icons/blob/main/png/joplin.png?raw=true
    ports:
      - mode: ingress
        target: 22300
        published: "22300"
        protocol: tcp
    restart: unless-stopped
    x-casaos:
      envs:
        - description:
            en_us: "Application Port: 22300"
          name: APP_PORT
        - description:
            en_us: Application Base URL
          name: APP_BASE_URL
        - description:
            en_us: "Database Client: pg"
          name: DB_CLIENT
        - description:
            en_us: "Postgres Password: 27a1d42a-a15d-43dd-903c-2a73538647fe"
          name: POSTGRES_PASSWORD
        - description:
            en_us: "Postgres User: bigbear"
          name: POSTGRES_USER
        - description:
            en_us: "Postgres Database: joplin"
          name: POSTGRES_DATABASE
        - description:
            en_us: "Postgres Port: 5432"
          name: POSTGRES_PORT
        - description:
            en_us: "Postgres Host: big-bear-joplin-db"
          name: POSTGRES_HOST
        - description:
            en_us: "Max Time Drift: 0"
          name: MAX_TIME_DRIFT
      ports:
        - container: "22300"
          description:
            en_us: "Container Port: 22300"
    volumes: []
    devices: []
    cap_add: []
    network_mode: bridge
    privileged: false
  big-bear-joplin-db:
    cpu_shares: 90
    command: []
    container_name: big-bear-joplin-db
    deploy:
      resources:
        limits:
          memory: 2048M
    environment:
      - POSTGRES_DB=joplin
      - POSTGRES_PASSWORD=27a1d42a-a15d-43dd-903c-2a73538647fe
      - POSTGRES_USER=bigbear
    hostname: big-bear-joplin-db
    image: postgres:14.2
    labels:
      icon: https://github.com/walkxcode/dashboard-icons/blob/main/png/joplin.png?raw=true
    restart: unless-stopped
    volumes:
      - type: bind
        source: /DATA/AppData/big-bear-joplin/postgresql/data
        target: /var/lib/postgresql/data
        bind:
          create_host_path: true
    x-casaos:
      envs:
        - description:
            en_us: "Postgres Password: 27a1d42a-a15d-43dd-903c-2a73538647fe"
          name: POSTGRES_PASSWORD
        - description:
            en_us: "Postgres User: casaos"
          name: POSTGRES_USER
        - description:
            en_us: "Postgres Database: joplin"
          name: POSTGRES_DB
      ports:
        - container: "5432"
          description:
            en_us: "Container Port: 5432"
      volumes:
        - container: /var/lib/postgresql/data
          description:
            en_us: "Container Volume: /var/lib/postgresql/data"
    ports: []
    devices: []
    cap_add: []
    network_mode: bridge
    privileged: false
x-casaos:
  architectures:
    - amd64
    - arm64
  author: BigBearTechWorld
  category: BigBearCasaOS
  description:
    en_us: Note taking and to-do application with synchronisation
  developer: joplin
  hostname: ""
  icon: https://github.com/walkxcode/dashboard-icons/blob/main/png/joplin.png?raw=true
  index: /
  main: big-bear-joplin
  port_map: "22300"
  scheme: http
  store_app_id: big-bear-joplin
  tagline:
    en_us: joplin
  thumbnail: ""
  tips:
    before_install:
      en_us: >
        Read this before installing:
        https://community.bigbeartechworld.com/t/added-joplin-server-to-bigbearcasaos/800?u=dragonfire1119
  title:
    custom: ""
    en_us: joplin

Here’s some logs

big-bear-joplin  | 21:09:44 0|app    | 2024-06-20 21:09:44: db: Could not connect. Will try again. getaddrinfo ENOTFOUND big-bear-joplin-db
big-bear-joplin  | 21:09:44 0|app    | 2024-06-20 21:09:44: [error] db: Timeout trying to connect to database: Error: getaddrinfo ENOTFOUND big-bear-joplin-db
big-bear-joplin  | 21:09:44 0|app    |     at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:107:26) {
big-bear-joplin  | 21:09:44 0|app    |   errno: -3008,
big-bear-joplin  | 21:09:44 0|app    |   code: 'ENOTFOUND',
big-bear-joplin  | 21:09:44 0|app    |   syscall: 'getaddrinfo',
big-bear-joplin  | 21:09:44 0|app    |   hostname: 'big-bear-joplin-db'
big-bear-joplin  | 21:09:44 0|app    | }
big-bear-joplin  | 21:09:44 0|app    | Error: Timeout trying to connect to database. Last error was: getaddrinfo ENOTFOUND big-bear-joplin-db
big-bear-joplin  | 21:09:44 0|app    |     at /home/joplin/packages/server/src/db.ts:119:10
big-bear-joplin  | 21:09:44 0|app    |     at Generator.next ()
big-bear-joplin  | 21:09:44 0|app    |     at fulfilled (/home/joplin/packages/server/dist/db.js:5:58)
big-bear-joplin  | 21:09:44 0|app    |     at processTicksAndRejections (node:internal/process/task_queues:95:5)
big-bear-joplin  | 2024-06-20T21:09:45: PM2 log: App [app:0] exited with code [1] via signal [SIGINT]
big-bear-joplin  | 2024-06-20T21:09:45: PM2 log: App [app:0] will restart in 3375ms
big-bear-joplin  | 21:09:45 PM2      | App [app:0] exited with code [1] via signal [SIGINT]
big-bear-joplin  | 21:09:45 PM2      | App [app:0] will restart in 3375ms
big-bear-joplin  | 2024-06-20T21:09:48: PM2 log: App [app:0] starting in -fork mode-
big-bear-joplin  | 21:09:48 PM2      | App [app:0] starting in -fork mode-
big-bear-joplin  | 2024-06-20T21:09:48: PM2 log: App [app:0] online
big-bear-joplin  | 21:09:48 PM2      | App [app:0] online
big-bear-joplin  | 21:09:52 0|app    | 2024-06-20 21:09:52: App: Starting server v2.14.2 (prod) on port 22300 and PID 959...
big-bear-joplin  | 21:09:52 0|app    | 2024-06-20 21:09:52: App: Skipping NTP time check because MAX_TIME_DRIFT is 0.
big-bear-joplin  | 21:09:52 0|app    | 2024-06-20 21:09:52: App: Running in Docker: true
big-bear-joplin  | 21:09:52 0|app    | 2024-06-20 21:09:52: App: Public base URL: http://192.168.8.17:22300
big-bear-joplin  | 21:09:52 0|app    | 2024-06-20 21:09:52: App: API base URL: http://192.168.8.17:22300
big-bear-joplin  | 21:09:52 0|app    | 2024-06-20 21:09:52: App: User content base URL: http://192.168.8.17:22300
big-bear-joplin  | 21:09:52 0|app    | 2024-06-20 21:09:52: App: Log dir: /home/joplin/packages/server/logs
big-bear-joplin  | 21:09:52 0|app    | 2024-06-20 21:09:52: App: DB Config: {
big-bear-joplin  | 21:09:52 0|app    |   client: 'pg',
big-bear-joplin  | 21:09:52 0|app    |   name: 'joplin',
big-bear-joplin  | 21:09:52 0|app    |   slowQueryLogEnabled: false,
big-bear-joplin  | 21:09:52 0|app    |   slowQueryLogMinDuration: 1000,
big-bear-joplin  | 21:09:52 0|app    |   autoMigration: true,
big-bear-joplin  | 21:09:52 0|app    |   user: 'bigbear',
big-bear-joplin  | 21:09:52 0|app    |   password: '********',
big-bear-joplin  | 21:09:52 0|app    |   port: 5432,
big-bear-joplin  | 21:09:52 0|app    |   host: 'big-bear-joplin-db'
big-bear-joplin  | 21:09:52 0|app    | }
big-bear-joplin  | 21:09:52 0|app    | 2024-06-20 21:09:52: App: Mailer Config: {
big-bear-joplin  | 21:09:52 0|app    |   enabled: false,
big-bear-joplin  | 21:09:52 0|app    |   host: '',
big-bear-joplin  | 21:09:52 0|app    |   port: 465,
big-bear-joplin  | 21:09:52 0|app    |   security: 'tls',
big-bear-joplin  | 21:09:52 0|app    |   authUser: '',
big-bear-joplin  | 21:09:52 0|app    |   authPassword: '********',
big-bear-joplin  | 21:09:52 0|app    |   noReplyName: '',
big-bear-joplin  | 21:09:52 0|app    |   noReplyEmail: ''
big-bear-joplin  | 21:09:52 0|app    | }
big-bear-joplin  | 21:09:52 0|app    | 2024-06-20 21:09:52: App: Content driver: { type: 1 }
big-bear-joplin  | 21:09:52 0|app    | 2024-06-20 21:09:52: App: Content driver (fallback): null
big-bear-joplin  | 21:09:52 0|app    | 2024-06-20 21:09:52: App: Trying to connect to database...
big-bear-joplin  | 21:09:52 0|app    | 2024-06-20 21:09:52: db: Could not connect. Will try again. getaddrinfo ENOTFOUND big-bear-joplin-db
big-bear-joplin  | 21:09:53 0|app    | 2024-06-20 21:09:53: db: Could not connect. Will try again. getaddrinfo ENOTFOUND big-bear-joplin-db
big-bear-joplin  | 21:09:54 0|app    | 2024-06-20 21:09:54: db: Could not connect. Will try again. getaddrinfo ENOTFOUND big-bear-joplin-db
big-bear-joplin  | 21:09:55 0|app    | 2024-06-20 21:09:55: db: Could not connect. Will try again. getaddrinfo ENOTFOUND big-bear-joplin-db
big-bear-joplin  | 21:09:56 0|app    | 2024-06-20 21:09:56: db: Could not connect. Will try again. getaddrinfo ENOTFOUND big-bear-joplin-db
big-bear-joplin  | 21:09:57 0|app    | 2024-06-20 21:09:57: db: Could not connect. Will try again. getaddrinfo ENOTFOUND big-bear-joplin-db
big-bear-joplin  | 21:09:58 0|app    | 2024-06-20 21:09:58: db: Could not connect. Will try again. getaddrinfo ENOTFOUND big-bear-joplin-db
big-bear-joplin  | 21:09:59 0|app    | 2024-06-20 21:09:59: db: Could not connect. Will try again. getaddrinfo ENOTFOUND big-bear-joplin-db
big-bear-joplin  | 21:10:00 0|app    | 2024-06-20 21:10:00: db: Could not connect. Will try again. getaddrinfo ENOTFOUND big-bear-joplin-db
big-bear-joplin  | 21:10:01 0|app    | 2024-06-20 21:10:01: db: Could not connect. Will try again. getaddrinfo ENOTFOUND big-bear-joplin-db
big-bear-joplin  | 21:10:02 0|app    | 2024-06-20 21:10:02: db: Could not connect. Will try again. getaddrinfo ENOTFOUND big-bear-joplin-db
big-bear-joplin  | 21:10:03 0|app    | 2024-06-20 21:10:03: db: Could not connect. Will try again. getaddrinfo ENOTFOUND big-bear-joplin-db
big-bear-joplin  | 21:10:04 0|app    | 2024-06-20 21:10:04: db: Could not connect. Will try again. getaddrinfo ENOTFOUND big-bear-joplin-db
big-bear-joplin  | 21:10:05 0|app    | 2024-06-20 21:10:05: db: Could not connect. Will try again. getaddrinfo ENOTFOUND big-bear-joplin-db
big-bear-joplin  | 21:10:06 0|app    | 2024-06-20 21:10:06: db: Could not connect. Will try again. getaddrinfo ENOTFOUND big-bear-joplin-db
big-bear-joplin  | 21:10:07 0|app    | 2024-06-20 21:10:07: db: Could not connect. Will try again. getaddrinfo ENOTFOUND big-bear-joplin-db
big-bear-joplin  | 21:10:08 0|app    | 2024-06-20 21:10:08: db: Could not connect. Will try again. getaddrinfo ENOTFOUND big-bear-joplin-db
big-bear-joplin  | 21:10:09 0|app    | 2024-06-20 21:10:09: db: Could not connect. Will try again. getaddrinfo ENOTFOUND big-bear-joplin-db
big-bear-joplin  | 21:10:10 0|app    | 2024-06-20 21:10:10: db: Could not connect. Will try again. getaddrinfo ENOTFOUND big-bear-joplin-db
big-bear-joplin  | 21:10:11 0|app    | 2024-06-20 21:10:11: db: Could not connect. Will try again. getaddrinfo ENOTFOUND big-bear-joplin-db
big-bear-joplin  | 21:10:12 0|app    | 2024-06-20 21:10:12: db: Could not connect. Will try again. getaddrinfo ENOTFOUND big-bear-joplin-db
big-bear-joplin  | 21:10:13 0|app    | 2024-06-20 21:10:13: db: Could not connect. Will try again. getaddrinfo ENOTFOUND big-bear-joplin-db
big-bear-joplin  | 21:10:14 0|app    | 2024-06-20 21:10:14: db: Could not connect. Will try again. getaddrinfo ENOTFOUND big-bear-joplin-db
big-bear-joplin  | 21:10:15 0|app    | 2024-06-20 21:10:15: db: Could not connect. Will try again. getaddrinfo ENOTFOUND big-bear-joplin-db
big-bear-joplin  | 21:10:16 0|app    | 2024-06-20 21:10:16: db: Could not connect. Will try again. getaddrinfo ENOTFOUND big-bear-joplin-db
big-bear-joplin  | 21:10:17 0|app    | 2024-06-20 21:10:17: db: Could not connect. Will try again. getaddrinfo ENOTFOUND big-bear-joplin-db
big-bear-joplin  | 21:10:18 0|app    | 2024-06-20 21:10:18: db: Could not connect. Will try again. getaddrinfo ENOTFOUND big-bear-joplin-db
big-bear-joplin  | 21:10:19 0|app    | 2024-06-20 21:10:19: db: Could not connect. Will try again. getaddrinfo ENOTFOUND big-bear-joplin-db
big-bear-joplin  | 21:10:20 0|app    | 2024-06-20 21:10:20: db: Could not connect. Will try again. getaddrinfo ENOTFOUND big-bear-joplin-db
big-bear-joplin  | 2024-06-20T21:10:21: PM2 log: [PM2][WORKER] Reset the restart delay, as app app has been up for more than 30000ms
big-bear-joplin  | 21:10:21 PM2      | [PM2][WORKER] Reset the restart delay, as app app has been up for more than 30000ms
big-bear-joplin  | 21:10:21 0|app    | 2024-06-20 21:10:21: db: Could not connect. Will try again. getaddrinfo ENOTFOUND big-bear-joplin-db
big-bear-joplin  | 21:10:22 0|app    | 2024-06-20 21:10:22: db: Could not connect. Will try again. getaddrinfo ENOTFOUND big-bear-joplin-db
big-bear-joplin  | 21:10:22 0|app    | 2024-06-20 21:10:22: [error] db: Timeout trying to connect to database: Error: getaddrinfo ENOTFOUND big-bear-joplin-db
big-bear-joplin  | 21:10:22 0|app    |     at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:107:26) {
big-bear-joplin  | 21:10:22 0|app    |   errno: -3008,
big-bear-joplin  | 21:10:22 0|app    |   code: 'ENOTFOUND',
big-bear-joplin  | 21:10:22 0|app    |   syscall: 'getaddrinfo',
big-bear-joplin  | 21:10:22 0|app    |   hostname: 'big-bear-joplin-db'
big-bear-joplin  | 21:10:22 0|app    | }
big-bear-joplin  | 21:10:22 0|app    | Error: Timeout trying to connect to database. Last error was: getaddrinfo ENOTFOUND big-bear-joplin-db
big-bear-joplin  | 21:10:22 0|app    |     at /home/joplin/packages/server/src/db.ts:119:10
big-bear-joplin  | 21:10:22 0|app    |     at Generator.next ()
big-bear-joplin  | 21:10:22 0|app    |     at fulfilled (/home/joplin/packages/server/dist/db.js:5:58)
big-bear-joplin  | 21:10:22 0|app    |     at processTicksAndRejections (node:internal/process/task_queues:95:5)
big-bear-joplin  | 2024-06-20T21:10:22: PM2 log: App [app:0] exited with code [1] via signal [SIGINT]
big-bear-joplin  | 2024-06-20T21:10:22: PM2 log: App [app:0] will restart in 1000ms
big-bear-joplin  | 21:10:22 PM2      | App [app:0] exited with code [1] via signal [SIGINT]
big-bear-joplin  | 21:10:22 PM2      | App [app:0] will restart in 1000ms
big-bear-joplin  | 2024-06-20T21:10:23: PM2 log: App [app:0] starting in -fork mode-
big-bear-joplin  | 21:10:23 PM2      | App [app:0] starting in -fork mode-
big-bear-joplin  | 2024-06-20T21:10:23: PM2 log: App [app:0] online
big-bear-joplin  | 21:10:23 PM2      | App [app:0] online
big-bear-joplin  | 21:10:27 0|app    | 2024-06-20 21:10:27: App: Starting server v2.14.2 (prod) on port 22300 and PID 970...
big-bear-joplin  | 21:10:27 0|app    | 2024-06-20 21:10:27: App: Skipping NTP time check because MAX_TIME_DRIFT is 0.
big-bear-joplin  | 21:10:27 0|app    | 2024-06-20 21:10:27: App: Running in Docker: true
big-bear-joplin  | 21:10:27 0|app    | 2024-06-20 21:10:27: App: Public base URL: http://192.168.8.17:22300
big-bear-joplin  | 21:10:27 0|app    | 2024-06-20 21:10:27: App: API base URL: http://192.168.8.17:22300
big-bear-joplin  | 21:10:27 0|app    | 2024-06-20 21:10:27: App: User content base URL: http://192.168.8.17:22300
big-bear-joplin  | 21:10:27 0|app    | 2024-06-20 21:10:27: App: Log dir: /home/joplin/packages/server/logs
big-bear-joplin  | 21:10:27 0|app    | 2024-06-20 21:10:27: App: DB Config: {
big-bear-joplin  | 21:10:27 0|app    |   client: 'pg',
big-bear-joplin  | 21:10:27 0|app    |   name: 'joplin',
big-bear-joplin  | 21:10:27 0|app    |   slowQueryLogEnabled: false,
big-bear-joplin  | 21:10:27 0|app    |   slowQueryLogMinDuration: 1000,
big-bear-joplin  | 21:10:27 0|app    |   autoMigration: true,
big-bear-joplin  | 21:10:27 0|app    |   user: 'bigbear',
big-bear-joplin  | 21:10:27 0|app    |   password: '********',
big-bear-joplin  | 21:10:27 0|app    |   port: 5432,
big-bear-joplin  | 21:10:27 0|app    |   host: 'big-bear-joplin-db'
big-bear-joplin  | 21:10:27 0|app    | }
big-bear-joplin  | 21:10:27 0|app    | 2024-06-20 21:10:27: App: Mailer Config: {
big-bear-joplin  | 21:10:27 0|app    |   enabled: false,
big-bear-joplin  | 21:10:27 0|app    |   host: '',
big-bear-joplin  | 21:10:27 0|app    |   port: 465,
big-bear-joplin  | 21:10:27 0|app    |   security: 'tls',
big-bear-joplin  | 21:10:27 0|app    |   authUser: '',
big-bear-joplin  | 21:10:27 0|app    |   authPassword: '********',
big-bear-joplin  | 21:10:27 0|app    |   noReplyName: '',
big-bear-joplin  | 21:10:27 0|app    |   noReplyEmail: ''
big-bear-joplin  | 21:10:27 0|app    | }
big-bear-joplin  | 21:10:27 0|app    | 2024-06-20 21:10:27: App: Content driver: { type: 1 }
big-bear-joplin  | 21:10:27 0|app    | 2024-06-20 21:10:27: App: Content driver (fallback): null
big-bear-joplin  | 21:10:27 0|app    | 2024-06-20 21:10:27: App: Trying to connect to database...
big-bear-joplin  | 21:10:27 0|app    | 2024-06-20 21:10:27: db: Could not connect. Will try again. getaddrinfo ENOTFOUND big-bear-joplin-db
big-bear-joplin  | 21:10:28 0|app    | 2024-06-20 21:10:28: db: Could not connect. Will try again. getaddrinfo ENOTFOUND big-bear-joplin-db
big-bear-joplin  | 21:10:29 0|app    | 2024-06-20 21:10:29: db: Could not connect. Will try again. getaddrinfo ENOTFOUND big-bear-joplin-db
big-bear-joplin  | 21:10:30 0|app    | 2024-06-20 21:10:30: db: Could not connect. Will try again. getaddrinfo ENOTFOUND big-bear-joplin-db
big-bear-joplin  | 21:10:31 0|app    | 2024-06-20 21:10:31: db: Could not connect. Will try again. getaddrinfo ENOTFOUND big-bear-joplin-db
big-bear-joplin  | 21:10:32 0|app    | 2024-06-20 21:10:32: db: Could not connect. Will try again. getaddrinfo ENOTFOUND big-bear-joplin-db
big-bear-joplin  | 21:10:33 0|app    | 2024-06-20 21:10:33: db: Could not connect. Will try again. getaddrinfo ENOTFOUND big-bear-joplin-db
big-bear-joplin  | 21:10:34 0|app    | 2024-06-20 21:10:34: db: Could not connect. Will try again. getaddrinfo ENOTFOUND big-bear-joplin-db
big-bear-joplin  | 21:10:35 0|app    | 2024-06-20 21:10:35: db: Could not connect. Will try again. getaddrinfo ENOTFOUND big-bear-joplin-db
big-bear-joplin  | 21:10:36 0|app    | 2024-06-20 21:10:36: db: Could not connect. Will try again. getaddrinfo ENOTFOUND big-bear-joplin-db
big-bear-joplin  | 21:10:37 0|app    | 2024-06-20 21:10:37: db: Could not connect. Will try again. getaddrinfo ENOTFOUND big-bear-joplin-db
big-bear-joplin  | 21:10:38 0|app    | 2024-06-20 21:10:38: db: Could not connect. Will try again. getaddrinfo ENOTFOUND big-bear-joplin-db
big-bear-joplin  | 21:10:39 0|app    | 2024-06-20 21:10:39: db: Could not connect. Will try again. getaddrinfo ENOTFOUND big-bear-joplin-db
big-bear-joplin  | 21:10:40 0|app    | 2024-06-20 21:10:40: db: Could not connect. Will try again. getaddrinfo ENOTFOUND big-bear-joplin-db
big-bear-joplin  | 21:10:41 0|app    | 2024-06-20 21:10:41: db: Could not connect. Will try again. getaddrinfo ENOTFOUND big-bear-joplin-db
big-bear-joplin  | 21:10:42 0|app    | 2024-06-20 21:10:42: db: Could not connect. Will try again. getaddrinfo ENOTFOUND big-bear-joplin-db
big-bear-joplin  | 21:10:43 0|app    | 2024-06-20 21:10:43: db: Could not connect. Will try again. getaddrinfo ENOTFOUND big-bear-joplin-db
big-bear-joplin  | 21:10:44 0|app    | 2024-06-20 21:10:44: db: Could not connect. Will try again. getaddrinfo ENOTFOUND big-bear-joplin-db
big-bear-joplin  | 21:10:46 0|app    | 2024-06-20 21:10:46: db: Could not connect. Will try again. getaddrinfo ENOTFOUND big-bear-joplin-db
big-bear-joplin  | 21:10:47 0|app    | 2024-06-20 21:10:47: db: Could not connect. Will try again. getaddrinfo ENOTFOUND big-bear-joplin-db
big-bear-joplin  | 21:10:48 0|app    | 2024-06-20 21:10:48: db: Could not connect. Will try again. getaddrinfo ENOTFOUND big-bear-joplin-db
big-bear-joplin  | 21:10:49 0|app    | 2024-06-20 21:10:49: db: Could not connect. Will try again. getaddrinfo ENOTFOUND big-bear-joplin-db
big-bear-joplin  | 21:10:50 0|app    | 2024-06-20 21:10:50: db: Could not connect. Will try again. getaddrinfo ENOTFOUND big-bear-joplin-db
big-bear-joplin  | 21:10:51 0|app    | 2024-06-20 21:10:51: db: Could not connect. Will try again. getaddrinfo ENOTFOUND big-bear-joplin-db
big-bear-joplin  | 21:10:52 0|app    | 2024-06-20 21:10:52: db: Could not connect. Will try again. getaddrinfo ENOTFOUND big-bear-joplin-db
big-bear-joplin  | 21:10:53 0|app    | 2024-06-20 21:10:53: db: Could not connect. Will try again. getaddrinfo ENOTFOUND big-bear-joplin-db
big-bear-joplin  | 21:10:54 0|app    | 2024-06-20 21:10:54: db: Could not connect. Will try again. getaddrinfo ENOTFOUND big-bear-joplin-db
big-bear-joplin  | 21:10:55 0|app    | 2024-06-20 21:10:55: db: Could not connect. Will try again. getaddrinfo ENOTFOUND big-bear-joplin-db
big-bear-joplin  | 21:10:56 0|app    | 2024-06-20 21:10:56: db: Could not connect. Will try again. getaddrinfo ENOTFOUND big-bear-joplin-db
big-bear-joplin  | 21:10:57 0|app    | 2024-06-20 21:10:57: db: Could not connect. Will try again. getaddrinfo ENOTFOUND big-bear-joplin-db
big-bear-joplin  | 21:10:58 0|app    | 2024-06-20 21:10:58: db: Could not connect. Will try again. getaddrinfo ENOTFOUND big-bear-joplin-db
big-bear-joplin  | 21:10:58 0|app    | 2024-06-20 21:10:58: [error] db: Timeout trying to connect to database: Error: getaddrinfo ENOTFOUND big-bear-joplin-db
big-bear-joplin  | 21:10:58 0|app    |     at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:107:26) {
big-bear-joplin  | 21:10:58 0|app    |   errno: -3008,
big-bear-joplin  | 21:10:58 0|app    |   code: 'ENOTFOUND',
big-bear-joplin  | 21:10:58 0|app    |   syscall: 'getaddrinfo',
big-bear-joplin  | 21:10:58 0|app    |   hostname: 'big-bear-joplin-db'
big-bear-joplin  | 21:10:58 0|app    | }
big-bear-joplin  | 21:10:58 0|app    | Error: Timeout trying to connect to database. Last error was: getaddrinfo ENOTFOUND big-bear-joplin-db
big-bear-joplin  | 21:10:58 0|app    |     at /home/joplin/packages/server/src/db.ts:119:10
big-bear-joplin  | 21:10:58 0|app    |     at Generator.next ()
big-bear-joplin  | 21:10:58 0|app    |     at fulfilled (/home/joplin/packages/server/dist/db.js:5:58)
big-bear-joplin  | 21:10:58 0|app    |     at processTicksAndRejections (node:internal/process/task_queues:95:5)
big-bear-joplin  | 2024-06-20T21:10:58: PM2 log: App [app:0] exited with code [1] via signal [SIGINT]
big-bear-joplin  | 2024-06-20T21:10:58: PM2 log: App [app:0] will restart in 1500ms
big-bear-joplin  | 21:10:58 PM2      | App [app:0] exited with code [1] via signal [SIGINT]
big-bear-joplin  | 21:10:58 PM2      | App [app:0] will restart in 1500ms
big-bear-joplin-db  | 2024-06-20 20:19:29.732 UTC [31] WARNING:  could not open statistics file "pg_stat_tmp/global.stat": Permission denied
big-bear-joplin-db  | 2024-06-20 20:19:29.743 UTC [31] WARNING:  could not open statistics file "pg_stat_tmp/global.stat": Permission denied
big-bear-joplin-db  | 2024-06-20 20:19:29.754 UTC [31] WARNING:  could not open statistics file "pg_stat_tmp/global.stat": Permission denied
big-bear-joplin-db  | 2024-06-20 20:19:29.764 UTC [31] WARNING:  could not open statistics file "pg_stat_tmp/global.stat": Permission denied
big-bear-joplin-db  | 2024-06-20 20:19:29.775 UTC [31] WARNING:  could not open statistics file "pg_stat_tmp/global.stat": Permission denied
big-bear-joplin-db  | 2024-06-20 20:19:29.787 UTC [31] WARNING:  could not open statistics file "pg_stat_tmp/global.stat": Permission denied
big-bear-joplin-db  | 2024-06-20 20:19:29.797 UTC [31] WARNING:  could not open statistics file "pg_stat_tmp/global.stat": Permission denied
big-bear-joplin-db  | 2024-06-20 20:19:29.808 UTC [31] WARNING:  could not open statistics file "pg_stat_tmp/global.stat": Permission denied
big-bear-joplin-db  | 2024-06-20 20:19:29.819 UTC [31] WARNING:  could not open statistics file "pg_stat_tmp/global.stat": Permission denied
big-bear-joplin-db  | 2024-06-20 20:19:29.819 UTC [32] LOG:  could not open temporary statistics file "pg_stat_tmp/global.tmp": Permission denied
big-bear-joplin-db  | 2024-06-20 20:19:29.819 UTC [32] LOG:  could not open temporary statistics file "pg_stat_tmp/global.tmp": Permission denied
big-bear-joplin-db  | 2024-06-20 20:19:29.831 UTC [31] WARNING:  could not open statistics file "pg_stat_tmp/global.stat": Permission denied
big-bear-joplin-db  | 2024-06-20 20:19:29.844 UTC [31] WARNING:  could not open statistics file "pg_stat_tmp/global.stat": Permission denied
big-bear-joplin-db  | 2024-06-20 20:19:29.855 UTC [31] WARNING:  could not open statistics file "pg_stat_tmp/global.stat": Permission denied
big-bear-joplin-db  | 2024-06-20 20:19:29.868 UTC [31] WARNING:  could not open statistics file "pg_stat_tmp/global.stat": Permission denied
big-bear-joplin-db  | 2024-06-20 20:19:29.878 UTC [31] WARNING:  could not open statistics file "pg_stat_tmp/global.stat": Permission denied
big-bear-joplin-db  | 2024-06-20 20:19:29.892 UTC [31] WARNING:  could not open statistics file "pg_stat_tmp/global.stat": Permission denied
big-bear-joplin-db  | 2024-06-20 20:19:29.902 UTC [31] WARNING:  could not open statistics file "pg_stat_tmp/global.stat": Permission denied
big-bear-joplin-db  | 2024-06-20 20:19:29.914 UTC [31] WARNING:  could not open statistics file "pg_stat_tmp/global.stat": Permission denied
big-bear-joplin-db  | 2024-06-20 20:19:29.924 UTC [31] WARNING:  could not open statistics file "pg_stat_tmp/global.stat": Permission denied
big-bear-joplin-db  | 2024-06-20 20:19:29.935 UTC [31] WARNING:  could not open statistics file "pg_stat_tmp/global.stat": Permission denied
big-bear-joplin-db  | 2024-06-20 20:19:29.947 UTC [31] WARNING:  could not open statistics file "pg_stat_tmp/global.stat": Permission denied
big-bear-joplin-db  | 2024-06-20 20:19:29.957 UTC [31] WARNING:  could not open statistics file "pg_stat_tmp/global.stat": Permission denied

Looks like you removed the

big_bear_joplin_network