Bug: Broken Pipeline #1035

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

Originally created by @ghost on 4/24/2024

When running OneUptime in development, using npm run dev, a broken pipeline error occurs.

This occurs in the latest version as well.

korbs@korbs-framework-13:~/Downloads/oneuptime-7.0.2051$ cp config.example.env config.env
korbs@korbs-framework-13:~/Downloads/oneuptime-7.0.2051$ npm run dev

> @oneuptime/root@3.0.2 dev
> npm run config-to-dev && npm run prerun && export $(grep -v '^#' config.env | xargs) && docker compose -f docker-compose.dev.yml up  --remove-orphans  -d $npm_config_services


> @oneuptime/root@3.0.2 config-to-dev
> node ./Scripts/Install/ReplaceValueInConfig.js ENVIRONMENT development


> @oneuptime/root@3.0.2 prerun
> bash configure.sh

Welcome to the OneUptime 🟢 Runner



Please enter your sudo password now:
[sudo] password for korbs: 

Thanks! 🙏

Ok! We'll take it from here 🚀
Making sure any stack that might exist is stopped
Installing OneUptime 🟢
Cloning into 'oneuptime'...
remote: Enumerating objects: 302410, done.
remote: Counting objects: 100% (3105/3105), done.
remote: Compressing objects: 100% (743/743), done.
remote: Total 302410 (delta 2249), reused 3098 (delta 2246), pack-reused 299305
Receiving objects: 100% (302410/302410), 430.35 MiB | 10.63 MiB/s, done.
Resolving deltas: 100% (236392/236392), done.
Already up to date.
which: no docker-compose in (/home/korbs/Downloads/oneuptime-7.0.2051/node_modules/.bin:/home/korbs/Downloads/node_modules/.bin:/home/korbs/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/usr/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/home/korbs/Downloads/oneuptime-7.0.2051/node_modules/.bin:/home/korbs/Downloads/node_modules/.bin:/home/korbs/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/usr/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/home/korbs/.turso:/home/korbs/.bun/bin:/home/korbs/.turso:/home/korbs/.bun/bin:/home/korbs/.turso:/home/korbs/.bun/bin:/home/korbs/.local/bin:/home/korbs/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/var/lib/snapd/snap/bin)
configure.sh: line 180: 746184 Broken pipe             cat $directory_name/Dockerfile.tpl
     746185 Segmentation fault      | gomplate > $directory_name/Dockerfile
configure.sh: line 180: 746186 Broken pipe             cat $directory_name/Dockerfile.tpl
     746187 Segmentation fault      | gomplate > $directory_name/Dockerfile
configure.sh: line 180: 746188 Broken pipe             cat $directory_name/Dockerfile.tpl
     746189 Segmentation fault      | gomplate > $directory_name/Dockerfile
configure.sh: line 180: 746190 Broken pipe             cat $directory_name/Dockerfile.tpl
     746191 Segmentation fault      | gomplate > $directory_name/Dockerfile
configure.sh: line 180: 746192 Broken pipe             cat $directory_name/Dockerfile.tpl
     746193 Segmentation fault      | gomplate > $directory_name/Dockerfile
configure.sh: line 180: 746194 Done                    cat $directory_name/Dockerfile.tpl
     746195 Segmentation fault      | gomplate > $directory_name/Dockerfile
configure.sh: line 180: 746196 Broken pipe             cat $directory_name/Dockerfile.tpl
     746197 Segmentation fault      | gomplate > $directory_name/Dockerfile
configure.sh: line 180: 746198 Done                    cat $directory_name/Dockerfile.tpl
     746199 Segmentation fault      | gomplate > $directory_name/Dockerfile
configure.sh: line 180: 746200 Broken pipe             cat $directory_name/Dockerfile.tpl
     746201 Segmentation fault      | gomplate > $directory_name/Dockerfile
configure.sh: line 180: 746202 Broken pipe             cat $directory_name/Dockerfile.tpl
     746203 Segmentation fault      | gomplate > $directory_name/Dockerfile
configure.sh: line 180: 746204 Broken pipe             cat $directory_name/Dockerfile.tpl
     746205 Segmentation fault      | gomplate > $directory_name/Dockerfile
configure.sh: line 180: 746206 Broken pipe             cat $directory_name/Dockerfile.tpl
     746207 Segmentation fault      | gomplate > $directory_name/Dockerfile
configure.sh: line 180: 746208 Broken pipe             cat $directory_name/Dockerfile.tpl
     746209 Segmentation fault      | gomplate > $directory_name/Dockerfile
configure.sh: line 180: 746210 Broken pipe             cat $directory_name/Dockerfile.tpl
     746211 Segmentation fault      | gomplate > $directory_name/Dockerfile
configure.sh: line 180: 746212 Broken pipe             cat $directory_name/Dockerfile.tpl
     746213 Segmentation fault      | gomplate > $directory_name/Dockerfile
configure.sh: line 180: 746214 Broken pipe             cat $directory_name/Dockerfile.tpl
     746215 Segmentation fault      | gomplate > $directory_name/Dockerfile

This is caused by a missing file, Dockerfile.

