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

Latest nightly Pi-hole version breaks API connection? #2132

Open
4 tasks done
Spillebulle opened this issue Sep 15, 2024 · 3 comments
Open
4 tasks done

Latest nightly Pi-hole version breaks API connection? #2132

Spillebulle opened this issue Sep 15, 2024 · 3 comments
Labels
🐛 Bug Something isn't working 🛠️ WIP Work In Progress ⛔ Wont Fix This will not be worked on

Comments

@Spillebulle
Copy link
Contributor

Environment

Docker

Version

0.15.4 :dev

Describe the problem

After upgrading Pi-Hole the widget showing stats seems to not work anymore.
There is also now 2 factor authentication so they added some new stuff about app passwords that maybe Homarr could use?

Logs

2024-09-12T01:02:49.458394732Z Exporting hostname...
2024-09-12T01:02:49.458470941Z Migrating database...
2024-09-12T01:02:50.031531169Z yarn run v1.22.19
2024-09-12T01:02:50.083184669Z $ ts-node ./migrate.ts
2024-09-12T01:02:54.980847111Z (node:29) Warning: To load an ES module, set "type": "module" in the package.json or use the .mjs extension.
2024-09-12T01:02:54.980919964Z (Use node --trace-warnings ... to show where the warning was created)
2024-09-12T01:02:54.984472326Z /app/migrate/migrate.ts:4
2024-09-12T01:02:54.984501829Z import Database from 'better-sqlite3';
2024-09-12T01:02:54.984510180Z ^^^^^^
2024-09-12T01:02:54.984517086Z
2024-09-12T01:02:54.984524197Z SyntaxError: Cannot use import statement outside a module
2024-09-12T01:02:54.984530532Z at internalCompileFunction (node:internal/vm:73:18)
2024-09-12T01:02:54.984536945Z at wrapSafe (node:internal/modules/cjs/loader:1175:20)
2024-09-12T01:02:54.984543560Z at Module._compile (node:internal/modules/cjs/loader:1219:27)
2024-09-12T01:02:54.984550261Z at Module.m._compile (/app/migrate/node_modules/ts-node/src/index.ts:1618:23)
2024-09-12T01:02:54.984556939Z at Module._extensions..js (node:internal/modules/cjs/loader:1309:10)
2024-09-12T01:02:54.984564061Z at Object.require.extensions. [as .ts] (/app/migrate/node_modules/ts-node/src/index.ts:1621:12)
2024-09-12T01:02:54.984571292Z at Module.load (node:internal/modules/cjs/loader:1113:32)
2024-09-12T01:02:54.984577989Z at Function.Module._load (node:internal/modules/cjs/loader:960:12)
2024-09-12T01:02:54.984584894Z at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:83:12)
2024-09-12T01:02:54.984591617Z at phase4 (/app/migrate/node_modules/ts-node/src/bin.ts:649:14)
2024-09-12T01:02:55.049399568Z error Command failed with exit code 1.
2024-09-12T01:02:55.049575206Z info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
2024-09-12T01:02:55.164194835Z Starting production server...
2024-09-12T01:02:57.643000152Z Listening on port 7575 url: http://7723f0d303a6:7575
2024-09-12T15:17:29.319164887Z ℹ Local icons repository directory does not exist
2024-09-12T15:28:40.680005315Z ℹ Local icons repository directory does not exist
2024-09-12T15:54:20.477598819Z ℹ Local icons repository directory does not exist
2024-09-12T16:24:18.924875143Z ℹ Local icons repository directory does not exist
2024-09-12T17:04:03.529558990Z Error: socket hang up
2024-09-12T17:04:03.529649643Z at connResetException (node:internal/errors:714:14)
2024-09-12T17:04:03.529666923Z at Socket.socketOnEnd (node:_http_client:519:23)
2024-09-12T17:04:03.529676832Z at Socket.emit (node:events:523:35)
2024-09-12T17:04:03.529718923Z at endReadableNT (node:internal/streams/readable:1367:12)
2024-09-12T17:04:03.529730309Z at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
2024-09-12T17:04:03.529740294Z code: 'ECONNRESET'
2024-09-12T17:04:03.529749760Z }
2024-09-12T19:11:28.299392135Z ℹ Local icons repository directory does not exist
2024-09-12T19:12:40.836506781Z ℹ Local icons repository directory does not exist
2024-09-12T19:49:43.683684917Z ℹ Local icons repository directory does not exist
2024-09-13T00:10:41.149916426Z Error: socket hang up
2024-09-13T00:10:41.150002990Z at connResetException (node:internal/errors:714:14)
2024-09-13T00:10:41.150016413Z at Socket.socketOnEnd (node:_http_client:519:23)
2024-09-13T00:10:41.150040962Z at Socket.emit (node:events:523:35)
2024-09-13T00:10:41.150055076Z at endReadableNT (node:internal/streams/readable:1367:12)
2024-09-13T00:10:41.150066539Z at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
2024-09-13T00:10:41.150078032Z code: 'ECONNRESET'
2024-09-13T00:10:41.150088705Z }
2024-09-13T06:29:28.141580215Z ℹ Local icons repository directory does not exist
2024-09-13T07:28:13.794231889Z ℹ Local icons repository directory does not exist
2024-09-13T07:29:27.444805661Z ℹ Local icons repository directory does not exist
2024-09-13T07:30:57.281248512Z ℹ Local icons repository directory does not exist
2024-09-13T09:09:05.191440458Z ℹ Local icons repository directory does not exist
2024-09-13T12:45:46.797930563Z ℹ Local icons repository directory does not exist
2024-09-13T12:47:11.532371092Z ℹ Local icons repository directory does not exist
2024-09-13T16:21:50.322843146Z ℹ Local icons repository directory does not exist
2024-09-13T17:37:16.132105650Z ℹ Local icons repository directory does not exist
2024-09-13T18:09:56.930712443Z ℹ Local icons repository directory does not exist
2024-09-13T18:23:28.973948447Z ℹ Local icons repository directory does not exist
2024-09-13T18:26:04.673960697Z ℹ Local icons repository directory does not exist
2024-09-13T21:19:50.980661476Z ℹ Local icons repository directory does not exist
2024-09-13T21:47:41.060590313Z ℹ Local icons repository directory does not exist
2024-09-13T22:21:24.520287789Z ℹ Local icons repository directory does not exist
2024-09-13T22:22:09.737043775Z ℹ Local icons repository directory does not exist
2024-09-13T22:22:56.278962576Z ℹ Local icons repository directory does not exist
2024-09-14T10:14:48.105461799Z ℹ Local icons repository directory does not exist
2024-09-14T16:39:54.754877449Z ℹ Local icons repository directory does not exist
2024-09-14T19:40:42.456629589Z ℹ Local icons repository directory does not exist
2024-09-14T19:42:07.320828111Z ℹ Local icons repository directory does not exist
2024-09-14T19:57:10.465998307Z ℹ Local icons repository directory does not exist
2024-09-14T20:35:34.651094698Z ℹ Local icons repository directory does not exist
2024-09-14T20:46:18.064606531Z ℹ Local icons repository directory does not exist
2024-09-14T20:47:16.284064780Z ℹ Local icons repository directory does not exist
2024-09-14T20:47:25.755614092Z ℹ Local icons repository directory does not exist
2024-09-14T20:47:35.940165932Z ℹ Saving updated configuration of 'default' config.
2024-09-14T20:50:01.268512290Z ℹ Saving updated configuration of 'default' config.
2024-09-14T20:50:01.272553998Z ℹ Detected credential change of private secret. Value will be overwritten in configuration
2024-09-14T20:50:03.999434094Z ℹ Local icons repository directory does not exist
2024-09-14T20:54:00.807484473Z ℹ Local icons repository directory does not exist
2024-09-14T20:54:07.496231705Z ℹ Saving updated configuration of 'default' config.
2024-09-14T20:54:07.497671567Z ℹ Detected credential change of private secret. Value will be overwritten in configuration
2024-09-14T20:54:08.866693044Z ℹ Local icons repository directory does not exist
2024-09-14T20:54:21.203310787Z ℹ Local icons repository directory does not exist
2024-09-14T20:54:31.185291923Z ℹ Saving updated configuration of 'default' config.
2024-09-14T20:54:31.187093008Z ℹ Detected credential change of private secret. Value will be overwritten in configuration
2024-09-14T20:55:28.008077919Z ℹ Local icons repository directory does not exist
2024-09-14T20:55:52.047171159Z ℹ Local icons repository directory does not exist
2024-09-14T21:01:42.587750190Z ℹ Local icons repository directory does not exist
2024-09-14T21:04:13.350834601Z ℹ Local icons repository directory does not exist
2024-09-14T22:18:08.064715813Z ℹ Local icons repository directory does not exist
2024-09-15T10:35:19.533496233Z ℹ Local icons repository directory does not exist

