Deployment failing post namespace and database changes #132

Open
opened 2023-09-06 09:05:55 +00:00 by aral · 1 comment
Sep 06 09:01:58 test-20230906-1001.small-web.org cloud-init[835]: Got error while checking for sixel support: TypeError: stdin.setRawMode is not a function
Sep 06 09:01:58 test-20230906-1001.small-web.org cloud-init[835]:     at file:///home/kitten/.local/share/small-tech.org/kitten/app/dist/kitten-process-manager.js:87:10
Sep 06 09:01:58 test-20230906-1001.small-web.org cloud-init[835]:     at new Promise (<anonymous>)
Sep 06 09:01:58 test-20230906-1001.small-web.org cloud-init[835]:     at _replied (file:///home/kitten/.local/share/small-tech.org/kitten/app/dist/kitten-process-manager.js:85:10)
Sep 06 09:01:58 test-20230906-1001.small-web.org cloud-init[835]:     at replied (file:///home/kitten/.local/share/small-tech.org/kitten/app/dist/kitten-process-manager.js:104:9)
Sep 06 09:01:58 test-20230906-1001.small-web.org cloud-init[835]:     at supportsSixel (file:///home/kitten/.local/share/small-tech.org/kitten/app/dist/kitten-process-manager.js:110:28)
Sep 06 09:01:58 test-20230906-1001.small-web.org cloud-init[835]:     at file:///home/kitten/.local/share/small-tech.org/kitten/app/dist/kitten-process-manager.js:42:30
Sep 06 09:01:58 test-20230906-1001.small-web.org cloud-init[835]:     at ModuleJob.run (node:internal/modules/esm/module_job:192:25)
Sep 06 09:01:58 test-20230906-1001.small-web.org cloud-init[835]:     at async CustomizedModuleLoader.import (node:internal/modules/esm/loader:228:24)
Sep 06 09:01:58 test-20230906-1001.small-web.org cloud-init[835]:     at async loadESM (node:internal/process/esm_loader:40:7)
Sep 06 09:01:58 test-20230906-1001.small-web.org cloud-init[835]:     at async handleMainPromise (node:internal/modules/run_main:66:12)
Sep 06 09:01:59 test-20230906-1001.small-web.org cloud-init[835]: 🐱 Kitten
Sep 06 09:01:59 test-20230906-1001.small-web.org cloud-init[835]:    by Aral Balkan, Small Technology Foundation
Sep 06 09:01:59 test-20230906-1001.small-web.org cloud-init[835]:    Born 2023/9/5 at 13:15:19 (Virgo)
Sep 06 09:01:59 test-20230906-1001.small-web.org cloud-init[835]:    Favourite colour #240a19 ███
Sep 06 09:01:59 test-20230906-1001.small-web.org cloud-init[835]:    API version 1
Sep 06 09:01:59 test-20230906-1001.small-web.org cloud-init[835]:    Runtime Node.js 20.5.1
Sep 06 09:01:59 test-20230906-1001.small-web.org cloud-init[835]:  ╭───────────────────────────────────────────╮
Sep 06 09:01:59 test-20230906-1001.small-web.org cloud-init[835]:  │ Like this? Fund us!                       │
Sep 06 09:01:59 test-20230906-1001.small-web.org cloud-init[835]:  │                                           │
Sep 06 09:01:59 test-20230906-1001.small-web.org cloud-init[835]:  │ We’re a tiny, independent not-for-profit. │
Sep 06 09:01:59 test-20230906-1001.small-web.org cloud-init[835]:  │ https://small-tech.org/fund-us            │
Sep 06 09:01:59 test-20230906-1001.small-web.org cloud-init[835]:  ╰───────────────────────────────────────────╯
Sep 06 09:01:59 test-20230906-1001.small-web.org cloud-init[835]:    Need help?
Sep 06 09:01:59 test-20230906-1001.small-web.org cloud-init[835]:    https://codeberg.org/kitten/app/issues
Sep 06 09:01:59 test-20230906-1001.small-web.org cloud-init[835]: Deploying service.
Sep 06 09:01:59 test-20230906-1001.small-web.org cloud-init[835]:   • Cloning repository (https://codeberg.org/small-web/place.git)
Sep 06 09:01:59 test-20230906-1001.small-web.org cloud-init[835]: node:internal/deps/undici/undici:11576
Sep 06 09:01:59 test-20230906-1001.small-web.org cloud-init[835]:     Error.captureStackTrace(err, this);
Sep 06 09:01:59 test-20230906-1001.small-web.org cloud-init[835]:           ^
Sep 06 09:01:59 test-20230906-1001.small-web.org cloud-init[835]: TypeError: fetch failed
Sep 06 09:01:59 test-20230906-1001.small-web.org cloud-init[835]:     at Object.fetch (node:internal/deps/undici/undici:11576:11)
Sep 06 09:01:59 test-20230906-1001.small-web.org cloud-init[835]:     at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
Sep 06 09:01:59 test-20230906-1001.small-web.org cloud-init[835]:     at notifySmallWebHost (/home/kitten/.local/share/small-tech.org/kitten/app/src/cli/commands/deploy.js:94:24)
Sep 06 09:01:59 test-20230906-1001.small-web.org cloud-init[835]:     at deploy (/home/kitten/.local/share/small-tech.org/kitten/app/src/cli/commands/deploy.js:133:3) {
Sep 06 09:01:59 test-20230906-1001.small-web.org cloud-init[835]:   cause: Error: getaddrinfo EAI_AGAIN undefined
Sep 06 09:01:59 test-20230906-1001.small-web.org cloud-init[835]:       at __node_internal_captureLargerStackTrace (node:internal/errors:496:5)
Sep 06 09:01:59 test-20230906-1001.small-web.org cloud-init[835]:       at __node_internal_ (node:internal/errors:715:10)
Sep 06 09:01:59 test-20230906-1001.small-web.org cloud-init[835]:       at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
Sep 06 09:01:59 test-20230906-1001.small-web.org cloud-init[835]:     errno: -3001,
Sep 06 09:01:59 test-20230906-1001.small-web.org cloud-init[835]:     code: 'EAI_AGAIN',
Sep 06 09:01:59 test-20230906-1001.small-web.org cloud-init[835]:     syscall: 'getaddrinfo',
Sep 06 09:01:59 test-20230906-1001.small-web.org cloud-init[835]:     hostname: 'undefined'
Sep 06 09:01:59 test-20230906-1001.small-web.org cloud-init[835]:   }
Sep 06 09:01:59 test-20230906-1001.small-web.org cloud-init[835]: }
Sep 06 09:01:59 test-20230906-1001.small-web.org cloud-init[835]: Node.js v20.5.1
``` Sep 06 09:01:58 test-20230906-1001.small-web.org cloud-init[835]: Got error while checking for sixel support: TypeError: stdin.setRawMode is not a function Sep 06 09:01:58 test-20230906-1001.small-web.org cloud-init[835]: at file:///home/kitten/.local/share/small-tech.org/kitten/app/dist/kitten-process-manager.js:87:10 Sep 06 09:01:58 test-20230906-1001.small-web.org cloud-init[835]: at new Promise (<anonymous>) Sep 06 09:01:58 test-20230906-1001.small-web.org cloud-init[835]: at _replied (file:///home/kitten/.local/share/small-tech.org/kitten/app/dist/kitten-process-manager.js:85:10) Sep 06 09:01:58 test-20230906-1001.small-web.org cloud-init[835]: at replied (file:///home/kitten/.local/share/small-tech.org/kitten/app/dist/kitten-process-manager.js:104:9) Sep 06 09:01:58 test-20230906-1001.small-web.org cloud-init[835]: at supportsSixel (file:///home/kitten/.local/share/small-tech.org/kitten/app/dist/kitten-process-manager.js:110:28) Sep 06 09:01:58 test-20230906-1001.small-web.org cloud-init[835]: at file:///home/kitten/.local/share/small-tech.org/kitten/app/dist/kitten-process-manager.js:42:30 Sep 06 09:01:58 test-20230906-1001.small-web.org cloud-init[835]: at ModuleJob.run (node:internal/modules/esm/module_job:192:25) Sep 06 09:01:58 test-20230906-1001.small-web.org cloud-init[835]: at async CustomizedModuleLoader.import (node:internal/modules/esm/loader:228:24) Sep 06 09:01:58 test-20230906-1001.small-web.org cloud-init[835]: at async loadESM (node:internal/process/esm_loader:40:7) Sep 06 09:01:58 test-20230906-1001.small-web.org cloud-init[835]: at async handleMainPromise (node:internal/modules/run_main:66:12) Sep 06 09:01:59 test-20230906-1001.small-web.org cloud-init[835]: 🐱 Kitten Sep 06 09:01:59 test-20230906-1001.small-web.org cloud-init[835]: by Aral Balkan, Small Technology Foundation Sep 06 09:01:59 test-20230906-1001.small-web.org cloud-init[835]: Born 2023/9/5 at 13:15:19 (Virgo) Sep 06 09:01:59 test-20230906-1001.small-web.org cloud-init[835]: Favourite colour #240a19 ███ Sep 06 09:01:59 test-20230906-1001.small-web.org cloud-init[835]: API version 1 Sep 06 09:01:59 test-20230906-1001.small-web.org cloud-init[835]: Runtime Node.js 20.5.1 Sep 06 09:01:59 test-20230906-1001.small-web.org cloud-init[835]: ╭───────────────────────────────────────────╮ Sep 06 09:01:59 test-20230906-1001.small-web.org cloud-init[835]: │ Like this? Fund us! │ Sep 06 09:01:59 test-20230906-1001.small-web.org cloud-init[835]: │ │ Sep 06 09:01:59 test-20230906-1001.small-web.org cloud-init[835]: │ We’re a tiny, independent not-for-profit. │ Sep 06 09:01:59 test-20230906-1001.small-web.org cloud-init[835]: │ https://small-tech.org/fund-us │ Sep 06 09:01:59 test-20230906-1001.small-web.org cloud-init[835]: ╰───────────────────────────────────────────╯ Sep 06 09:01:59 test-20230906-1001.small-web.org cloud-init[835]: Need help? Sep 06 09:01:59 test-20230906-1001.small-web.org cloud-init[835]: https://codeberg.org/kitten/app/issues Sep 06 09:01:59 test-20230906-1001.small-web.org cloud-init[835]: Deploying service. Sep 06 09:01:59 test-20230906-1001.small-web.org cloud-init[835]: • Cloning repository (https://codeberg.org/small-web/place.git) Sep 06 09:01:59 test-20230906-1001.small-web.org cloud-init[835]: node:internal/deps/undici/undici:11576 Sep 06 09:01:59 test-20230906-1001.small-web.org cloud-init[835]: Error.captureStackTrace(err, this); Sep 06 09:01:59 test-20230906-1001.small-web.org cloud-init[835]: ^ Sep 06 09:01:59 test-20230906-1001.small-web.org cloud-init[835]: TypeError: fetch failed Sep 06 09:01:59 test-20230906-1001.small-web.org cloud-init[835]: at Object.fetch (node:internal/deps/undici/undici:11576:11) Sep 06 09:01:59 test-20230906-1001.small-web.org cloud-init[835]: at process.processTicksAndRejections (node:internal/process/task_queues:95:5) Sep 06 09:01:59 test-20230906-1001.small-web.org cloud-init[835]: at notifySmallWebHost (/home/kitten/.local/share/small-tech.org/kitten/app/src/cli/commands/deploy.js:94:24) Sep 06 09:01:59 test-20230906-1001.small-web.org cloud-init[835]: at deploy (/home/kitten/.local/share/small-tech.org/kitten/app/src/cli/commands/deploy.js:133:3) { Sep 06 09:01:59 test-20230906-1001.small-web.org cloud-init[835]: cause: Error: getaddrinfo EAI_AGAIN undefined Sep 06 09:01:59 test-20230906-1001.small-web.org cloud-init[835]: at __node_internal_captureLargerStackTrace (node:internal/errors:496:5) Sep 06 09:01:59 test-20230906-1001.small-web.org cloud-init[835]: at __node_internal_ (node:internal/errors:715:10) Sep 06 09:01:59 test-20230906-1001.small-web.org cloud-init[835]: at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) { Sep 06 09:01:59 test-20230906-1001.small-web.org cloud-init[835]: errno: -3001, Sep 06 09:01:59 test-20230906-1001.small-web.org cloud-init[835]: code: 'EAI_AGAIN', Sep 06 09:01:59 test-20230906-1001.small-web.org cloud-init[835]: syscall: 'getaddrinfo', Sep 06 09:01:59 test-20230906-1001.small-web.org cloud-init[835]: hostname: 'undefined' Sep 06 09:01:59 test-20230906-1001.small-web.org cloud-init[835]: } Sep 06 09:01:59 test-20230906-1001.small-web.org cloud-init[835]: } Sep 06 09:01:59 test-20230906-1001.small-web.org cloud-init[835]: Node.js v20.5.1 ```
Poster
Owner
First error has to do with the sixel support detection. See https://stackoverflow.com/questions/53049939/node-daemon-wont-start-with-process-stdin-setrawmodetrue
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: kitten/app#132
There is no content yet.