korbs@korbs-framework-13:~/Downloads/oneuptime-7.0.2051$ gomplate Dockerfile
Segmentation fault
*Originally created by @ghost on 4/24/2024* When running OneUptime in development, using `npm run dev`, a broken pipeline error occurs. This occurs in the latest version as well. ```bash korbs@korbs-framework-13:~/Downloads/oneuptime-7.0.2051$ cp config.example.env config.env korbs@korbs-framework-13:~/Downloads/oneuptime-7.0.2051$ npm run dev > @oneuptime/root@3.0.2 dev > npm run config-to-dev && npm run prerun && export $(grep -v '^#' config.env | xargs) && docker compose -f docker-compose.dev.yml up --remove-orphans -d $npm_config_services > @oneuptime/root@3.0.2 config-to-dev > node ./Scripts/Install/ReplaceValueInConfig.js ENVIRONMENT development > @oneuptime/root@3.0.2 prerun > bash configure.sh Welcome to the OneUptime 🟢 Runner Please enter your sudo password now: [sudo] password for korbs: Thanks! 🙏 Ok! We'll take it from here 🚀 Making sure any stack that might exist is stopped Installing OneUptime 🟢 Cloning into 'oneuptime'... remote: Enumerating objects: 302410, done. remote: Counting objects: 100% (3105/3105), done. remote: Compressing objects: 100% (743/743), done. remote: Total 302410 (delta 2249), reused 3098 (delta 2246), pack-reused 299305 Receiving objects: 100% (302410/302410), 430.35 MiB | 10.63 MiB/s, done. Resolving deltas: 100% (236392/236392), done. Already up to date. which: no docker-compose in (/home/korbs/Downloads/oneuptime-7.0.2051/node_modules/.bin:/home/korbs/Downloads/node_modules/.bin:/home/korbs/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/usr/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/home/korbs/Downloads/oneuptime-7.0.2051/node_modules/.bin:/home/korbs/Downloads/node_modules/.bin:/home/korbs/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/usr/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/home/korbs/.turso:/home/korbs/.bun/bin:/home/korbs/.turso:/home/korbs/.bun/bin:/home/korbs/.turso:/home/korbs/.bun/bin:/home/korbs/.local/bin:/home/korbs/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/var/lib/snapd/snap/bin) configure.sh: line 180: 746184 Broken pipe cat $directory_name/Dockerfile.tpl 746185 Segmentation fault | gomplate > $directory_name/Dockerfile configure.sh: line 180: 746186 Broken pipe cat $directory_name/Dockerfile.tpl 746187 Segmentation fault | gomplate > $directory_name/Dockerfile configure.sh: line 180: 746188 Broken pipe cat $directory_name/Dockerfile.tpl 746189 Segmentation fault | gomplate > $directory_name/Dockerfile configure.sh: line 180: 746190 Broken pipe cat $directory_name/Dockerfile.tpl 746191 Segmentation fault | gomplate > $directory_name/Dockerfile configure.sh: line 180: 746192 Broken pipe cat $directory_name/Dockerfile.tpl 746193 Segmentation fault | gomplate > $directory_name/Dockerfile configure.sh: line 180: 746194 Done cat $directory_name/Dockerfile.tpl 746195 Segmentation fault | gomplate > $directory_name/Dockerfile configure.sh: line 180: 746196 Broken pipe cat $directory_name/Dockerfile.tpl 746197 Segmentation fault | gomplate > $directory_name/Dockerfile configure.sh: line 180: 746198 Done cat $directory_name/Dockerfile.tpl 746199 Segmentation fault | gomplate > $directory_name/Dockerfile configure.sh: line 180: 746200 Broken pipe cat $directory_name/Dockerfile.tpl 746201 Segmentation fault | gomplate > $directory_name/Dockerfile configure.sh: line 180: 746202 Broken pipe cat $directory_name/Dockerfile.tpl 746203 Segmentation fault | gomplate > $directory_name/Dockerfile configure.sh: line 180: 746204 Broken pipe cat $directory_name/Dockerfile.tpl 746205 Segmentation fault | gomplate > $directory_name/Dockerfile configure.sh: line 180: 746206 Broken pipe cat $directory_name/Dockerfile.tpl 746207 Segmentation fault | gomplate > $directory_name/Dockerfile configure.sh: line 180: 746208 Broken pipe cat $directory_name/Dockerfile.tpl 746209 Segmentation fault | gomplate > $directory_name/Dockerfile configure.sh: line 180: 746210 Broken pipe cat $directory_name/Dockerfile.tpl 746211 Segmentation fault | gomplate > $directory_name/Dockerfile configure.sh: line 180: 746212 Broken pipe cat $directory_name/Dockerfile.tpl 746213 Segmentation fault | gomplate > $directory_name/Dockerfile configure.sh: line 180: 746214 Broken pipe cat $directory_name/Dockerfile.tpl 746215 Segmentation fault | gomplate > $directory_name/Dockerfile ``` This is caused by a missing file, `Dockerfile`. ``` korbs@korbs-framework-13:~/Downloads/oneuptime-7.0.2051$ gomplate Dockerfile Segmentation fault ```
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/oneuptime#1035