unraid / unraid/api

Can't unsuspend a "PMSUSPENDED" VM

Open
#1,861 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
TypeScript
Stars
113
Forks
22
Avg merge
10h 40m
Merged PRs (30d)
13

Description

Environment

Unraid OS Version:
7.2.3

Are you using a reverse proxy?
No

Pre-submission Checklist

  • I have verified that my Unraid OS is up to date
  • I have tested this issue by accessing my server directly (not through a reverse proxy)
  • This is not an Unraid Connect related issue (if it is, please submit via the support form instead)

Issue Description

If a VM enters the PMSUSPENDED state (either by clicking on sleep or remaining idle for too long), there is no way to resume or unsuspend it. I have tried both methods.

Steps to Reproduce

  1. Create a Windows VM
  2. Tell it to sleep from the power icon
  3. Try to start/resume it

Expected Behavior

I would expect resume to unsuspend it, but I don't mind having another mutation like unsuspend.

Actual Behavior

Nothing happens, Windows VM stays PMSUSPENDED

Additional Context

Image Image

Also, I've tried both the uuid and the id field as a resumeId

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the API's resume operation and how it handles a VM in the PMSUSPENDED state, using the reported resumeId values with both uuid and id. Reproduce the Windows VM sleep flow, then verify that the resume operation changes the VM from PMSUSPENDED to a running state or that an explicit unsuspend operation works.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
api, backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.