Bug: Cannot run the latest version #921

Closed
opened 2026-04-05 16:23:53 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @sevensolutions on 6/9/2024

Describe the bug
I have successfully deployed OneUptime on-premise a few months ago but now, deploying the latest version to a new server fails.
Most of the containers are constantly restarting without any useful information.

To Reproduce
Steps to reproduce the behavior:

  1. Followed this instruction: https://github.com/OneUptime/oneuptime/blob/master/App/FeatureSet/Docs/Content/installation/docker-compose.md
  2. Containers are constantly restarting. Unfortunately i don't get any useful logs.

Expected behavior
Containers should be running without restart and web interface should be reachable.

Error from the accounts container

docker exec -it 9962c1884138 cat /tmp/npm/_logs/2024-06-09T09_24_30_605Z-debug-0.log
0 verbose cli /usr/local/bin/node /usr/local/bin/npm
1 info using npm@10.5.0
2 info using node@v21.7.3
3 timing npm:load:whichnode Completed in 9ms
4 timing config:load:defaults Completed in 7ms
5 timing config:load:file:/usr/local/lib/node_modules/npm/npmrc Completed in 1ms
6 timing config:load:builtin Completed in 2ms
7 timing config:load:cli Completed in 2ms
8 timing config:load:env Completed in 0ms
9 timing config:load:file:/usr/src/app/.npmrc Completed in 1ms
10 timing config:load:project Completed in 28ms
11 timing config:load:file:/root/.npmrc Completed in 1ms
12 timing config:load:user Completed in 1ms
13 timing config:load:file:/usr/local/etc/npmrc Completed in 3ms
14 timing config:load:global Completed in 3ms
15 timing config:load:setEnvs Completed in 2ms
16 timing config:load Completed in 46ms
17 timing npm:load:configload Completed in 46ms
18 timing config:load:flatten Completed in 4ms
19 timing npm:load:mkdirpcache Completed in 26ms
20 timing npm:load:mkdirplogs Completed in 0ms
21 verbose title npm start
22 verbose argv "start"
23 timing npm:load:setTitle Completed in 1ms
24 timing npm:load:display Completed in 2ms
25 verbose logfile logs-max:10 dir:/tmp/npm/_logs/2024-06-09T09_24_30_605Z-
26 verbose logfile /tmp/npm/_logs/2024-06-09T09_24_30_605Z-debug-0.log
27 timing npm:load:logFile Completed in 42ms
28 timing npm:load:timers Completed in 0ms
29 timing npm:load:configScope Completed in 0ms
30 timing npm:load Completed in 383ms
31 silly logfile done cleaning log files
32 timing command:run-script Completed in 27548ms
33 timing command:start Completed in 27563ms
34 verbose stack Error: command failed
34 verbose stack     at ChildProcess.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/@npmcli/promise-spawn/lib/index.js:53:27)
34 verbose stack     at ChildProcess.emit (node:events:519:28)
34 verbose stack     at maybeClose (node:internal/child_process:1105:16)
34 verbose stack     at ChildProcess._handle.onexit (node:internal/child_process:305:5)
35 verbose pkgid @oneuptime/accounts@0.1.0
36 verbose cwd /usr/src/app
37 verbose Linux 5.15.0-88-generic
38 verbose node v21.7.3
39 verbose npm  v10.5.0
40 error path /usr/src/app
41 error command failed
42 error signal SIGILL
43 error command sh -c node --require ts-node/register Serve.ts
44 verbose exit 1
45 timing npm Completed in 28114ms
46 verbose code 1
47 error A complete log of this run can be found in: /tmp/npm/_logs/2024-06-09T09_24_30_605Z-debug-0.log

Desktop (please complete the following information):

  • OS: Ubuntu 22.04
  • Browser dont care

Deployment Type
On-prem using docker-compose

*Originally created by @sevensolutions on 6/9/2024* **Describe the bug** I have successfully deployed OneUptime on-premise a few months ago but now, deploying the latest version to a new server fails. Most of the containers are constantly restarting without any useful information. **To Reproduce** Steps to reproduce the behavior: 1. Followed this instruction: https://github.com/OneUptime/oneuptime/blob/master/App/FeatureSet/Docs/Content/installation/docker-compose.md 2. Containers are constantly restarting. Unfortunately i don't get any useful logs. **Expected behavior** Containers should be running without restart and web interface should be reachable. **Error from the accounts container** ```` docker exec -it 9962c1884138 cat /tmp/npm/_logs/2024-06-09T09_24_30_605Z-debug-0.log 0 verbose cli /usr/local/bin/node /usr/local/bin/npm 1 info using npm@10.5.0 2 info using node@v21.7.3 3 timing npm:load:whichnode Completed in 9ms 4 timing config:load:defaults Completed in 7ms 5 timing config:load:file:/usr/local/lib/node_modules/npm/npmrc Completed in 1ms 6 timing config:load:builtin Completed in 2ms 7 timing config:load:cli Completed in 2ms 8 timing config:load:env Completed in 0ms 9 timing config:load:file:/usr/src/app/.npmrc Completed in 1ms 10 timing config:load:project Completed in 28ms 11 timing config:load:file:/root/.npmrc Completed in 1ms 12 timing config:load:user Completed in 1ms 13 timing config:load:file:/usr/local/etc/npmrc Completed in 3ms 14 timing config:load:global Completed in 3ms 15 timing config:load:setEnvs Completed in 2ms 16 timing config:load Completed in 46ms 17 timing npm:load:configload Completed in 46ms 18 timing config:load:flatten Completed in 4ms 19 timing npm:load:mkdirpcache Completed in 26ms 20 timing npm:load:mkdirplogs Completed in 0ms 21 verbose title npm start 22 verbose argv "start" 23 timing npm:load:setTitle Completed in 1ms 24 timing npm:load:display Completed in 2ms 25 verbose logfile logs-max:10 dir:/tmp/npm/_logs/2024-06-09T09_24_30_605Z- 26 verbose logfile /tmp/npm/_logs/2024-06-09T09_24_30_605Z-debug-0.log 27 timing npm:load:logFile Completed in 42ms 28 timing npm:load:timers Completed in 0ms 29 timing npm:load:configScope Completed in 0ms 30 timing npm:load Completed in 383ms 31 silly logfile done cleaning log files 32 timing command:run-script Completed in 27548ms 33 timing command:start Completed in 27563ms 34 verbose stack Error: command failed 34 verbose stack at ChildProcess.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/@npmcli/promise-spawn/lib/index.js:53:27) 34 verbose stack at ChildProcess.emit (node:events:519:28) 34 verbose stack at maybeClose (node:internal/child_process:1105:16) 34 verbose stack at ChildProcess._handle.onexit (node:internal/child_process:305:5) 35 verbose pkgid @oneuptime/accounts@0.1.0 36 verbose cwd /usr/src/app 37 verbose Linux 5.15.0-88-generic 38 verbose node v21.7.3 39 verbose npm v10.5.0 40 error path /usr/src/app 41 error command failed 42 error signal SIGILL 43 error command sh -c node --require ts-node/register Serve.ts 44 verbose exit 1 45 timing npm Completed in 28114ms 46 verbose code 1 47 error A complete log of this run can be found in: /tmp/npm/_logs/2024-06-09T09_24_30_605Z-debug-0.log ```` **Desktop (please complete the following information):** - OS: Ubuntu 22.04 - Browser dont care **Deployment Type** On-prem using docker-compose
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/oneuptime#921