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

web interface for two instances on machine both show stats/log from same instance #732

Closed
gklanderman opened this issue Dec 20, 2020 · 6 comments
Labels

Comments

@gklanderman
Copy link

Versions

Pi-hole version is v5.2.1 (Latest: v5.2.1)
AdminLTE version is v5.2.1 (Latest: v5.2.1)
FTL version is v5.3.2 (Latest: v5.3.2)

Platform

  • OS and version: Raspbian GNU/Linux 10 (buster)
  • Platform: RPi 2b+, docker

Expected behavior

See Issue #726 where I am tracking issues with starting multiple instances on a machine.
Having worked around those issues, I expect the web interface associated with each instance to show stats/logs pertaining to that instance.

Actual behavior / bug

Web interface for both instances are showing stats/logs pertaining to the same instance

If I go to Settings -> DNS on each web instance (different IPs) I can see that each correctly shows the correct upstream DNS servers (one is pointing to Google and the other to cleanbrowsing.org family filter)

However, the stats on the Dashboard as well as the Query Log for both instances are both showing data from the same instance (the cleanbrowsing one).

Looking at the logs /var/log/pihole.log in each instance shows that each instance is operating correctly, contacting the correct upstream DNS servers and serving the correct cached entries from its own instance.

Would appreciate any help from developers on where to look to debug further.

I'll attach my docker run script in a moment.

thank you,
Greg

@gklanderman
Copy link
Author

docker run script (had to add .txt suffix to upload)

run-pihole-docker.txt

@github-actions
Copy link

github-actions bot commented Jan 9, 2022

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.

@PromoFaux
Copy link
Member

Web interface for both instances are showing stats/logs pertaining to the same instance

I can't see how this is possible - if both are separate instances, with separate persisted volumes it seems, how can one container be displaying information from the other?

@github-actions
Copy link

github-actions bot commented Feb 8, 2022

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 Feb 8, 2022
@gklanderman
Copy link
Author

Hi Adam, I agree it seems like it should not be possible. I will try to find some time to reproduce the problem.. have been meaning to get back to pi-hole anyway: the multiple instances I started manually just over a year ago are still up and running, but I'd prefer to resolve issue #726 so manual intervention is not needed.

@github-actions github-actions bot removed the stale label Feb 9, 2022
@github-actions
Copy link

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.

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

No branches or pull requests

2 participants