Skip to content

Doesnt work anymore #2

Description

@insanemal

Possibly changes in newer npm or docker but

(node:26) UnhandledPromiseRejectionWarning: Error: disk name invalid and / not found
    at /opt/monitor-api/node_modules/node-os-utils/lib/drive.js:62:17
    at <anonymous>
(node:26) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:26) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

and I have NFI about JS so yeah.. I can run df -kP (which is what the node.js code seems to be doing) and find both /rootfs and / in the output, but its failing to parse them.

Anyway thanks for this, when it was working :D

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions