Giter VIP home page Giter VIP logo

Comments (5)

rsteckler avatar rsteckler commented on September 4, 2024

The only thing I can think of, and one which might simplify everything, is to get rid of the /etc/duplicacy bind mount and all the linking stuff. Instead, just bind mount in the entire ~/.duplicacy-web folder.

from docker-duplicacy.

ohthehugemanatee avatar ohthehugemanatee commented on September 4, 2024

what's the rationale behind the bind mount and links anyway? What are we losing by removing that?

from docker-duplicacy.

perler avatar perler commented on September 4, 2024

I assume it's the same error:

I just moved servers and copied the relevant parts of docker-compose.yml as the local directories mapped to these volumes:

/var/cache/duplicacy
/etc/duplicacy

after starting the container I was asked for the password. the strange thing is, that the files in /etc/duplicacy on the local drive are re-created if deleted, so, duplicacy seems to use the volumes from the config.

any short term workaround to copy over the configs?

from docker-duplicacy.

newbie7800 avatar newbie7800 commented on September 4, 2024

Hi everyone. I have my settings file persisting based on reading some of the comments here and in the other issues by doing the following.

  1. Leave the volume mounts relating to /etc/duplicacy as per Eric's original compose file;
  2. Add the following volume mount:

volumes:

  • /[your hostlocation]:/home/.duplicacy-web

This seems to work for me through multiple reboots, shutdowns etc. I do not loose all my schedules.

@ Eric - any chance you might be able to update the docker image to the latest version of the web gui? Thanks a lot

from docker-duplicacy.

newbie7800 avatar newbie7800 commented on September 4, 2024

As an update, my settings had survived multiple reboots, container shutdowns etc and the settings persisted with the above configuration. However, recently I needed to move my reverse proxy to traefik and in testing I shutdown the container a number of times and from the command line. I lost my settings. I tested though and when I shutdown the container by stop and restarted with start from the container gui provided by Cockpit, the settings persisted. I don't know why shutting down the container via the command line versus a gui causes this issue. I managed to get Traefik to reverse proxy to the default http port with Letsencrypt certificates working so my login is now protected by https encryption. Happy to share some settings of how I did this in Docker.

from docker-duplicacy.

Related Issues (7)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.