akhilrex / podgrab

A self-hosted podcast manager/downloader/archiver tool to download podcast episodes as soon as they become live with an integrated player.
GNU General Public License v3.0
1.55k stars 87 forks source link

Docker update without losing config? #254

Closed Thomas-O closed 1 year ago

Thomas-O commented 1 year ago

Hello,

I'm using Podgrab v2022.04.25. How can I update the Podgrab docker without losing the config and assets?

I see a backup option in the settings, but I'm not sure how to restore from a downloaded backup.

Thanks for your time and your help.

SamTV12345 commented 1 year ago

I use this configuration:

version: "2.1"
services:
  podgrab:
    image: akhilrex/podgrab
    container_name: podgrab
    environment:
      - CHECK_FREQUENCY=240
    volumes:
      - /path/to/config:/config
      - /path/to/data:/assets
    ports:
      - 80:8080
    restart: unless-stopped
Thomas-O commented 1 year ago

I use this configuration:

version: "2.1"
services:
  podgrab:
    image: akhilrex/podgrab
    container_name: podgrab
    environment:
      - CHECK_FREQUENCY=240
    volumes:
      - /path/to/config:/config
      - /path/to/data:/assets
    ports:
      - 80:8080
    restart: unless-stopped

I eventually figured it out a few days ago. Not being the most technically minded it involved lots of trials and many, many errors. But I got there in the end. And the process (which I've made sure to note down) is actually far simpler than I'd expected. However, your last line has proved very useful and isn't something that I would have stumbled upon. So thank you very much for taking the time and interest to help this mostly clueless but still ever curious neophyte.

nanawel commented 1 year ago

It seems to be the same issue as mine #248

Ethanol6 commented 1 year ago

Won't everything stay the same as long as you keep the path to /config the same?

Ethanol6 commented 1 year ago

@Thomas-O If this is no longer an issue would you mind sharing the solution and closing the issue?

Thomas-O commented 1 year ago

@Thomas-O If this is no longer an issue would you mind sharing the solution and closing the issue?

Oh God, this is embarrassing. I noted down the solution and then while cleaning up my Documents folder I accidentally deleted it. And now I haven't got the foggiest clue what it was. I know it was only 3 months ago but I just can't remember. Really sorry about this.