Skip to content

feat: allow stopping apps while in restarting state#12272

Open
jakub961241 wants to merge 1 commit into1Panel-dev:dev-v2from
jakub961241:fix/allow-stop-restarting-12061
Open

feat: allow stopping apps while in restarting state#12272
jakub961241 wants to merge 1 commit into1Panel-dev:dev-v2from
jakub961241:fix/allow-stop-restarting-12061

Conversation

@jakub961241
Copy link

Summary

Closes #12061 - Apps stuck in a restart loop cannot be stopped.

Root Cause

The Stop button disabled condition only allowed status === 'Running':

row.status !== 'Running'  // disables Stop for ALL non-Running states

This means apps in ReStarting status (e.g., DB connection failed, bad config) have Stop disabled, trapping users.

Fix

Allow Stop for ReStarting status too:

row.status !== 'Running' && row.status !== 'ReStarting'

Changed file

  • frontend/src/views/app-store/installed/index.vue (+1, -1)
feat: Allow stopping apps that are stuck in a restarting loop (#12061)

The Stop button was disabled for apps in 'ReStarting' status because
the condition only allowed 'Running'. Apps stuck in a restart loop
(e.g., due to DB connection issues) could not be stopped.

Added 'ReStarting' to the allowed statuses for the Stop operation.

Closes 1Panel-dev#12061
@f2c-ci-robot
Copy link

f2c-ci-robot bot commented Mar 22, 2026

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign wanghe-fit2cloud for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature] Allow stopping apps while restarting

1 participant