[GH-ISSUE #5767] [Feature]: Bring back the "Restart Xray" button to the UI #4011

Closed
opened 2026-10-31 20:36:31 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @alinasrollahzadeh405-sudo on GitHub (Jul 3, 2026).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/5767

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?

  • I'd like to implement this feature myself and open a PR.
  • I can help test once a PR is open.

Before submitting

  • I searched existing issues and this feature has not been requested.
  • This feature request is written in English.
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? - [ ] I'd like to implement this feature myself and open a PR. - [ ] I can help test once a PR is open. ### Before submitting - [x] I searched [existing issues](../issues?q=is%3Aissue) and this feature has not been requested. - [x] This feature request is written in English.
Author
Owner

@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 in frontend/src/pages/index/XrayStatusCard.tsx, aria-label restartXray). 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 invokes ServerService.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:

  1. Your panel version (shown via the x-ui menu, or in the page footer).
  2. Whether you're on a desktop or mobile/narrow browser window.
  3. A screenshot of the Xray status card on your Dashboard, if possible.

This reply was generated automatically by an AI agent. A maintainer may follow up.

<!-- gh-comment-id:4877528904 --> @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 in `frontend/src/pages/index/XrayStatusCard.tsx`, aria-label `restartXray`). 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 invokes `ServerService.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: 1. Your panel version (shown via the `x-ui` menu, or in the page footer). 2. Whether you're on a desktop or mobile/narrow browser window. 3. A screenshot of the Xray status card on your Dashboard, if possible. *This reply was generated automatically by an AI agent. A maintainer may follow up.*
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
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
MHSanaei/3x-ui#4011
No description provided.