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

Teleporter does not overwrite Domains #2518

Open
JvdMaat opened this issue Jan 31, 2023 · 3 comments
Open

Teleporter does not overwrite Domains #2518

JvdMaat opened this issue Jan 31, 2023 · 3 comments

Comments

@JvdMaat
Copy link

JvdMaat commented Jan 31, 2023

Versions

  • Docker 2022.12
  • Pi-hole: 5.14.2
  • AdminLTE: 5.18
  • FTL: 5.20

Platform

  • OS and version: Ubuntu 22.04.1 LTS
  • Platform: Docker

Expected behavior

I have two piholes. I removed and added Domains (whitelist/blacklist) from one, and executed a teleporter export. On the second pihole which had the same Domains (white/blacklists) prior, I executed a teleporter import with all checkboxes checked except Audit Log. Expected the Domains to have been updated to what was on the other pihole since the "Clear existing data" checkbox was checked.

Actual behavior / bug

Domains do not get updated correctly. New domains do get added. Domains that were removed do not get removed on target. Domains that were changed from Status Enabled to Disabled do not update on target.

Initially after searching here, it was hinted this could be a locale issue. Docker runs in POSIX locale, while the source pihole (Raspberry Pi Zero W) runs UTF-8.
I changed the source to POSIX as well to have a level playing field, however this did not change the outcome.

Debug Token

@yubiuser
Copy link
Member

yubiuser commented Feb 2, 2023

I can reproduce this. It's fairly easy: create a backup, make some changes to the domainlist and restore the backup. For me, deleted entries got re-added (this is Ok), state (enables/disabled) did not change after import (not Ok), newly added domains lost group assignment (not OK).

@yubiuser yubiuser transferred this issue from pi-hole/pi-hole Feb 2, 2023
@github-actions
Copy link
Contributor

github-actions bot commented Mar 5, 2023

This issue is stale because it has been open 30 days with no activity. Please comment or update this issue or it will be closed in 5 days.

@github-actions github-actions bot added the stale label Mar 5, 2023
@yubiuser yubiuser added Bug and removed stale labels Mar 5, 2023
@csm10495
Copy link

I'm hitting this as well. If I delete a domain in one then teleport it to the other, the domain still remains.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants