mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 19:11:53 +07:00
[GH-ISSUE #6937] [Feature]: Node restart button at host panel #4590
Labels
No labels
backlog
bug
clarification needed
documentation
duplicate
enhancement
github_actions
good first issue
invalid
javascript
New Feature
PR welcomed
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
MHSanaei/3x-ui#4590
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @infybtw on GitHub (Oct 25, 2026).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/6937
Is your feature request related to a problem?
Please add button to restart node from control panel
Describe the solution you'd like
Please add button to restart node from control panel
Alternatives you've considered
No response
Concrete use case
No response
Mockups, screenshots, or examples
No response
Which parts of the panel would this affect?
Multi-node (sub-nodes)
Are you willing to help?
Before submitting
@github-actions[bot] commented on GitHub (Oct 25, 2026):
This is a valid feature request. The master panel can't currently restart a node from the Nodes page. Part of what's needed already exists, though: the master can already ask a node to restart its Xray, it just isn't wired to a button.
I couldn't open the screenshot. From the text, I read the request as a per-node "Restart" action in the master panel's node list.
What the Nodes page offers today. Each node row's action menu in
frontend/src/pages/nodes/NodeList.tsx(around lines 667-709) has onlyprobe,update(panel self-update),editanddelete. On the backend,NodeController.initRouter(internal/web/controller/node.go:29-48) has no restart route. Its node actions are/probe/:id,/updatePanel,/setEnable/:idand the mTLS endpoints.What already exists underneath. The node runtime client has a remote Xray restart:
It is part of the
runtime.Runtimeinterface (internal/web/runtime/runtime.go:33). Today its only caller is the automatic "restart Xray on client disable" path,InboundService.restartRemoteNodesOnDisable(internal/web/service/inbound_node.go:1515-1538). So a "Restart Xray on this node" button mostly needs:runtime.GetManager().RuntimeFor(&nodeID);endpoints.ts/OpenAPI entries;NodeList.tsx.There is no remote counterpart for restarting the node's whole panel process yet. On the node side that is
POST /panel/setting/restartPanel(internal/web/controller/setting.go:75), but nothing inremote.gocalls it.Workarounds until then:
Please say which one you mean: restarting Xray on the node (the common case after config changes), or restarting the whole node panel service. They need different amounts of work.
I found no earlier issue asking for this. #5948 (choosing the Xray version for sub-nodes from the master) is the closest related node-management request.
Verdict: Feature request
This reply was generated automatically; a maintainer may follow up.