mxpv / podsync

Turn YouTube or Vimeo channels, users, or playlists into podcast feeds
MIT License
1.54k stars 266 forks source link

panic: runtime error: invalid memory address or nil pointer dereference #220

Closed gthbusrr closed 2 years ago

gthbusrr commented 3 years ago

Environment: Docker Version: v2.4.0

Screenshot 2021-03-12 at 16 46 15
mxpv commented 3 years ago

Can you provide configuration you use?

gthbusrr commented 3 years ago
version: "2"

services: 
    podsync-vpn:
        image: ilteoood/docker-surfshark:latest
        container_name: podsync-vpn
        environment: 
            - SURFSHARK_USER=******************
            - SURFSHARK_PASSWORD=******************
            - SURFSHARK_COUNTRY=**
            - SURFSHARK_CITY=*****
        cap_add: 
            - NET_ADMIN
        labels:
            - "com.centurylinklabs.watchtower.monitor-only=true"
        devices:
            - /dev/net/tun
        ports:
            - '****:****'
        restart: always
        dns:
            - 1.1.1.1
    podsync:
        container_name: podsync
        image: mxpv/podsync:latest
        restart: always
        depends_on:
            - podsync-vpn
        environment:
            - TZ=Asia/Hong_Kong
        network_mode: service:podsync-vpn
        volumes:
            - ./data:/app/data/
            - ./config.toml:/app/config.toml
gthbusrr commented 3 years ago
[server]
port = ****
# Bind a specific IP addresses for server ,"*": bind all IP addresses which is default option, localhost or 127.0.0.1  bind a single IPv4 address
hostname = "https://***.***.***"
# Specify path for reverse proxy and only [A-Za-z0-9]
# path = "test"
data_dir = "/app/data" # Don't change if you run podsync via docker

# Tokens from `Access tokens` section
[tokens]
youtube = "********" # YouTube API Key. See https://developers.google.com/youtube/registering_an_application

[feeds]
  [feeds.ID1]
  url = "https://www.youtube.com/channel/*******" # URL address of a channel, group, user, or playlist.
  page_size = 3 # The number of episodes to query each update (keep in mind, that this might drain API token)
  update_period = "60m" # How often query for updates, examples: "60m", "4h", "2h45m"
  quality = "high"
  format = "video"
  max_height = 1440 # Optional maximal height of video, example: 720, 1080, 1440, 2160, ...
  opml = true
  clean = { keep_last = 15 }

***

[database]
  badger = { truncate = true, file_io = true } # See https://github.com/dgraph-io/badger#memory-usage

[downloader]
  self_update = true # Optional, auto update youtube-dl every 24 hours
  timeout = 120 # Timeout in minutes

# Optional log config. If not specified logs to the stdout
# [log]
# filename = "podsync.log"
# max_size = 50 # MB
# max_age = 30 # days
# max_backups = 7
# compress = true
gthbusrr commented 3 years ago

Screenshot 2021-03-16 at 09 33 26

gthbusrr commented 3 years ago

Updates, was able to capture this again. Thanks.

Screenshot 2021-10-30 at 22 24 57