Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker update without losing config? #254

Closed
Thomas-O opened this issue Nov 12, 2022 · 6 comments
Closed

Docker update without losing config? #254

Thomas-O opened this issue Nov 12, 2022 · 6 comments

Comments

@Thomas-O
Copy link

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
Copy link

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
Copy link
Author

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
Copy link

nanawel commented Dec 15, 2022

It seems to be the same issue as mine #248

@Ethanol6
Copy link

Ethanol6 commented Feb 1, 2023

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

@Ethanol6
Copy link

Ethanol6 commented Feb 1, 2023

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

@Thomas-O
Copy link
Author

Thomas-O commented Feb 1, 2023

@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.

@Thomas-O Thomas-O closed this as completed Feb 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants