SamTV12345 / PodFetch

A sleek and efficient podcast downloader.
https://samtv12345.github.io/PodFetch
Apache License 2.0
347 stars 25 forks source link

Invalid connection url for multiconnection #727

Closed update-freak closed 5 months ago

update-freak commented 5 months ago

Describe the bug

In Portainer I see this error messages in the log: Invalid connection url for multiconnection

invalid

I installed it via docker compose version: '3.9' services: podfetch: image: samuel19982/podfetch:postgres container_name: PodFetch user: 1026:100 ports:

Reproduction

  1. Install via docker compose in Portainer 2. Check log

System Info

Synology NAS DSM 7.2

Used Package Manager

n/a

Validations

SamTV12345 commented 5 months ago

Hi @update-freak.

Please refer to the official docker-compose. You seem to be using the old tag postgres which was updated more than half a year ago. It seems like the database driver is too old for the current postgres version. The newer versions of PodFetch work without a problem :)

services:
  podfetch:
    image: samuel19982/podfetch:latest
    user: ${UID:-1000}:${GID:-1000}
    ports:
      - "80:8000"
    volumes:
      - ./podcasts:/app/podcasts
    environment:
      - POLLING_INTERVAL=300
      - SERVER_URL=http://localhost:80
      - DATABASE_URL=postgresql://postgres:changeme@postgres/podfetch
    depends_on:
      - postgres
  postgres:
    image: postgres
    environment:
      POSTGRES_USER: ${POSTGRES_USER:-postgres}
      POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-changeme}
      PGDATA: /data/postgres
      POSTGRES_DB: ${POSTGRES_DB:-podfetch}
    volumes:
      - postgres:/data/postgres
    restart: unless-stopped

volumes:
  postgres:
update-freak commented 5 months ago

yes, this solved the problem. Thank you very much! :)