Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

'Error: spawn docker ENOENT' on v1.3.4 #311

Closed
2 tasks done
sasagar opened this issue Dec 20, 2023 · 0 comments
Closed
2 tasks done

'Error: spawn docker ENOENT' on v1.3.4 #311

sasagar opened this issue Dec 20, 2023 · 0 comments
Labels

Comments

@sasagar
Copy link

sasagar commented Dec 20, 2023

⚠️ Please verify that this bug has NOT been reported before.

  • I checked and didn't find similar issue

🛡️ Security Policy

Description

The error below appears every 6 secondes.

2023-12-20T01:53:21Z [GETSERVICESTATUSLIST] ERROR: Error: spawn docker ENOENT
     at __node_internal_captureLargerStackTrace (node:internal/errors:496:5)
     at __node_internal_errnoException (node:internal/errors:623:12)
     at ChildProcess._handle.onexit (node:internal/child_process:283:19)
     at onErrorNT (node:internal/child_process:476:16)
     at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
   errno: -2,
   code: 'ENOENT',
   syscall: 'spawn docker',
   path: 'docker',
   spawnargs: [ 'compose', 'ps', '--format', 'json' ]
 }

👟 Reproduction steps

  1. pull latest docker image
  2. run docker compose up -d && docker compose logs -f
  3. the logs appears.

👀 Expected behavior

No error appears.

😓 Actual Behavior

The error appears every 6 sec.

Dockge Version

1.3.4

💻 Operating System and Arch

CentOS Stream 9 / Docker

🌐 Browser

Chrome 120.0.6099.110

🐋 Docker Version

Docker version 24.0.7, build afdd53b

🟩 NodeJS Version

No response

📝 Relevant log output

2023-12-20T01:52:40Z [SERVER] INFO: Welcome to dockge!
2023-12-20T01:52:40Z [SERVER] INFO: NODE_ENV: production
2023-12-20T01:52:40Z [SERVER] INFO: Server Type: HTTP
2023-12-20T01:52:40Z [SERVER] INFO: Data Dir: ./data/
2023-12-20T01:52:40Z [DB] INFO: Database Type: sqlite
2023-12-20T01:52:40Z [SERVER] INFO: Connected to the database
2023-12-20T01:52:40Z [SERVER] INFO: Listening on 5001
2023-12-20T01:52:45Z [SERVER] INFO: Socket connected!
2023-12-20T01:52:45Z [AUTH] INFO: Login by token. IP=192.168.224.1
2023-12-20T01:52:45Z [AUTH] INFO: Username from JWT: <userid>
2023-12-20T01:52:45Z [AUTH] INFO: Successfully logged in user <userid>. IP=192.168.224.1
2023-12-20T01:52:46Z [SERVER] INFO: Socket connected!
2023-12-20T01:52:46Z [AUTH] INFO: Login by token. IP=192.168.224.1
2023-12-20T01:52:46Z [AUTH] INFO: Username from JWT: <userid>
2023-12-20T01:52:46Z [AUTH] INFO: Successfully logged in user <userid>. IP=192.168.224.1
2023-12-20T01:52:46Z [GETSERVICESTATUSLIST] ERROR: Error: spawn docker ENOENT
    at __node_internal_captureLargerStackTrace (node:internal/errors:496:5)
    at __node_internal_errnoException (node:internal/errors:623:12)
    at ChildProcess._handle.onexit (node:internal/child_process:283:19)
    at onErrorNT (node:internal/child_process:476:16)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
  errno: -2,
  code: 'ENOENT',
  syscall: 'spawn docker',
  path: 'docker',
  spawnargs: [ 'compose', 'ps', '--format', 'json' ]
}
@sasagar sasagar added the bug Something isn't working label Dec 20, 2023
@sasagar sasagar changed the title ' Error: spawn docker ENOENT' on v1.3.4 'Error: spawn docker ENOENT' on v1.3.4 Dec 20, 2023
@louislam louislam added help and removed bug Something isn't working labels Dec 20, 2023
Repository owner locked and limited conversation to collaborators Dec 20, 2023
@louislam louislam converted this issue into discussion #312 Dec 20, 2023

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
Projects
None yet
Development

No branches or pull requests

2 participants