Skip to content

project startup crash/sshd related #7075

Open
@haraldschilly

Description

@haraldschilly

this is a weird exception, no idea how this can happen, but in general it could. the goal of this ticket is to catch errors launching this script, especially when it no longer exists.

2023-11-28T07:58:38.560Z: cocalc:error:project:BUG (uncaughtException)
BUG ****************************************************************************
 {"errno":-2,"code":"ENOENT","syscall":"spawn bash","path":"bash","spawnargs":["/cocalc/kucalc-start-sshd.sh"]} uncaughtException Error: spawn bash ENOENT
    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)

Error: spawn bash ENOENT
    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)
[INFO  tini (1)] Spawned child process 'sh' with pid '7'

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions