ajnart / homarr

Customizable browser's home page to interact with your homeserver's Docker containers (e.g. Sonarr/Radarr)
https://homarr.dev
MIT License
5.45k stars 252 forks source link

DNS Control Only 1 of 2 Instances #2034

Open Bobthepan2012 opened 2 months ago

Bobthepan2012 commented 2 months ago

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

github-actions[bot] commented 2 months ago

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 commented 1 month ago

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".