[BUG] Go-sbot service status query fails #94

Closed
opened 2022-03-28 08:56:10 +00:00 by glyph · 1 comment
Owner

Please fill out the sections below.
Be kind and objective when writing in text.
Thanks for the report! :)

Brief description of the bug:

The state of the sbot is PROCESS QUERY FAILED and the memory is 0, even when the process is ACTIVE and using memory.

Steps to reproduce the bug:

Visit the Status page with peach-web running on a computer that does not have systemctl at /usr/bin/systemctl (ie. it's at some other path, such as /bin/systemctl).

Expected behaviour:

Accurate reporting of service state and memory consumption.

Fix:

Replace absolute paths with relative paths when invoking system commands from peach-web. For example, systemctl instead of /usr/bin/systemctl.

> Please fill out the sections below. > Be kind and objective when writing in text. > Thanks for the report! :) **Brief description of the bug:** The state of the sbot is `PROCESS QUERY FAILED` and the memory is 0, even when the process is `ACTIVE` and using memory. **Steps to reproduce the bug:** Visit the Status page with peach-web running on a computer that does not have `systemctl` at `/usr/bin/systemctl` (ie. it's at some other path, such as `/bin/systemctl`). **Expected behaviour:** Accurate reporting of service state and memory consumption. **Fix:** Replace absolute paths with relative paths when invoking system commands from peach-web. For example, `systemctl` instead of `/usr/bin/systemctl`.
glyph added the
bug
label 2022-03-28 08:56:10 +00:00
Author
Owner

Fixed by PR #100.

Fixed by [PR #100](https://git.coopcloud.tech/PeachCloud/peach-workspace/pulls/100).
glyph closed this issue 2022-04-06 08:18:21 +00:00
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: PeachCloud/peach-workspace#94
No description provided.