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

DNS Control Only 1 of 2 Instances #2034

Open
4 tasks done
Bobthepan2012 opened this issue May 1, 2024 · 2 comments
Open
4 tasks done

DNS Control Only 1 of 2 Instances #2034

Bobthepan2012 opened this issue May 1, 2024 · 2 comments
Labels
🐛 Bug Something isn't working

Comments

@Bobthepan2012
Copy link

Environment

Docker

Version

0.15.2

Describe the problem

Only one of two Pi Hole was being controlled by widget.

When checking the logs I received the below warnings which dint make sense are PiHole2 was the one working with the Control Widget. I found that my my API keys were initially identical as I had previously configured them with identical passwords which is used to generate the API key. I believe this is what was pushing the warnings. After resolving this I still could only control the second PI i added integration for (the one mentioned in all the warnings).

I removed and readded both PIs from the apps and added them back and now nether is being picked up by the widget.

Logs

Error: 'sharp' is required to be installed in standalone mode for the image optimization to function correctly. Read more at: https://nextjs.org/docs/messages/sharp-missing-in-production

ℹ Saving updated configuration of 'default' config.

WARN There are apps that have missing configuration options: [PIHOLE2] please input the correct secrets once again for the concerned app(s), save them, exit edit mode and reload the page.

WARN There are apps that have missing configuration options: [PIHOLE2] please input the correct secrets once again for the concerned app(s), save them, exit edit mode and reload the page.

WARN There are apps that have missing configuration options: [PIHOLE2] please input the correct secrets once again for the concerned app(s), save them, exit edit mode and reload the page.

WARN There are apps that have missing configuration options: [PIHOLE2] please input the correct secrets once again for the concerned app(s), save them, exit edit mode and reload the page.

WARN There are apps that have missing configuration options: [PIHOLE2] please input the correct secrets once again for the concerned app(s), save them, exit edit mode and reload the page.

ℹ Saving updated configuration of 'default' config.

WARN There are apps that have missing configuration options: [PIHOLE2] please input the correct secrets once again for the concerned app(s), save them, exit edit mode and reload the page.

WARN There are apps that have missing configuration options: [PIHOLE2] please input the correct secrets once again for the concerned app(s), save them, exit edit mode and reload the page.

WARN There are apps that have missing configuration options: [PIHOLE2] please input the correct secrets once again for the concerned app(s), save them, exit edit mode and reload the page.

WARN There are apps that have missing configuration options: [PIHOLE2] please input the correct secrets once again for the concerned app(s), save them, exit edit mode and reload the page.

WARN There are apps that have missing configuration options: [PIHOLE2] please input the correct secrets once again for the concerned app(s), save them, exit edit mode and reload the page.

WARN There are apps that have missing configuration options: [PIHOLE2] please input the correct secrets once again for the concerned app(s), save them, exit edit mode and reload the page.

ℹ Local icons repository directory exists and contains 1 icons

WARN There are apps that have missing configuration options: [PIHOLE2] please input the correct secrets once again for the concerned app(s), save them, exit edit mode and reload the page.

WARN There are apps that have missing configuration options: [PIHOLE2] please input the correct secrets once again for the concerned app(s), save them, exit edit mode and reload the page.

ℹ Saving updated configuration of 'default' config.

ℹ Detected credential change of private secret. Value will be overwritten in configuration

ℹ Local icons repository directory exists and contains 1 icons

Error: 'sharp' is required to be installed in standalone mode for the image optimization to function correctly. Read more at: https://nextjs.org/docs/messages/sharp-missing-in-production

ℹ Saving updated configuration of 'default' config.

ℹ Local icons repository directory exists and contains 1 icons

ℹ Saving updated configuration of 'default' config.

ℹ Local icons repository directory exists and contains 1 icons

Exporting hostname...

Migrating database...

yarn run v1.22.19

$ ts-node ./migrate.ts

Done in 1.86s.

Starting production server...

Listening on port 7575 url: http://5ac07697851a:7575

ℹ Local icons repository directory exists and contains 1 icons

ℹ Saving updated configuration of 'default' config.

ℹ Local icons repository directory exists and contains 1 icons

ℹ Saving updated configuration of 'default' config.

ℹ Detected credential change of private secret. Value will be overwritten in configuration

ℹ Local icons repository directory exists and contains 1 icons

Error: 'sharp' is required to be installed in standalone mode for the image optimization to function correctly. Read more at: https://nextjs.org/docs/messages/sharp-missing-in-production

ℹ Local icons repository directory exists and contains 1 icons

ℹ Local icons repository directory exists and contains 1 icons

ℹ Saving updated configuration of 'default' config.

ℹ Detected credential change of private secret. Value will be overwritten in configuration

ℹ Local icons repository directory exists and contains 1 icons

ℹ Local icons repository directory exists and contains 1 icons

ℹ Local icons repository directory exists and contains 1 icons

ℹ Saving updated configuration of 'default' config.

ℹ Local icons repository directory exists and contains 1 icons

ℹ Local icons repository directory exists and contains 1 icons

ℹ Saving updated configuration of 'default' config.

ℹ Local icons repository directory exists and contains 1 icons

ℹ Local icons repository directory exists and contains 1 icons

ℹ Saving updated configuration of 'default' config.

ℹ Detected credential change of private secret. Value will be overwritten in configuration

ℹ Local icons repository directory exists and contains 1 icons

ℹ Local icons repository directory exists and contains 1 icons

ℹ Saving updated configuration of 'default' config.

ℹ Local icons repository directory exists and contains 1 icons

ℹ Saving updated configuration of 'default' config.

ℹ Detected credential change of private secret. Value will be overwritten in configuration

ℹ Local icons repository directory exists and contains 1 icons

Error: 'sharp' is required to be installed in standalone mode for the image optimization to function correctly. Read more at: https://nextjs.org/docs/messages/sharp-missing-in-production

Exporting hostname...

Migrating database...

yarn run v1.22.19

$ ts-node ./migrate.ts

Done in 1.88s.

Starting production server...

Listening on port 7575 url: http://5ac07697851a:7575

ℹ Local icons repository directory exists and contains 1 icons

ℹ Local icons repository directory exists and contains 1 icons

ℹ Saving updated configuration of 'default' config.

ℹ Local icons repository directory exists and contains 1 icons

Error: 'sharp' is required to be installed in standalone mode for the image optimization to function correctly. Read more at: https://nextjs.org/docs/messages/sharp-missing-in-production

Context

No response

Please tick the boxes

  • I confirm that I attached the proper logs
  • I've read the docs
  • I've checked for duplicate issues
  • I've tried to debug myself
@Bobthepan2012 Bobthepan2012 added the 🐛 Bug Something isn't working label May 1, 2024
Copy link

github-actions bot commented May 1, 2024

Hi 👋. Thank you for submitting your first issue to Homarr. Please ensure that you've provided all nessesary information. You can use the three dots > Edit button to update your post with additional images and information. Depending on the current volume of requests, the team should get in conact with you shortly.

@SeDemal
Copy link
Collaborator

SeDemal commented May 4, 2024

Hi, sorry for the wait.
Instances having the same API key does not matter. In fact you should be able to add the exact same pihole twice and it would still work.
Maybe try to manually open (without modifying) your configuration file and check both piholes have an entry named pihole under integration.
Maybe third time is the charm. Enter edit mode, add 1st pihole as "PiHole 1", add integration, save and exit edit mode, then go again for "PiHole 2".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bug Something isn't working
Projects
Status: 🆕 New
Development

No branches or pull requests

2 participants