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

Bug: /etc/duplicacy does not contain updated settings #10

Open
Nite16 opened this issue Apr 16, 2020 · 4 comments
Open

Bug: /etc/duplicacy does not contain updated settings #10

Nite16 opened this issue Apr 16, 2020 · 4 comments

Comments

@Nite16
Copy link

Nite16 commented Apr 16, 2020

I created a Duplicacy container, changed some settings, then inspected my duplicacy.json file in /etc/duplicacy and it is still blank. Restarted the container multiple times, and while my config is retained on the web UI it is not reflected in /etc/duplicacy.

I opened a terminal into the container and I am seeing the correct settings stored in ~/.duplicacy-web/duplicacy.json.

@Nite16
Copy link
Author

Nite16 commented Apr 16, 2020

Appears to be related to the other issue. But the settings are retained in the duplicacy-web folder.

Running readlink on the etc files shows no symlinks, so the symlinks are being broken. This means when re-creating the container, all settings are lost.

@jtfidje
Copy link

jtfidje commented Jul 13, 2020

Did you find a solution to this?

@Nite16
Copy link
Author

Nite16 commented Jul 13, 2020

For now, until this is resolved, I ended up going with the saspus-duplicacy-web container.

@scott-ainsworth
Copy link

scott-ainsworth commented Aug 26, 2022

This is really an interaction between this container and Duplicacy. On startup, the Dockerfile symlinks from /root/.duplicacy-web/duplicacy.json to /etc/duplicacy/duplicacy.json. This should work (and I believe used to work). The problem is that Duplicacy Web (at least v1.2.1) updates its configuration by deleting and recreating duplicacy.json, which breaks the symlink. Thus, /etc/duplicacy/duplicacy.json is not updated and the new configuration is not saved.

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

3 participants