oslabs-beta / docker-watch-app

Collects and visualizes Docker container metrics over time. Operates as a container itself.
https://docker.watch
MIT License
71 stars 1 forks source link

docker-compose version error #42

Open jghake opened 1 year ago

jghake commented 1 year ago

Getting this error when trying to install as root on my openmediavault server. I have several containers currently running without issues and would love to use this tool to manage and view them.

ERROR: Version in "None" is unsupported. You might be seeing this error because you're using the wrong Compose file version. Either specify a supported version (e.g "2.2" or "3.3") and place your service definitions under theserviceskey, or omit theversionkey and place your service definitions at the root of the file to use version 1. For more on the Compose file format versions, see https://docs.docker.com/compose/compose-file/

rob-mosher commented 1 year ago

Hi @jghake, and thank you for the detailed bug report.

What OS and version is openmediavault running on (e.g. Ubuntu 22.04 LTS), and what was your process for installing Docker on that host?

While I can continue to process the intake of your bug report, our next availability to resolve will be this Sunday.

jghake commented 1 year ago

I'm running 5.6.26-1 Debian GNU/Linux 10 (buster).

I installed docker, and docker-compose via terminal session following the instructions on the Docker GitHub.

lnxredir commented 1 year ago

Run the newer docker compose (same prefix as docker-compose, without the -) plugin to see if it works, this error usually means your compose version is too old.

jghake commented 1 year ago

I ran 'docker compose up -d' in my /docker directory with my yml file. It took a while but recreated all my containers.

Then when I try to run the command listed in the installation section, but removing the '-' I get the following error.

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:100  1346  100  1346    0     0  27469      0 --:--:-- --:--:-- --:--:-- 27469
[+] Running 0/0
 ⠋ web Pulling                                       0.0s
 ⠋ db Pulling                                        0.0s
 ⠋ sensor1 Pulling                                   0.0s
 ⠋ api Pulling                                       0.0s
error getting credentials - err: exit status 1, out: `Cannot autolaunch D-Bus without X11 $DISPLAY`
root@server:/docker#
lnxredir commented 1 year ago

I saw this solution on Stack Overflow, but I think the quickest method is to just wget https://raw.githubusercontent.com/oslabs-beta/docker-watch-app/develop/install.yaml the install script and run it locally, using the docker compose, if it doesn't work try to downgrade the docker version. (Note that I'm not involved with the project, just a helping hand)

jghake commented 1 year ago

Forgive me as I'm still learning...

I tried installing from the downloaded install.yaml you linked but couldn't figure out how.

Then I tried following the instructions at the link you sent to fix the error I was getting, but I only made it to the 'gpg2 -k' and was unsure what to do from there...

I tried the installation command listed on the main page without the - and it ran and it seems there are containers that started, but when I browse to http://server:8855 I get a message that says 'Invalid Host header'

lnxredir commented 1 year ago

Its fine man, I'm still learning too, to download the file install.yml just run this: wget https://raw.githubusercontent.com/oslabs-beta/docker-watch-app/develop/install.yaml, as for the Invalid Host header error, can you paste the logs (using docker logs [container name] from the sensor container?

jghake commented 1 year ago

It outputs a lot but it just seems to be this repeated.

TypeError: Cannot read properties of undefined (reading 'eth0') at IncomingMessage.<anonymous> (/code/index.js:82:46) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1359:12) at process.processTicksAndRejections (node:internal/process/task_queues:82:21) TypeError: Cannot read properties of undefined (reading 'value') at IncomingMessage.<anonymous> (/code/index.js:65:80) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1359:12) at process.processTicksAndRejections (node:internal/process/task_queues:82:21)

lnxredir commented 1 year ago

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256

Okay, can you send the output of the remaining dockerwatch containers? It seems to be a reoccurring issue that the sensor container starts bugged, at least from the tests I`ve done so far, but the members of the team can give you an exact answer tho. 

Sent with Proton Mail secure email.

------- Original Message ------- On Friday, January 20th, 2023 at 18:29, jghake @.***> wrote:

DuckDuckGo removed 1 tracker.More →

It outputs a lot but it just seems to be this repeated.

TypeError: Cannot read properties of undefined (reading 'eth0') at IncomingMessage.<anonymous> (/code/index.js:82:46) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1359:12) at process.processTicksAndRejections (node:internal/process/task_queues:82:21) TypeError: Cannot read properties of undefined (reading 'value') at IncomingMessage.<anonymous> (/code/index.js:65:80) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1359:12) at process.processTicksAndRejections (node:internal/process/task_queues:82:21)

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented. -----BEGIN PGP SIGNATURE----- Version: ProtonMail

wsBzBAEBCAAnBQJjyzofCRBnPAfGaqXfbxYhBJ5apMKrGdo3n3oG72c8B8Zq pd9vAABX/gf/dkSjrj7GLsOkDTpbToNWDRLnodL3eLzZ2Mo7KwWblCnPg8QT kuxaRWAb9MnIK9LdhZit5SDHSs93trB6JMgEwR3CiLShEjgXlWDD/xMipD+B rMSF3w6htjaST6cCRAa8X6WhGRbOf/Vxoj9fGBLcG9k/Y5wFtfG9JwIdG3Nx ALYt8VWSsu+GMgBpFdQqbAclkwWmMUe7MDf+l5zKF5Vp/9R179t+j7b60Ytc e8PzpLcatp3ck1+qvTvobWNNyGBO8dJM0ZSRKJYz2q4IUi2vMuCxBRgZLYZc Ty5hHNEpZr1SPydbxMVd7qz7lgyMkPdK/5sbHw/uG1gk1ylbdEN/eg== =DPCA -----END PGP SIGNATURE-----

jghake commented 1 year ago

dockerwatch-web-1

> concurrently "npm run build:tailwindcss" "NODE_ENV=development webpack-dev-server --port 8855 "

[0]
[0] > dockervision@0.0.1 build:tailwindcss
[0] > npx tailwindcss -i ./client/app.css -o ./dist/output.css
[0]
[1] Failed to load ../../.env.
[1] <i> [webpack-dev-server] Project is running at:
[1] <i> [webpack-dev-server] Loopback: http://localhost:8855/
[1] <i> [webpack-dev-server] Content not from webpack is served from '/code/dist' directory
[0]
[0] Rebuilding...
[0]
[0] 🌼 daisyUI components 2.46.0  https://daisyui.com
[0]   ✔︎ Including:  base, components, 29 themes, utilities
[0]   ❤︎ Support daisyUI:  https://opencollective.com/daisyui
[0]
[0]
[0] Done in 406ms.
[0] npm run build:tailwindcss exited with code 0
[1]
[1] 🌼 daisyUI components 2.46.0  https://daisyui.com
[1]   ✔︎ Including:  base, components, 29 themes, utilities
[1]   ❤︎ Support daisyUI:  https://opencollective.com/daisyui
[1]
[1] asset bundle.js 2.37 MiB [emitted] (name: main)
[1] asset index.html 263 bytes [emitted]
[1] runtime modules 26.4 KiB 13 modules
[1] modules by path ./node_modules/ 2.02 MiB 49 modules
[1] modules by path ./client/ 92.3 KiB
[1]   modules by path ./client/containers/*.jsx 15.6 KiB
[1]     ./client/containers/App.jsx 4.95 KiB [built] [code generated]
[1]     ./client/containers/Sidebar.jsx 6.32 KiB [built] [code generated]
[1]     ./client/containers/GraphDisplay.jsx 4.36 KiB [built] [code generated]
[1]   modules by path ./client/*.css 70.9 KiB
[1]     ./client/app.css 2.45 KiB [built] [code generated]
[1]     ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].use[1]!./node_modules/postcss-loader/dist/cjs.js!./client/app.css 68.4 KiB [built] [code generated]
[1]   modules by path ./client/components/*.jsx 5.38 KiB
[1]     ./client/components/ContainerButton.jsx 4.25 KiB [built] [code generated]
[1]     ./client/components/LineChart.jsx 1.14 KiB [built] [code generated]
[1]   ./client/index.jsx 473 bytes [built] [code generated]
[1] webpack 5.75.0 compiled successfully in 2499 ms
[1] assets by path *.js 2.37 MiB
[1]   asset bundle.js 2.37 MiB [emitted] (name: main)
[1]   asset main.0c3f45e2102ce60c95d6.hot-update.js 855 bytes [emitted] [immutable] [hmr] (name: main)
[1] asset index.html 263 bytes [emitted]
[1] asset main.0c3f45e2102ce60c95d6.hot-update.json 28 bytes [emitted] [immutable] [hmr]
[1] Entrypoint main 2.37 MiB = bundle.js 2.37 MiB main.0c3f45e2102ce60c95d6.hot-update.js 855 bytes
[1] cached modules 2.04 MiB [cached] 56 modules
[1] runtime modules 26.4 KiB 13 modules
[1] ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].use[1]!./node_modules/postcss-loader/dist/cjs.js!./client/app.css 68.4 KiB [built]
[1] webpack 5.75.0 compiled successfully in 122 ms
npm notice
npm notice New major version of npm available! 8.19.3 -> 9.3.1
npm notice Changelog: <https://github.com/npm/cli/releases/tag/v9.3.1>
npm notice Run `npm install -g npm@9.3.1` to update!
npm notice
npm ERR! path /code
npm ERR! command failed
npm ERR! signal SIGTERM
npm ERR! command sh -c -- concurrently "npm run build:tailwindcss" "NODE_ENV=development webpack-dev-server --port 8855 "

npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2023-01-20T15_29_01_677Z-debug-0.log

> dockervision@0.0.1 dev:docker
> concurrently "npm run build:tailwindcss" "NODE_ENV=development webpack-dev-server --port 8855 "

[0]
[0] > dockervision@0.0.1 build:tailwindcss
[0] > npx tailwindcss -i ./client/app.css -o ./dist/output.css
[0]
[1] Failed to load ../../.env.
[1] <i> [webpack-dev-server] Project is running at:
[1] <i> [webpack-dev-server] Loopback: http://localhost:8855/
[1] <i> [webpack-dev-server] Content not from webpack is served from '/code/dist' directory
[0]
[0] Rebuilding...
[0]
[0] 🌼 daisyUI components 2.46.0  https://daisyui.com
[0]   ✔︎ Including:  base, components, 29 themes, utilities
[0]   ❤︎ Support daisyUI:  https://opencollective.com/daisyui
[0]
[0]
[0] Done in 411ms.
[0] npm run build:tailwindcss exited with code 0
[1]
[1] 🌼 daisyUI components 2.46.0  https://daisyui.com
[1]   ✔︎ Including:  base, components, 29 themes, utilities
[1]   ❤︎ Support daisyUI:  https://opencollective.com/daisyui
[1]
[1] asset bundle.js 2.37 MiB [emitted] (name: main)
[1] asset index.html 263 bytes [emitted]
[1] runtime modules 26.4 KiB 13 modules
[1] modules by path ./node_modules/ 2.02 MiB 49 modules
[1] modules by path ./client/ 92.3 KiB
[1]   modules by path ./client/containers/*.jsx 15.6 KiB
[1]     ./client/containers/App.jsx 4.95 KiB [built] [code generated]
[1]     ./client/containers/Sidebar.jsx 6.32 KiB [built] [code generated]
[1]     ./client/containers/GraphDisplay.jsx 4.36 KiB [built] [code generated]
[1]   modules by path ./client/*.css 70.9 KiB
[1]     ./client/app.css 2.45 KiB [built] [code generated]
[1]     ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].use[1]!./node_modules/postcss-loader/dist/cjs.js!./client/app.css 68.4 KiB [built] [code generated]
[1]   modules by path ./client/components/*.jsx 5.38 KiB
[1]     ./client/components/ContainerButton.jsx 4.25 KiB [built] [code generated]
[1]     ./client/components/LineChart.jsx 1.14 KiB [built] [code generated]
[1]   ./client/index.jsx 473 bytes [built] [code generated]
[1] webpack 5.75.0 compiled successfully in 2498 ms

dockerwatch-web-1

> dockervision@0.0.1 dev:docker
> concurrently "npm run build:tailwindcss" "NODE_ENV=development webpack-dev-server --port 8855 "

[0]
[0] > dockervision@0.0.1 build:tailwindcss
[0] > npx tailwindcss -i ./client/app.css -o ./dist/output.css
[0]
[1] Failed to load ../../.env.
[1] <i> [webpack-dev-server] Project is running at:
[1] <i> [webpack-dev-server] Loopback: http://localhost:8855/
[1] <i> [webpack-dev-server] Content not from webpack is served from '/code/dist' directory
[0]
[0] Rebuilding...
[0]
[0] 🌼 daisyUI components 2.46.0  https://daisyui.com
[0]   ✔︎ Including:  base, components, 29 themes, utilities
[0]   ❤︎ Support daisyUI:  https://opencollective.com/daisyui
[0]
[0]
[0] Done in 406ms.
[0] npm run build:tailwindcss exited with code 0
[1]
[1] 🌼 daisyUI components 2.46.0  https://daisyui.com
[1]   ✔︎ Including:  base, components, 29 themes, utilities
[1]   ❤︎ Support daisyUI:  https://opencollective.com/daisyui
[1]
[1] asset bundle.js 2.37 MiB [emitted] (name: main)
[1] asset index.html 263 bytes [emitted]
[1] runtime modules 26.4 KiB 13 modules
[1] modules by path ./node_modules/ 2.02 MiB 49 modules
[1] modules by path ./client/ 92.3 KiB
[1]   modules by path ./client/containers/*.jsx 15.6 KiB
[1]     ./client/containers/App.jsx 4.95 KiB [built] [code generated]
[1]     ./client/containers/Sidebar.jsx 6.32 KiB [built] [code generated]
[1]     ./client/containers/GraphDisplay.jsx 4.36 KiB [built] [code generated]
[1]   modules by path ./client/*.css 70.9 KiB
[1]     ./client/app.css 2.45 KiB [built] [code generated]
[1]     ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].use[1]!./node_modules/postcss-loader/dist/cjs.js!./client/app.css 68.4 KiB [built] [code generated]
[1]   modules by path ./client/components/*.jsx 5.38 KiB
[1]     ./client/components/ContainerButton.jsx 4.25 KiB [built] [code generated]
[1]     ./client/components/LineChart.jsx 1.14 KiB [built] [code generated]
[1]   ./client/index.jsx 473 bytes [built] [code generated]
[1] webpack 5.75.0 compiled successfully in 2499 ms
[1] assets by path *.js 2.37 MiB
[1]   asset bundle.js 2.37 MiB [emitted] (name: main)
[1]   asset main.0c3f45e2102ce60c95d6.hot-update.js 855 bytes [emitted] [immutable] [hmr] (name: main)
[1] asset index.html 263 bytes [emitted]
[1] asset main.0c3f45e2102ce60c95d6.hot-update.json 28 bytes [emitted] [immutable] [hmr]
[1] Entrypoint main 2.37 MiB = bundle.js 2.37 MiB main.0c3f45e2102ce60c95d6.hot-update.js 855 bytes
[1] cached modules 2.04 MiB [cached] 56 modules
[1] runtime modules 26.4 KiB 13 modules
[1] ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].use[1]!./node_modules/postcss-loader/dist/cjs.js!./client/app.css 68.4 KiB [built]
[1] webpack 5.75.0 compiled successfully in 122 ms
npm notice
npm notice New major version of npm available! 8.19.3 -> 9.3.1
npm notice Changelog: <https://github.com/npm/cli/releases/tag/v9.3.1>
npm notice Run `npm install -g npm@9.3.1` to update!
npm notice
npm ERR! path /code
npm ERR! command failed
npm ERR! signal SIGTERM
npm ERR! command sh -c -- concurrently "npm run build:tailwindcss" "NODE_ENV=development webpack-dev-server --port 8855 "

npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2023-01-20T15_29_01_677Z-debug-0.log

> dockervision@0.0.1 dev:docker
> concurrently "npm run build:tailwindcss" "NODE_ENV=development webpack-dev-server --port 8855 "

[0]
[0] > dockervision@0.0.1 build:tailwindcss
[0] > npx tailwindcss -i ./client/app.css -o ./dist/output.css
[0]
[1] Failed to load ../../.env.
[1] <i> [webpack-dev-server] Project is running at:
[1] <i> [webpack-dev-server] Loopback: http://localhost:8855/
[1] <i> [webpack-dev-server] Content not from webpack is served from '/code/dist' directory
[0]
[0] Rebuilding...
[0]
[0] 🌼 daisyUI components 2.46.0  https://daisyui.com
[0]   ✔︎ Including:  base, components, 29 themes, utilities
[0]   ❤︎ Support daisyUI:  https://opencollective.com/daisyui
[0]
[0]
[0] Done in 411ms.
[0] npm run build:tailwindcss exited with code 0
[1]
[1] 🌼 daisyUI components 2.46.0  https://daisyui.com
[1]   ✔︎ Including:  base, components, 29 themes, utilities
[1]   ❤︎ Support daisyUI:  https://opencollective.com/daisyui
[1]
[1] asset bundle.js 2.37 MiB [emitted] (name: main)
[1] asset index.html 263 bytes [emitted]
[1] runtime modules 26.4 KiB 13 modules
[1] modules by path ./node_modules/ 2.02 MiB 49 modules
[1] modules by path ./client/ 92.3 KiB
[1]   modules by path ./client/containers/*.jsx 15.6 KiB
[1]     ./client/containers/App.jsx 4.95 KiB [built] [code generated]
[1]     ./client/containers/Sidebar.jsx 6.32 KiB [built] [code generated]
[1]     ./client/containers/GraphDisplay.jsx 4.36 KiB [built] [code generated]
[1]   modules by path ./client/*.css 70.9 KiB
[1]     ./client/app.css 2.45 KiB [built] [code generated]
[1]     ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].use[1]!./node_modules/postcss-loader/dist/cjs.js!./client/app.css 68.4 KiB [built] [code generated]
[1]   modules by path ./client/components/*.jsx 5.38 KiB
[1]     ./client/components/ContainerButton.jsx 4.25 KiB [built] [code generated]
[1]     ./client/components/LineChart.jsx 1.14 KiB [built] [code generated]
[1]   ./client/index.jsx 473 bytes [built] [code generated]
[1] webpack 5.75.0 compiled successfully in 2498 ms
root@server:~# docker logs dockerwatch-api-1

> api@0.0.1 start
> node ./index-api.js

Running on http://0.0.0.0:8854
npm notice
npm notice New major version of npm available! 8.19.3 -> 9.3.1
npm notice Changelog: <https://github.com/npm/cli/releases/tag/v9.3.1>
npm notice Run `npm install -g npm@9.3.1` to update!
npm notice
npm ERR! path /code
npm ERR! command failed
npm ERR! signal SIGTERM
npm ERR! command sh -c -- node ./index-api.js

npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2023-01-20T15_29_00_226Z-debug-0.log

> api@0.0.1 start
> node ./index-api.js

Running on http://0.0.0.0:8854

> api@0.0.1 start
> node ./index-api.js

Running on http://0.0.0.0:8854
npm notice
npm notice New major version of npm available! 8.19.3 -> 9.3.1
npm notice Changelog: <https://github.com/npm/cli/releases/tag/v9.3.1>
npm notice Run `npm install -g npm@9.3.1` to update!
npm notice
npm ERR! path /code
npm ERR! command failed
npm ERR! signal SIGTERM
npm ERR! command sh -c -- node ./index-api.js

npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2023-01-20T15_29_00_226Z-debug-0.log

> api@0.0.1 start
> node ./index-api.js

Running on http://0.0.0.0:8854
root@server:~# docker logs dockerwatch-db-1
Command "print-config" is deprecated, use the influx-cli command server-config to display the configuration values from the running server
Command "print-config" is deprecated, use the influx-cli command server-config to display the configuration values from the running server
Command "print-config" is deprecated, use the influx-cli command server-config to display the configuration values from the running server
Command "print-config" is deprecated, use the influx-cli command server-config to display the configuration values from the running server
Command "print-config" is deprecated, use the influx-cli command server-config to display the configuration values from the running server
Command "print-config" is deprecated, use the influx-cli command server-config to display the configuration values from the running server
2023-01-20T15:28:57.089150154Z  info    booting influxd server in the background        {"system": "docker"}
ts=2023-01-20T15:28:57.167954Z lvl=info msg="Welcome to InfluxDB" log_id=0fVxawJl000 version=v2.4.0 commit=de247bab08 build_date=2022-08-18T19:41:15Z log_level=info
ts=2023-01-20T15:28:57.167981Z lvl=warn msg="nats-port argument is deprecated and unused" log_id=0fVxawJl000
ts=2023-01-20T15:28:57.455786Z lvl=info msg="Resources opened" log_id=0fVxawJl000 service=bolt path=/var/lib/influxdb2/influxd.bolt
ts=2023-01-20T15:28:57.456048Z lvl=info msg="Resources opened" log_id=0fVxawJl000 service=sqlite path=/var/lib/influxdb2/influxd.sqlite
ts=2023-01-20T15:28:57.511668Z lvl=info msg="Bringing up metadata migrations" log_id=0fVxawJl000 service="KV migrations" migration_count=20
2023-01-20T15:28:58.093335999Z  info    pinging influxd...      {"system": "docker", "ping_attempt": "0"}
2023-01-20T15:28:59.115067486Z  info    pinging influxd...      {"system": "docker", "ping_attempt": "1"}
2023-01-20T15:29:00.141697355Z  info    pinging influxd...      {"system": "docker", "ping_attempt": "2"}
2023-01-20T15:29:01.149012551Z  info    pinging influxd...      {"system": "docker", "ping_attempt": "3"}
2023-01-20T15:29:02.156689635Z  info    pinging influxd...      {"system": "docker", "ping_attempt": "4"}
ts=2023-01-20T15:29:02.202066Z lvl=info msg="Bringing up metadata migrations" log_id=0fVxawJl000 service="SQL migrations" migration_count=7
2023-01-20T15:29:03.164258516Z  info    pinging influxd...      {"system": "docker", "ping_attempt": "5"}
ts=2023-01-20T15:29:03.519216Z lvl=info msg="Using data dir" log_id=0fVxawJl000 service=storage-engine service=store path=/var/lib/influxdb2/engine/data
ts=2023-01-20T15:29:03.519276Z lvl=info msg="Compaction settings" log_id=0fVxawJl000 service=storage-engine service=store max_concurrent_compactions=3 throughput_bytes_per_second=50331648 throughput_bytes_per_second_burst=50331648
ts=2023-01-20T15:29:03.519286Z lvl=info msg="Open store (start)" log_id=0fVxawJl000 service=storage-engine service=store op_name=tsdb_open op_event=start
ts=2023-01-20T15:29:03.519319Z lvl=info msg="Open store (end)" log_id=0fVxawJl000 service=storage-engine service=store op_name=tsdb_open op_event=end op_elapsed=0.034ms
ts=2023-01-20T15:29:03.519341Z lvl=info msg="Starting retention policy enforcement service" log_id=0fVxawJl000 service=retention check_interval=30m
ts=2023-01-20T15:29:03.519375Z lvl=info msg="Starting precreation service" log_id=0fVxawJl000 service=shard-precreation check_interval=10m advance_period=30m
ts=2023-01-20T15:29:03.519880Z lvl=info msg="Starting query controller" log_id=0fVxawJl000 service=storage-reads concurrency_quota=1024 initial_memory_bytes_quota_per_query=9223372036854775807 memory_bytes_quota_per_query=9223372036854775807 max_memory_bytes=0 queue_size=1024
ts=2023-01-20T15:29:03.523095Z lvl=info msg="Configuring InfluxQL statement executor (zeros indicate unlimited)." log_id=0fVxawJl000 max_select_point=0 max_select_series=0 max_select_buckets=0
ts=2023-01-20T15:29:03.577620Z lvl=info msg=Starting log_id=0fVxawJl000 service=telemetry interval=8h
ts=2023-01-20T15:29:03.577757Z lvl=info msg=Listening log_id=0fVxawJl000 service=tcp-listener transport=http addr=:9999 port=9999
2023-01-20T15:29:04.172578346Z  info    pinging influxd...      {"system": "docker", "ping_attempt": "6"}
2023-01-20T15:29:04.179548081Z  info    got response from influxd, proceeding   {"system": "docker", "total_pings": "7"}
User            Organization    Bucket
dockerwatch     dockerwatch     dockerwatch
2023-01-20T15:29:04.516759138Z  info    Executing user-provided scripts {"system": "docker", "script_dir": "/docker-entrypoint-initdb.d"}
2023-01-20T15:29:04.518373567Z  info    initialization complete, shutting down background influxd       {"system": "docker"}
Command "print-config" is deprecated, use the influx-cli command server-config to display the configuration values from the running server
Command "print-config" is deprecated, use the influx-cli command server-config to display the configuration values from the running server
Command "print-config" is deprecated, use the influx-cli command server-config to display the configuration values from the running server
2023-01-20T15:29:04.700269786Z  info    found existing boltdb file, skipping setup wrapper      {"system": "docker", "bolt_path": "/var/lib/influxdb2/influxd.bolt"}
ts=2023-01-20T15:29:04.788476Z lvl=info msg="Welcome to InfluxDB" log_id=0fVxbP50000 version=v2.4.0 commit=de247bab08 build_date=2022-08-18T19:41:15Z log_level=info
ts=2023-01-20T15:29:04.788503Z lvl=warn msg="nats-port argument is deprecated and unused" log_id=0fVxbP50000
ts=2023-01-20T15:29:04.814291Z lvl=info msg="Resources opened" log_id=0fVxbP50000 service=bolt path=/var/lib/influxdb2/influxd.bolt
ts=2023-01-20T15:29:04.814399Z lvl=info msg="Resources opened" log_id=0fVxbP50000 service=sqlite path=/var/lib/influxdb2/influxd.sqlite
ts=2023-01-20T15:29:04.836846Z lvl=info msg="Checking InfluxDB metadata for prior version." log_id=0fVxbP50000 bolt_path=/var/lib/influxdb2/influxd.bolt
ts=2023-01-20T15:29:04.836912Z lvl=info msg="Using data dir" log_id=0fVxbP50000 service=storage-engine service=store path=/var/lib/influxdb2/engine/data
ts=2023-01-20T15:29:04.836925Z lvl=info msg="Compaction settings" log_id=0fVxbP50000 service=storage-engine service=store max_concurrent_compactions=3 throughput_bytes_per_second=50331648 throughput_bytes_per_second_burst=50331648
ts=2023-01-20T15:29:04.836932Z lvl=info msg="Open store (start)" log_id=0fVxbP50000 service=storage-engine service=store op_name=tsdb_open op_event=start
ts=2023-01-20T15:29:04.836965Z lvl=info msg="Open store (end)" log_id=0fVxbP50000 service=storage-engine service=store op_name=tsdb_open op_event=end op_elapsed=0.034ms
ts=2023-01-20T15:29:04.836989Z lvl=info msg="Starting retention policy enforcement service" log_id=0fVxbP50000 service=retention check_interval=30m
ts=2023-01-20T15:29:04.836996Z lvl=info msg="Starting precreation service" log_id=0fVxbP50000 service=shard-precreation check_interval=10m advance_period=30m
ts=2023-01-20T15:29:04.837517Z lvl=info msg="Starting query controller" log_id=0fVxbP50000 service=storage-reads concurrency_quota=1024 initial_memory_bytes_quota_per_query=9223372036854775807 memory_bytes_quota_per_query=9223372036854775807 max_memory_bytes=0 queue_size=1024
ts=2023-01-20T15:29:04.841103Z lvl=info msg="Configuring InfluxQL statement executor (zeros indicate unlimited)." log_id=0fVxbP50000 max_select_point=0 max_select_series=0 max_select_buckets=0
ts=2023-01-20T15:29:04.883730Z lvl=info msg=Listening log_id=0fVxbP50000 service=tcp-listener transport=http addr=:8086 port=8086
ts=2023-01-20T15:29:04.883745Z lvl=info msg=Starting log_id=0fVxbP50000 service=telemetry interval=8h
ts=2023-01-20T15:29:06.718531Z lvl=info msg="index opened with 8 partitions" log_id=0fVxbP50000 service=storage-engine index=tsi
ts=2023-01-20T15:29:06.719392Z lvl=info msg="Reindexing TSM data" log_id=0fVxbP50000 service=storage-engine engine=tsm1 db_shard_id=1
ts=2023-01-20T15:29:06.719401Z lvl=info msg="Reindexing WAL data" log_id=0fVxbP50000 service=storage-engine engine=tsm1 db_shard_id=1
Command "print-config" is deprecated, use the influx-cli command server-config to display the configuration values from the running server
Command "print-config" is deprecated, use the influx-cli command server-config to display the configuration values from the running server
Command "print-config" is deprecated, use the influx-cli command server-config to display the configuration values from the running server
2023-01-20T15:38:05.597227706Z  info    found existing boltdb file, skipping setup wrapper      {"system": "docker", "bolt_path": "/var/lib/influxdb2/influxd.bolt"}
Command "print-config" is deprecated, use the influx-cli command server-config to display the configuration values from the running server
Command "print-config" is deprecated, use the influx-cli command server-config to display the configuration values from the running server
Command "print-config" is deprecated, use the influx-cli command server-config to display the configuration values from the running server
2023-01-20T15:38:05.747777505Z  info    found existing boltdb file, skipping setup wrapper      {"system": "docker", "bolt_path": "/var/lib/influxdb2/influxd.bolt"}
ts=2023-01-20T15:38:05.855955Z lvl=info msg="Welcome to InfluxDB" log_id=0fVy7Qcl000 version=v2.4.0 commit=de247bab08 build_date=2022-08-18T19:41:15Z log_level=info
ts=2023-01-20T15:38:05.855978Z lvl=warn msg="nats-port argument is deprecated and unused" log_id=0fVy7Qcl000
ts=2023-01-20T15:38:05.884297Z lvl=info msg="Resources opened" log_id=0fVy7Qcl000 service=bolt path=/var/lib/influxdb2/influxd.bolt
ts=2023-01-20T15:38:05.884371Z lvl=info msg="Resources opened" log_id=0fVy7Qcl000 service=sqlite path=/var/lib/influxdb2/influxd.sqlite
ts=2023-01-20T15:38:05.918771Z lvl=info msg="Checking InfluxDB metadata for prior version." log_id=0fVy7Qcl000 bolt_path=/var/lib/influxdb2/influxd.bolt
ts=2023-01-20T15:38:05.918978Z lvl=info msg="Using data dir" log_id=0fVy7Qcl000 service=storage-engine service=store path=/var/lib/influxdb2/engine/data
ts=2023-01-20T15:38:05.919015Z lvl=info msg="Compaction settings" log_id=0fVy7Qcl000 service=storage-engine service=store max_concurrent_compactions=3 throughput_bytes_per_second=50331648 throughput_bytes_per_second_burst=50331648
ts=2023-01-20T15:38:05.919061Z lvl=info msg="Open store (start)" log_id=0fVy7Qcl000 service=storage-engine service=store op_name=tsdb_open op_event=start
ts=2023-01-20T15:38:05.935208Z lvl=info msg="index opened with 8 partitions" log_id=0fVy7Qcl000 service=storage-engine index=tsi
ts=2023-01-20T15:38:05.936586Z lvl=info msg="Reading file" log_id=0fVy7Qcl000 service=storage-engine engine=tsm1 service=cacheloader path=/var/lib/influxdb2/engine/wal/ac441b8e8d0463af/autogen/1/_00001.wal size=1175711
ts=2023-01-20T15:38:06.001054Z lvl=info msg="Opened shard" log_id=0fVy7Qcl000 service=storage-engine service=store op_name=tsdb_open index_version=tsi1 path=/var/lib/influxdb2/engine/data/ac441b8e8d0463af/autogen/1 duration=78.242ms
ts=2023-01-20T15:38:06.001125Z lvl=info msg="Open store (end)" log_id=0fVy7Qcl000 service=storage-engine service=store op_name=tsdb_open op_event=end op_elapsed=82.093ms
ts=2023-01-20T15:38:06.001206Z lvl=info msg="Starting retention policy enforcement service" log_id=0fVy7Qcl000 service=retention check_interval=30m
ts=2023-01-20T15:38:06.001220Z lvl=info msg="Starting precreation service" log_id=0fVy7Qcl000 service=shard-precreation check_interval=10m advance_period=30m
ts=2023-01-20T15:38:06.002213Z lvl=info msg="Starting query controller" log_id=0fVy7Qcl000 service=storage-reads concurrency_quota=1024 initial_memory_bytes_quota_per_query=9223372036854775807 memory_bytes_quota_per_query=9223372036854775807 max_memory_bytes=0 queue_size=1024
ts=2023-01-20T15:38:06.004487Z lvl=info msg="Configuring InfluxQL statement executor (zeros indicate unlimited)." log_id=0fVy7Qcl000 max_select_point=0 max_select_series=0 max_select_buckets=0
ts=2023-01-20T15:38:06.059851Z lvl=info msg=Starting log_id=0fVy7Qcl000 service=telemetry interval=8h
ts=2023-01-20T15:38:06.060151Z lvl=info msg=Listening log_id=0fVy7Qcl000 service=tcp-listener transport=http addr=:8086 port=8086
ts=2023-01-20T16:08:06.002177Z lvl=info msg="Retention policy deletion check (start)" log_id=0fVy7Qcl000 service=retention op_name=retention_delete_check op_event=start
ts=2023-01-20T16:08:06.002266Z lvl=info msg="Retention policy deletion check (end)" log_id=0fVy7Qcl000 service=retention op_name=retention_delete_check op_event=end op_elapsed=0.095ms
ts=2023-01-20T16:38:06.002106Z lvl=info msg="Retention policy deletion check (start)" log_id=0fVy7Qcl000 service=retention op_name=retention_delete_check op_event=start
ts=2023-01-20T16:38:06.002213Z lvl=info msg="Retention policy deletion check (end)" log_id=0fVy7Qcl000 service=retention op_name=retention_delete_check op_event=end op_elapsed=0.125ms
ts=2023-01-20T17:08:06.001414Z lvl=info msg="Retention policy deletion check (start)" log_id=0fVy7Qcl000 service=retention op_name=retention_delete_check op_event=start
ts=2023-01-20T17:08:06.001540Z lvl=info msg="Retention policy deletion check (end)" log_id=0fVy7Qcl000 service=retention op_name=retention_delete_check op_event=end op_elapsed=0.157ms
ts=2023-01-20T17:38:06.002318Z lvl=info msg="Retention policy deletion check (start)" log_id=0fVy7Qcl000 service=retention op_name=retention_delete_check op_event=start
ts=2023-01-20T17:38:06.002413Z lvl=info msg="Retention policy deletion check (end)" log_id=0fVy7Qcl000 service=retention op_name=retention_delete_check op_event=end op_elapsed=0.134ms
ts=2023-01-20T18:08:06.002313Z lvl=info msg="Retention policy deletion check (start)" log_id=0fVy7Qcl000 service=retention op_name=retention_delete_check op_event=start
ts=2023-01-20T18:08:06.002407Z lvl=info msg="Retention policy deletion check (end)" log_id=0fVy7Qcl000 service=retention op_name=retention_delete_check op_event=end op_elapsed=0.120ms
ts=2023-01-20T18:38:06.001709Z lvl=info msg="Retention policy deletion check (start)" log_id=0fVy7Qcl000 service=retention op_name=retention_delete_check op_event=start
ts=2023-01-20T18:38:06.001790Z lvl=info msg="Retention policy deletion check (end)" log_id=0fVy7Qcl000 service=retention op_name=retention_delete_check op_event=end op_elapsed=0.101ms
ts=2023-01-20T19:08:06.001441Z lvl=info msg="Retention policy deletion check (start)" log_id=0fVy7Qcl000 service=retention op_name=retention_delete_check op_event=start
ts=2023-01-20T19:08:06.001567Z lvl=info msg="Retention policy deletion check (end)" log_id=0fVy7Qcl000 service=retention op_name=retention_delete_check op_event=end op_elapsed=0.144ms
ts=2023-01-20T19:29:10.419094Z lvl=info msg="TSI log compaction (start)" log_id=0fVy7Qcl000 service=storage-engine index=tsi tsi1_partition=5 op_name=tsi1_compact_log_file tsi1_log_file_id=1 op_event=start
ts=2023-01-20T19:29:10.419126Z lvl=info msg="TSI log compaction (start)" log_id=0fVy7Qcl000 service=storage-engine index=tsi tsi1_partition=8 op_name=tsi1_compact_log_file tsi1_log_file_id=1 op_event=start
ts=2023-01-20T19:29:10.463542Z lvl=info msg="TSI log compaction (start)" log_id=0fVy7Qcl000 service=storage-engine index=tsi tsi1_partition=4 op_name=tsi1_compact_log_file tsi1_log_file_id=1 op_event=start
ts=2023-01-20T19:29:10.753194Z lvl=info msg="Log file compacted" log_id=0fVy7Qcl000 service=storage-engine index=tsi tsi1_partition=8 op_name=tsi1_compact_log_file tsi1_log_file_id=1 elapsed=334ms bytes=3486 kb_per_sec=10
ts=2023-01-20T19:29:10.753387Z lvl=info msg="TSI log compaction (end)" log_id=0fVy7Qcl000 service=storage-engine index=tsi tsi1_partition=8 op_name=tsi1_compact_log_file tsi1_log_file_id=1 op_event=end op_elapsed=334.274ms
ts=2023-01-20T19:29:10.787741Z lvl=info msg="Log file compacted" log_id=0fVy7Qcl000 service=storage-engine index=tsi tsi1_partition=5 op_name=tsi1_compact_log_file tsi1_log_file_id=1 elapsed=368ms bytes=2622 kb_per_sec=6
ts=2023-01-20T19:29:10.787737Z lvl=info msg="Log file compacted" log_id=0fVy7Qcl000 service=storage-engine index=tsi tsi1_partition=4 op_name=tsi1_compact_log_file tsi1_log_file_id=1 elapsed=324ms bytes=3378 kb_per_sec=10
ts=2023-01-20T19:29:10.787924Z lvl=info msg="TSI log compaction (end)" log_id=0fVy7Qcl000 service=storage-engine index=tsi tsi1_partition=5 op_name=tsi1_compact_log_file tsi1_log_file_id=1 op_event=end op_elapsed=368.864ms
ts=2023-01-20T19:29:10.787941Z lvl=info msg="TSI log compaction (end)" log_id=0fVy7Qcl000 service=storage-engine index=tsi tsi1_partition=4 op_name=tsi1_compact_log_file tsi1_log_file_id=1 op_event=end op_elapsed=324.432ms
ts=2023-01-20T19:29:11.441881Z lvl=info msg="TSI log compaction (start)" log_id=0fVy7Qcl000 service=storage-engine index=tsi tsi1_partition=6 op_name=tsi1_compact_log_file tsi1_log_file_id=1 op_event=start
ts=2023-01-20T19:29:11.442249Z lvl=info msg="TSI log compaction (start)" log_id=0fVy7Qcl000 service=storage-engine index=tsi tsi1_partition=2 op_name=tsi1_compact_log_file tsi1_log_file_id=1 op_event=start
ts=2023-01-20T19:29:11.497976Z lvl=info msg="TSI log compaction (start)" log_id=0fVy7Qcl000 service=storage-engine index=tsi tsi1_partition=7 op_name=tsi1_compact_log_file tsi1_log_file_id=1 op_event=start
ts=2023-01-20T19:29:11.498331Z lvl=info msg="TSI log compaction (start)" log_id=0fVy7Qcl000 service=storage-engine index=tsi tsi1_partition=3 op_name=tsi1_compact_log_file tsi1_log_file_id=1 op_event=start
ts=2023-01-20T19:29:11.598264Z lvl=info msg="TSI log compaction (start)" log_id=0fVy7Qcl000 service=storage-engine index=tsi tsi1_partition=1 op_name=tsi1_compact_log_file tsi1_log_file_id=1 op_event=start
ts=2023-01-20T19:29:11.789134Z lvl=info msg="Log file compacted" log_id=0fVy7Qcl000 service=storage-engine index=tsi tsi1_partition=7 op_name=tsi1_compact_log_file tsi1_log_file_id=1 elapsed=291ms bytes=2727 kb_per_sec=9
ts=2023-01-20T19:29:11.789218Z lvl=info msg="Log file compacted" log_id=0fVy7Qcl000 service=storage-engine index=tsi tsi1_partition=6 op_name=tsi1_compact_log_file tsi1_log_file_id=1 elapsed=347ms bytes=2877 kb_per_sec=8
ts=2023-01-20T19:29:11.789365Z lvl=info msg="TSI log compaction (end)" log_id=0fVy7Qcl000 service=storage-engine index=tsi tsi1_partition=6 op_name=tsi1_compact_log_file tsi1_log_file_id=1 op_event=end op_elapsed=347.511ms
ts=2023-01-20T19:29:11.789443Z lvl=info msg="Log file compacted" log_id=0fVy7Qcl000 service=storage-engine index=tsi tsi1_partition=2 op_name=tsi1_compact_log_file tsi1_log_file_id=1 elapsed=347ms bytes=2980 kb_per_sec=8
ts=2023-01-20T19:29:11.789507Z lvl=info msg="TSI log compaction (end)" log_id=0fVy7Qcl000 service=storage-engine index=tsi tsi1_partition=7 op_name=tsi1_compact_log_file tsi1_log_file_id=1 op_event=end op_elapsed=291.569ms
ts=2023-01-20T19:29:11.789555Z lvl=info msg="TSI log compaction (end)" log_id=0fVy7Qcl000 service=storage-engine index=tsi tsi1_partition=2 op_name=tsi1_compact_log_file tsi1_log_file_id=1 op_event=end op_elapsed=347.360ms
ts=2023-01-20T19:29:11.790037Z lvl=info msg="Log file compacted" log_id=0fVy7Qcl000 service=storage-engine index=tsi tsi1_partition=3 op_name=tsi1_compact_log_file tsi1_log_file_id=1 elapsed=291ms bytes=3818 kb_per_sec=12
ts=2023-01-20T19:29:11.790465Z lvl=info msg="TSI log compaction (end)" log_id=0fVy7Qcl000 service=storage-engine index=tsi tsi1_partition=3 op_name=tsi1_compact_log_file tsi1_log_file_id=1 op_event=end op_elapsed=292.159ms
ts=2023-01-20T19:29:11.844006Z lvl=info msg="Log file compacted" log_id=0fVy7Qcl000 service=storage-engine index=tsi tsi1_partition=1 op_name=tsi1_compact_log_file tsi1_log_file_id=1 elapsed=245ms bytes=1706 kb_per_sec=6
ts=2023-01-20T19:29:11.844218Z lvl=info msg="TSI log compaction (end)" log_id=0fVy7Qcl000 service=storage-engine index=tsi tsi1_partition=1 op_name=tsi1_compact_log_file tsi1_log_file_id=1 op_event=end op_elapsed=245.980ms
ts=2023-01-20T19:38:06.001773Z lvl=info msg="Retention policy deletion check (start)" log_id=0fVy7Qcl000 service=retention op_name=retention_delete_check op_event=start
ts=2023-01-20T19:38:06.001861Z lvl=info msg="Retention policy deletion check (end)" log_id=0fVy7Qcl000 service=retention op_name=retention_delete_check op_event=end op_elapsed=0.111ms
ts=2023-01-20T20:08:06.001479Z lvl=info msg="Retention policy deletion check (start)" log_id=0fVy7Qcl000 service=retention op_name=retention_delete_check op_event=start
ts=2023-01-20T20:08:06.001578Z lvl=info msg="Retention policy deletion check (end)" log_id=0fVy7Qcl000 service=retention op_name=retention_delete_check op_event=end op_elapsed=0.120ms
ts=2023-01-20T20:38:06.002156Z lvl=info msg="Retention policy deletion check (start)" log_id=0fVy7Qcl000 service=retention op_name=retention_delete_check op_event=start
ts=2023-01-20T20:38:06.002260Z lvl=info msg="Retention policy deletion check (end)" log_id=0fVy7Qcl000 service=retention op_name=retention_delete_check op_event=end op_elapsed=0.120ms
ts=2023-01-20T21:08:06.001770Z lvl=info msg="Retention policy deletion check (start)" log_id=0fVy7Qcl000 service=retention op_name=retention_delete_check op_event=start
ts=2023-01-20T21:08:06.001841Z lvl=info msg="Retention policy deletion check (end)" log_id=0fVy7Qcl000 service=retention op_name=retention_delete_check op_event=end op_elapsed=0.088ms
ts=2023-01-20T21:38:06.002237Z lvl=info msg="Retention policy deletion check (start)" log_id=0fVy7Qcl000 service=retention op_name=retention_delete_check op_event=start
ts=2023-01-20T21:38:06.002316Z lvl=info msg="Retention policy deletion check (end)" log_id=0fVy7Qcl000 service=retention op_name=retention_delete_check op_event=end op_elapsed=0.097ms
ts=2023-01-20T22:08:06.001423Z lvl=info msg="Retention policy deletion check (start)" log_id=0fVy7Qcl000 service=retention op_name=retention_delete_check op_event=start
ts=2023-01-20T22:08:06.001513Z lvl=info msg="Retention policy deletion check (end)" log_id=0fVy7Qcl000 service=retention op_name=retention_delete_check op_event=end op_elapsed=0.127ms
ts=2023-01-20T22:09:51.002189Z lvl=info msg="Cache snapshot (start)" log_id=0fVy7Qcl000 service=storage-engine engine=tsm1 op_name=tsm1_cache_snapshot op_event=start
ts=2023-01-20T22:09:51.259768Z lvl=info msg="Snapshot for path written" log_id=0fVy7Qcl000 service=storage-engine engine=tsm1 op_name=tsm1_cache_snapshot path=/var/lib/influxdb2/engine/data/ac441b8e8d0463af/autogen/1 duration=257.585ms
ts=2023-01-20T22:09:51.259835Z lvl=info msg="Cache snapshot (end)" log_id=0fVy7Qcl000 service=storage-engine engine=tsm1 op_name=tsm1_cache_snapshot op_event=end op_elapsed=257.675ms
ts=2023-01-20T22:38:06.001949Z lvl=info msg="Retention policy deletion check (start)" log_id=0fVy7Qcl000 service=retention op_name=retention_delete_check op_event=start
ts=2023-01-20T22:38:06.002039Z lvl=info msg="Retention policy deletion check (end)" log_id=0fVy7Qcl000 service=retention op_name=retention_delete_check op_event=end op_elapsed=0.110ms
ts=2023-01-20T23:08:06.001375Z lvl=info msg="Retention policy deletion check (start)" log_id=0fVy7Qcl000 service=retention op_name=retention_delete_check op_event=start
ts=2023-01-20T23:08:06.001448Z lvl=info msg="Retention policy deletion check (end)" log_id=0fVy7Qcl000 service=retention op_name=retention_delete_check op_event=end op_elapsed=0.111ms
ts=2023-01-20T23:38:06.001515Z lvl=info msg="Retention policy deletion check (start)" log_id=0fVy7Qcl000 service=retention op_name=retention_delete_check op_event=start
ts=2023-01-20T23:38:06.001582Z lvl=info msg="Retention policy deletion check (end)" log_id=0fVy7Qcl000 service=retention op_name=retention_delete_check op_event=end op_elapsed=0.123ms
ts=2023-01-21T00:00:02.848593Z lvl=info msg="index opened with 8 partitions" log_id=0fVy7Qcl000 service=storage-engine index=tsi
ts=2023-01-21T00:00:02.849022Z lvl=info msg="Reindexing TSM data" log_id=0fVy7Qcl000 service=storage-engine engine=tsm1 db_shard_id=2
ts=2023-01-21T00:00:02.849036Z lvl=info msg="Reindexing WAL data" log_id=0fVy7Qcl000 service=storage-engine engine=tsm1 db_shard_id=2
ts=2023-01-21T00:08:06.001376Z lvl=info msg="Retention policy deletion check (start)" log_id=0fVy7Qcl000 service=retention op_name=retention_delete_check op_event=start
ts=2023-01-21T00:08:06.001472Z lvl=info msg="Retention policy deletion check (end)" log_id=0fVy7Qcl000 service=retention op_name=retention_delete_check op_event=end op_elapsed=0.122ms
ts=2023-01-21T00:09:59.001596Z lvl=info msg="Cache snapshot (start)" log_id=0fVy7Qcl000 service=storage-engine engine=tsm1 op_name=tsm1_cache_snapshot op_event=start
ts=2023-01-21T00:09:59.126711Z lvl=info msg="Snapshot for path written" log_id=0fVy7Qcl000 service=storage-engine engine=tsm1 op_name=tsm1_cache_snapshot path=/var/lib/influxdb2/engine/data/ac441b8e8d0463af/autogen/1 duration=125.170ms
ts=2023-01-21T00:09:59.126748Z lvl=info msg="Cache snapshot (end)" log_id=0fVy7Qcl000 service=storage-engine engine=tsm1 op_name=tsm1_cache_snapshot op_event=end op_elapsed=125.168ms
ts=2023-01-21T00:38:06.002044Z lvl=info msg="Retention policy deletion check (start)" log_id=0fVy7Qcl000 service=retention op_name=retention_delete_check op_event=start
ts=2023-01-21T00:38:06.002139Z lvl=info msg="Retention policy deletion check (end)" log_id=0fVy7Qcl000 service=retention op_name=retention_delete_check op_event=end op_elapsed=0.109ms
ts=2023-01-21T01:08:06.002285Z lvl=info msg="Retention policy deletion check (start)" log_id=0fVy7Qcl000 service=retention op_name=retention_delete_check op_event=start
ts=2023-01-21T01:08:06.002353Z lvl=info msg="Retention policy deletion check (end)" log_id=0fVy7Qcl000 service=retention op_name=retention_delete_check op_event=end op_elapsed=0.083ms
lnxredir commented 1 year ago

Okay, thank you, do all the containers stay UP or they just get killed after a few minutes? So far it looks the web container is working fine, besides npm just complaining, the final output is webpack 5.75.0 compiled successfully in 2498 ms which indicates it's working fine, I assume its just the sensors containers not working correctly, the dockerwatch-db looks fine, the dockerwatch-api is a bit worrying,

npm ERR! path /code
npm ERR! command failed
npm ERR! signal SIGTERM
npm ERR! command sh -c -- node ./index-api.js
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2023-01-20T15_29_00_226Z-debug-0.log

Can you try to get the output of this log? You can use docker exec **containername** cat **filename** > output.txt, then post the output.txt here please. (if you need an explanation for what this command does in full, just ask, sorry if you already know, I don't wanna sound like a smartass, just trying to help)

jghake commented 1 year ago

The containers seem to be up.

84b63ce4f018   dockerwatch/frontend-web:latest       "docker-entrypoint.s…"   10 hours ago    Up 10 hours             0.0.0.0:8855->8855/tcp, :::8855->8855/tcp                                                                                                                                                                            dockerwatch-web-1
e3f335fc0858   dockerwatch/api:latest                "docker-entrypoint.s…"   10 hours ago    Up 10 hours             0.0.0.0:8854->8854/tcp, :::8854->8854/tcp                                                                                                                                                                            dockerwatch-api-1
59f80b69f04b   dockerwatch/sensor1:latest            "docker-entrypoint.s…"   10 hours ago    Up 10 hours             8855/tcp                                                                                                                                                                                                             dockerwatch-sensor1-1
0 verbose cli /usr/local/bin/node /usr/local/bin/npm
1 info using npm@8.19.3
2 info using node@v18.13.0
3 timing npm:load:whichnode Completed in 0ms
4 timing config:load:defaults Completed in 1ms
5 timing config:load:file:/usr/local/lib/node_modules/npm/npmrc Completed in 1ms
6 timing config:load:builtin Completed in 1ms
7 timing config:load:cli Completed in 2ms
8 timing config:load:env Completed in 0ms
9 timing config:load:file:/code/.npmrc Completed in 0ms
10 timing config:load:project Completed in 4ms
11 timing config:load:file:/root/.npmrc Completed in 0ms
12 timing config:load:user Completed in 0ms
13 timing config:load:file:/usr/local/etc/npmrc Completed in 0ms
14 timing config:load:global Completed in 0ms
15 timing config:load:validate Completed in 0ms
16 timing config:load:credentials Completed in 1ms
17 timing config:load:setEnvs Completed in 1ms
18 timing config:load Completed in 11ms
19 timing npm:load:configload Completed in 11ms
20 timing npm:load:mkdirpcache Completed in 1ms
21 timing npm:load:mkdirplogs Completed in 0ms
22 verbose title npm run start
23 verbose argv "run" "start"
24 timing npm:load:setTitle Completed in 2ms
25 timing config:load:flatten Completed in 2ms
26 timing npm:load:display Completed in 3ms
27 verbose logfile logs-max:10 dir:/root/.npm/_logs
28 verbose logfile /root/.npm/_logs/2023-01-20T15_29_00_226Z-debug-0.log
29 timing npm:load:logFile Completed in 5ms
30 timing npm:load:timers Completed in 0ms
31 timing npm:load:configScope Completed in 0ms
32 timing npm:load Completed in 22ms
33 silly logfile done cleaning log files
34 http fetch GET 200 https://registry.npmjs.org/npm 381ms (cache updated)
35 timing command:run Completed in 541763ms
36 notice
36 notice New major version of npm available! 8.19.3 -> 9.3.1
36 notice Changelog: <https://github.com/npm/cli/releases/tag/v9.3.1>
36 notice Run `npm install -g npm@9.3.1` to update!
36 notice
37 verbose stack Error: command failed
37 verbose stack     at ChildProcess.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/@npmcli/promise-spawn/lib/index.js:63:27)
37 verbose stack     at ChildProcess.emit (node:events:513:28)
37 verbose stack     at maybeClose (node:internal/child_process:1091:16)
37 verbose stack     at ChildProcess._handle.onexit (node:internal/child_process:302:5)
38 verbose pkgid api@0.0.1
39 verbose cwd /code
40 verbose Linux 5.10.0-0.deb10.16-amd64
41 verbose node v18.13.0
42 verbose npm  v8.19.3
43 error path /code
44 error command failed
45 error signal SIGTERM
46 error command sh -c -- node ./index-api.js
47 verbose exit 1
48 timing npm Completed in 541799ms
49 verbose code 1
50 error A complete log of this run can be found in:
50 error     /root/.npm/_logs/2023-01-20T15_29_00_226Z-debug-0.log
lnxredir commented 1 year ago

Okay, thank you again, well I think that's as far as I can help you, looks like an internal error and it's beyond my knowledge, sorry, you'll need to wait for a member of the team to have a more accurate look on what might be happening, @rob-mosher will have far more know-how than me. Sorry if I couldn't help you to the end.

jghake commented 1 year ago

No apologies necessary. I wouldn't have been able to get these logs alone, and have no idea what any of it all means.

Thank you for the help.

lnxredir commented 1 year ago

Quick revision: docker exec **containername** cat **filename** > output.txt docker exec executes a command inside of the container, like you would on a normal terminal cat [filename] outputs the contents of the given file in the terminal window, not good for big logs > output.txt instead of outputting it on the terminal, it does in a text file, making it easier to read, using the less [filename] command, its like cat but you can scroll the screen and then press q to quit.

You could also use the less command directly if you don't wish to make a copy of the log file, a good example is the log in question, less /root/.npm/_logs/2023-01-20T15_29_00_226Z-debug-0.log, to do it inside of the docker container just add the docker exec command in the mix, like docker exec dockerwatch-api-1 less /root/.npm/_logs/2023-01-20T15_29_00_226Z-debug-0.log, allows you to read directly from the container and just copy the relevant parts if you need to.

rob-mosher commented 1 year ago

Thank you for your patience @jghake, and @lnxredir for stepping in!

Getting caught up here, it looks like DockerWatch is installing and running, but not fully operational. As the next troubleshooting step, would it be possible to check if the internal API is running? To test, from the openmediavault host itself please run the following from the command line:

curl localhost:8854

Does it respond with OK, or something else?

jghake commented 1 year ago

It says OK, but the website still doesn't work. It just says OK as well.

jghake commented 1 year ago

I've tried starting over but get the same results. Just 'OK' at server.local:8854.