dockge icon indicating copy to clipboard operation
dockge copied to clipboard

Process exited with code 14

Open Tivin-i opened this issue 11 months ago โ€ข 5 comments

โš ๏ธ Please verify that this bug has NOT been reported before.

  • [X] I checked and didn't find similar issue

๐Ÿ›ก๏ธ Security Policy

Description

Error appears in the logs as shown below. Dockge is working as expected, all stacks are up and operational, I checked everything one by one.

๐Ÿ‘Ÿ Reproduction steps

Was creating stacks as usual, all stacks that should be up are up.

๐Ÿ‘€ Expected behavior

descriptive error on where configuration might be missing.

๐Ÿ˜“ Actual Behavior

Error showing in logs.

Dockge Version

1.4.2

๐Ÿ’ป Operating System and Arch

Ubuntu 22.04

๐ŸŒ Browser

CLI

๐Ÿ‹ Docker Version

Docker version 25.0.4, build 1a576c5

๐ŸŸฉ NodeJS Version

No response

๐Ÿ“ Relevant log output

2024-03-18T11:28:28Z [GETSERVICESTATUSLIST] ERROR: Error: Process exited with code 14
    at ChildProcess.done (/app/node_modules/.pnpm/[email protected]/node_modules/promisify-child-process/index.cjs:70:19)
    at ChildProcess.emit (node:events:514:28)
    at ChildProcess.emit (node:domain:489:12)
    at maybeClose (node:internal/child_process:1091:16)
    at ChildProcess._handle.onexit (node:internal/child_process:302:5) {
  code: 14,
  signal: null,
  stdout: '',
  stderr: 'no configuration file provided: not found\n'
}

Tivin-i avatar Mar 18 '24 11:03 Tivin-i

I also encountered this problem, but I don't know how to solve it myselfใ€‚

dockge_1 | 2024-04-12T02:56:20Z [GETSERVICESTATUSLIST] ERROR: Error: Process exited with code 14 dockge_1 | at ChildProcess.done (/app/node_modules/.pnpm/[email protected]/node_modules/promisify-child-process/index.cjs:70:19) dockge_1 | at ChildProcess.emit (node:events:514:28) dockge_1 | at ChildProcess.emit (node:domain:489:12) dockge_1 | at maybeClose (node:internal/child_process:1091:16) dockge_1 | at ChildProcess._handle.onexit (node:internal/child_process:302:5) { dockge_1 | code: 14, dockge_1 | signal: null, dockge_1 | stdout: '', dockge_1 | stderr: 'no configuration file provided: not found\n' dockge_1 | }

explorer369 avatar Apr 12 '24 02:04 explorer369

Same here, everytime I visit the "compose" tab for creating a new stack.

alejandroperezlopez avatar Apr 17 '24 08:04 alejandroperezlopez

Same exact issue

Dvalin21 avatar Jul 15 '24 17:07 Dvalin21

EDIT: I fixed the issue and it was indeed a permission error on my side. I had forgot that I created a /etc/docker/daemon.json and put in

{
  "userns-remap": "userToRunDockerWith"
}

Which would mean that all services run with the user that is given in the configm which in return messed with the permission of dockge.

I experience the same exact Issue for me it started after a VM reboot.

I also get this error which indicated that the DB is readonly however the permissions didn't change.
2024-07-29T15:37:34Z [SERVER] INFO: Welcome to dockge!
2024-07-29T15:37:34Z [SERVER] INFO: NODE_ENV: production
2024-07-29T15:37:34Z [SERVER] INFO: Server Type: HTTP
2024-07-29T15:37:34Z [SERVER] INFO: Data Dir: ./data/
2024-07-29T15:37:34Z [DB] INFO: Database Type: sqlite
2024-07-29T15:37:34Z [SERVER] ERROR: Failed to prepare your database: PRAGMA journal_mode = WAL - SQLITE_READONLY: attempt to write a readonly database
in addition to the already provided exited with code 14
2024-07-29T15:36:27Z [GETSERVICESTATUSLIST] ERROR: Error: Process exited with code 14
at ChildProcess.done (/app/node_modules/.pnpm/[email protected]/node_modules/promisify-child-process/index.cjs:70:19)
at ChildProcess.emit (node:events:514:28)
at ChildProcess.emit (node:domain:489:12)
at maybeClose (node:internal/child_process:1091:16)
at ChildProcess._handle.onexit (node:internal/child_process:302:5) {
code: 14,
signal: null,
stdout: '',
stderr: 'no configuration file provided: not found\n'
}

M1xel avatar Jul 29 '24 15:07 M1xel

I encouter this behaviour on an unraid server with the deployment of the dockerge setup without changing anything - so its pretty basic.

mr-gosh avatar Aug 09 '24 09:08 mr-gosh