Context

image
image
Pi-Hole version: Docker Tag nightly | Core vDev (development, 3daaabfe) | FTL vDev (development, 975e7cf6) | Web interface vDev (development, 3e9ac6f7)

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
@Spillebulle Spillebulle added the 🐛 Bug Something isn't working label Sep 15, 2024
@manuel-rw
Copy link
Collaborator

manuel-rw commented Sep 15, 2024

Hi, as documented on https://homarr.dev we usually don't support nightly versions of software for integrations (they break often, many changes, ...). Please let us know as soon as the stable versions are no longer working. We are working for automated integration testing starting some-when from 1.0 but currently we rely on you to tell us when something isn't working anymore with a newer version.

@manuel-rw manuel-rw added ⛔ Wont Fix This will not be worked on 🛠️ WIP Work In Progress labels Sep 15, 2024
@SeDemal
Copy link
Collaborator

SeDemal commented Sep 15, 2024

The only PR that was merged recently was #2124.
Nothing about pihole in there.
Something must have broken with the new pihole update rather.

@Spillebulle
Copy link
Contributor Author

Just to note: found this warning message showing up a lot in Pi-hole logs.

API: Bad request (The API is hosted at pi.hole/api, not pi.hole/admin/api)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bug Something isn't working 🛠️ WIP Work In Progress ⛔ Wont Fix This will not be worked on
Projects
Status: 🆕 New
Development

No branches or pull requests

3 participants