SenexCrenshaw / StreamMaster

MIT License
159 stars 20 forks source link

Bug: role "postgres" does not exist #230

Open kpirnie opened 1 month ago

kpirnie commented 1 month ago

Unhandled exception. Npgsql.PostgresException (0x80004005): 28000: role "postgres" does not exist

Stream Master Info

Using Compose


  streammaster:
    image: senexcrenshaw/streammaster:latest
    container_name: pirnie_streammaster
    hostname: pirnie_streammaster
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=America/New_York
    ports:
      - 7095:7095
      - 5432:5432
    volumes:
      - /home/kpirnie/pirnie-media/streammaster:/config
      - /home/kpirnie/pirnie-media/streammaster/tv-logos:/config/tv-logos
      - /home/kpirnie/pirnie-media/iptv-lists:/playlists
    devices:
      - /dev/dri:/dev/dri
    tmpfs: /tmp
    restart: unless-stopped
    deploy:
      resources:
        limits:
          cpus: "4.0"
          memory: 8G```
simoncaron commented 1 month ago

Default user of the embedded pg database was changed from sm in 0.14.4 to postgres in 0.14.6.

If you add the env var POSTGRES_USER and set it to sm, your install will start properly.