homarr icon indicating copy to clipboard operation
homarr copied to clipboard

Latest nightly Pi-hole version breaks API connection?

Open Spillebulle opened this issue 5 months ago • 3 comments

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

  • [X] I confirm that I attached the proper logs
  • [X] I've read the docs
  • [X] I've checked for duplicate issues
  • [X] I've tried to debug myself

Spillebulle avatar Sep 15 '24 10:09 Spillebulle