Skip to content

User - Not admin or uploader #1601

@nightshark

Description

@nightshark

Describe the bug

I keep seeing this error in the UI but in the logs it shows the episodes being downloaded. However, when I check in the directory the files are not present.

I started fresh a few times by deleting the DB and all configs. I had to manually enter the postgres database and create an admin user even though I have auth set in my docker compose file. This allowed the files to actually download but I still see the error on the UI. Any one else seen this behavior?




{
  "podindexConfigured": false,
  "rssFeed": "http://192.168.1.197:4135/rss",
  "serverUrl": "http://192.168.1.197:4135/",
  "wsUrl": "ws://192.168.1.197:4135/socket.io",
  "basicAuth": true,
  "oidcConfigured": false,
  "oidcConfig": null,
  "reverseProxy": false
} 

log_podfetch.txt


services:
  podfetch:
    #image: samuel19982/podfetch:v4.8.1
    image: samuel19982/podfetch:v4.9.0
    container_name: PodFetch-17.5
    user: ${UID:-1000}:${GID:-1000}
    ports:
      - 4135:8000
    volumes:
      - /data/media/podcasts:/app/podcasts:rw
    environment:
      - POLLING_INTERVAL=300
      - SERVER_URL=http://192.168.1.197:4135
      - DATABASE_URL=postgres://postgres:xxxx@postgres:5432/podfetch
     # - DATABASE_URL=postgres://postgres:postgres@postgres:5432/podfetch
      #- GPODDER_INTEGRATION_ENABLED=true
     # - GPODDER_INTEGRATION_ENABLED=false
      - BASIC_AUTH=true
      - USERNAME=gsm
      - PASSWORD=xxxx
      - RUST_BACKTRACE=full
    depends_on:
      postgres:
        condition: service_healthy
    restart: on-failure:5
    labels: 
      # Watchtower labels to only notify, not update.
      
      com.centurylinklabs.watchtower.monitor-only: true
      com.centurylinklabs.watchtower.enable: true



  postgres:
    image: postgres:17.5
    container_name: podFetch-DB-postgresql-17.5
    security_opt:
      - no-new-privileges:true
    healthcheck:
      test: ["CMD", "pg_isready", "-q", "-d", "podfetch", "-U", "postgres"]
    environment:
      POSTGRES_USER: postgres #${POSTGRES_USER}
      POSTGRES_PASSWORD: xxxx #${POSTGRES_PASSWORD}
      POSTGRES_DB: podfetch #${POSTGRES_DB}
      #PGDATA: /backup
    volumes:

            - /docker/appdata/podfetch/db:/var/lib/postgresql/data:rw

    restart: on-failure:5
    labels:
      # Watchtower labels to only notify, not update.
      
      com.centurylinklabs.watchtower.monitor-only: true
      com.centurylinklabs.watchtower.enable: true

Reproduction

Add a subscription on a new install.

System Info

attached

Used Package Manager

n/a

Validations

  • Follow our Code of Conduct
  • Read the Contributing Guide.
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
  • The provided reproduction is a minimal reproducible of the bug.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions