kopia
kopia copied to clipboard
Duplicates of Policies
In the WebUI, under Policies, the same policy is shown twice. Sometimes the Global Policy is shown twice, sometimes a different one. It seems to me like clicking on either Edit button leads to the same policy behind the scenes.
Running 0.15.0 on Docker, backing up do Google Drive.
Hi @woiwoiwoiwoi,
i assume that the issue lies in the backend. KopiaUI does not create a policy object or similar under the policies tab, it just shows the available policies that are returned from the API. We had this issue in the past, where two global policies where shown. After a reconnect the issue was gone.
We need to track it down. However, I was not able to reproduce it.
Cheers,
Thanks for responding so quickly. I know somebody else who also has the same issue. Also KopiaUI via Docker. I could ask them to chip in here if that helps.
Incidentally, I have reconnected my repository since my above message. I have also moved the repo from GDrive to WebDAV. After the reconnect, I'm pretty sure the policy was still duplicated. Then I edited one of the two shown policies: the only thing I changed was I set "Manual Snapshots Only" back to "inherit from parent" (from "Yes"). Now, I only have one policy left.
Same issue.
I've noticed duplicate policies in the UI a few times after changing the policies with a flaky internet connection. But today a duplicate showed up after editing policies on the KRS host in the terminal.
kopia@server:~$ kopia policy list
[...]
9e92683dd2739097792c1f8cc444e5cb user@host:C:\Users\user
cc8ac7febd1b132cf5b81485d0bcf49c user@host:C:\Users\user
Unfortunately I'm unable to reproduce the issue.