mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 19:11:53 +07:00
[GH-ISSUE #5767] [Feature]: Bring back the "Restart Xray" button to the UI #4011
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#4011
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 @alinasrollahzadeh405-sudo on GitHub (Jul 3, 2026).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/5767
Is your feature request related to a problem?
In the latest versions of the 3X-UI panel, the "Restart Xray" button has been removed from the main interface. Previously, this button was essential for applying changes (such as updating Warp IP configurations) to the Xray core without needing to interact with the server terminal.
I would like to request the restoration of a direct "Restart Xray" or "Reload Xray" button within the panel's interface. Having this button allows for a smoother workflow, especially when managing dynamic configurations like Cloudflare WARP, where a core restart is often required to bind new IP addresses.
While I can currently use systemctl restart xray in the terminal, having this feature back in the web GUI would greatly improve the user experience for those managing their servers via the panel. Thank you for your hard work on this project!
Describe the solution you'd like
In the latest versions of the 3X-UI panel, the "Restart Xray" button has been removed from the main interface. Previously, this button was essential for applying changes (such as updating Warp IP configurations) to the Xray core without needing to interact with the server terminal.
I would like to request the restoration of a direct "Restart Xray" or "Reload Xray" button within the panel's interface. Having this button allows for a smoother workflow, especially when managing dynamic configurations like Cloudflare WARP, where a core restart is often required to bind new IP addresses.
While I can currently use systemctl restart xray in the terminal, having this feature back in the web GUI would greatly improve the user experience for those managing their servers via the panel. Thank you for your hard work on this project!
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?
No response
Are you willing to help?
Before submitting
@github-actions[bot] commented on GitHub (Jul 3, 2026):
The "Restart Xray" button has not been removed — it is present in the current panel (v3.4.2 and the dev branch), and has existed continuously since the React/AntD frontend rewrite (PR #4498, merged 2026-05-23).
You can find it on the Dashboard (the "Overview" entry in the left sidebar, route
/), in the Xray status card near the top of the page. That card's action bar has a circular reload icon labeled "Restart" (confirmed infrontend/src/pages/index/XrayStatusCard.tsx, aria-labelrestartXray). On narrow/mobile viewports only the icon is shown, without the text label, which may be why it's easy to miss.Clicking it calls
POST /panel/api/server/restartXrayService(internal/web/controller/server.go), which invokesServerService.RestartXrayService()→XrayService.RestartXray(true)(internal/web/service/server.go:844,internal/web/service/xray.go:939) — a forced full restart of the Xray-core process, which is what you'd need after changing WARP outbound settings.If you still don't see it after checking the Dashboard, please share:
x-uimenu, or in the page footer).This reply was generated automatically by an AI agent. A maintainer may follow up.