[GH-ISSUE #5643] [Bug]: After I install 3x-ui on my Debian 13 VPS, panel is not running and xray is not running, how to solve this problem. Thank you very much for your help #3931

Closed
opened 2026-10-31 20:35:59 +07:00 by bsakaguchi · 2 comments
Owner

Originally created by @lixiaodongsql on GitHub (Jun 28, 2026).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/5643

Describe the bug

╔────────────────────────────────────────────────╗
│ 3X-UI Panel Management Script │
│ 0. Exit Script │
│────────────────────────────────────────────────│
│ 1. Install │
│ 2. Update │
│ 3. Update to Dev Channel (latest commit) │
│ 4. Update Menu │
│ 5. Legacy Version │
│ 6. Uninstall │
│────────────────────────────────────────────────│
│ 7. Reset Username & Password │
│ 8. Reset Web Base Path │
│ 9. Reset Settings │
│ 10. Change Port │
│ 11. View Current Settings │
│────────────────────────────────────────────────│
│ 12. Start │
│ 13. Stop │
│ 14. Restart │
| 15. Restart Xray │
│ 16. Check Status │
│ 17. Logs Management │
│────────────────────────────────────────────────│
│ 18. Enable Autostart │
│ 19. Disable Autostart │
│────────────────────────────────────────────────│
│ 20. SSL Certificate Management │
│ 21. Cloudflare SSL Certificate │
│ 22. IP Limit Management │
│ 23. Firewall Management │
│ 24. SSH Port Forwarding Management │
│ 25. PostgreSQL Management │
│────────────────────────────────────────────────│
│ 26. Enable BBR │
│ 27. Update Geo Files │
│ 28. Speedtest by Ookla │
╚────────────────────────────────────────────────╝

Panel state: Not Running
Start automatically: Yes
xray state: Not Running

How to reproduce the problem

╔────────────────────────────────────────────────╗
│ 3X-UI Panel Management Script │
│ 0. Exit Script │
│────────────────────────────────────────────────│
│ 1. Install │
│ 2. Update │
│ 3. Update to Dev Channel (latest commit) │
│ 4. Update Menu │
│ 5. Legacy Version │
│ 6. Uninstall │
│────────────────────────────────────────────────│
│ 7. Reset Username & Password │
│ 8. Reset Web Base Path │
│ 9. Reset Settings │
│ 10. Change Port │
│ 11. View Current Settings │
│────────────────────────────────────────────────│
│ 12. Start │
│ 13. Stop │
│ 14. Restart │
| 15. Restart Xray │
│ 16. Check Status │
│ 17. Logs Management │
│────────────────────────────────────────────────│
│ 18. Enable Autostart │
│ 19. Disable Autostart │
│────────────────────────────────────────────────│
│ 20. SSL Certificate Management │
│ 21. Cloudflare SSL Certificate │
│ 22. IP Limit Management │
│ 23. Firewall Management │
│ 24. SSH Port Forwarding Management │
│ 25. PostgreSQL Management │
│────────────────────────────────────────────────│
│ 26. Enable BBR │
│ 27. Update Geo Files │
│ 28. Speedtest by Ookla │
╚────────────────────────────────────────────────╝

Panel state: Not Running
Start automatically: Yes
xray state: Not Running

Expected behavior

No response

Actual behavior

No response

Relevant logs


Screenshots

No response

3x-ui version

dev-latest

Xray-core version

No response

How did you install 3x-ui?

install.sh script

Operating system

Debian 13

Which parts of the panel are affected?

No response

Browser (only if it is a UI bug)

No response

Is the panel behind a reverse proxy or CDN?

None

Before submitting

  • I searched existing issues and this bug has not been reported.
  • I am running the latest released version of 3x-ui (or have verified the bug still exists on it).
  • This bug report is written in English.
  • I have redacted any sensitive data (tokens, real domains, client UUIDs).
Originally created by @lixiaodongsql on GitHub (Jun 28, 2026). Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/5643 ### Describe the bug ╔────────────────────────────────────────────────╗ │ 3X-UI Panel Management Script │ │ 0. Exit Script │ │────────────────────────────────────────────────│ │ 1. Install │ │ 2. Update │ │ 3. Update to Dev Channel (latest commit) │ │ 4. Update Menu │ │ 5. Legacy Version │ │ 6. Uninstall │ │────────────────────────────────────────────────│ │ 7. Reset Username & Password │ │ 8. Reset Web Base Path │ │ 9. Reset Settings │ │ 10. Change Port │ │ 11. View Current Settings │ │────────────────────────────────────────────────│ │ 12. Start │ │ 13. Stop │ │ 14. Restart │ | 15. Restart Xray │ │ 16. Check Status │ │ 17. Logs Management │ │────────────────────────────────────────────────│ │ 18. Enable Autostart │ │ 19. Disable Autostart │ │────────────────────────────────────────────────│ │ 20. SSL Certificate Management │ │ 21. Cloudflare SSL Certificate │ │ 22. IP Limit Management │ │ 23. Firewall Management │ │ 24. SSH Port Forwarding Management │ │ 25. PostgreSQL Management │ │────────────────────────────────────────────────│ │ 26. Enable BBR │ │ 27. Update Geo Files │ │ 28. Speedtest by Ookla │ ╚────────────────────────────────────────────────╝ Panel state: Not Running Start automatically: Yes xray state: Not Running ### How to reproduce the problem ╔────────────────────────────────────────────────╗ │ 3X-UI Panel Management Script │ │ 0. Exit Script │ │────────────────────────────────────────────────│ │ 1. Install │ │ 2. Update │ │ 3. Update to Dev Channel (latest commit) │ │ 4. Update Menu │ │ 5. Legacy Version │ │ 6. Uninstall │ │────────────────────────────────────────────────│ │ 7. Reset Username & Password │ │ 8. Reset Web Base Path │ │ 9. Reset Settings │ │ 10. Change Port │ │ 11. View Current Settings │ │────────────────────────────────────────────────│ │ 12. Start │ │ 13. Stop │ │ 14. Restart │ | 15. Restart Xray │ │ 16. Check Status │ │ 17. Logs Management │ │────────────────────────────────────────────────│ │ 18. Enable Autostart │ │ 19. Disable Autostart │ │────────────────────────────────────────────────│ │ 20. SSL Certificate Management │ │ 21. Cloudflare SSL Certificate │ │ 22. IP Limit Management │ │ 23. Firewall Management │ │ 24. SSH Port Forwarding Management │ │ 25. PostgreSQL Management │ │────────────────────────────────────────────────│ │ 26. Enable BBR │ │ 27. Update Geo Files │ │ 28. Speedtest by Ookla │ ╚────────────────────────────────────────────────╝ Panel state: Not Running Start automatically: Yes xray state: Not Running ### Expected behavior _No response_ ### Actual behavior _No response_ ### Relevant logs ```shell ``` ### Screenshots _No response_ ### 3x-ui version dev-latest ### Xray-core version _No response_ ### How did you install 3x-ui? install.sh script ### Operating system Debian 13 ### Which parts of the panel are affected? _No response_ ### Browser (only if it is a UI bug) _No response_ ### Is the panel behind a reverse proxy or CDN? None ### Before submitting - [x] I searched [existing issues](../issues?q=is%3Aissue) and this bug has not been reported. - [x] I am running the latest released version of 3x-ui (or have verified the bug still exists on it). - [x] This bug report is written in English. - [x] I have redacted any sensitive data (tokens, real domains, client UUIDs).
Author
Owner

@github-actions[bot] commented on GitHub (Jun 28, 2026):

The status screen shows the service is installed and set to autostart (the systemd unit is enabled), but the panel process exits immediately after being started. The logs are the only reliable way to find the cause — none were included in the report.

Please run the following commands as root and paste the full output here:

  1. Systemd unit status and recent exit reason:

    systemctl status x-ui
    
  2. Last 50 journal lines for the service:

    journalctl -u x-ui --no-pager -n 50
    
  3. Panel application log (default path, confirmed in internal/config/config.go):

    ls -la /var/log/x-ui/
    cat /var/log/x-ui/*.log 2>/dev/null || echo '(no log files)'
    
  4. System architecture and glibc version (relevant for binary compatibility on Debian 13 Trixie):

    uname -m
    ldd --version | head -1
    
  5. Confirm the binary is present and executable:

    ls -la /usr/local/x-ui/x-ui /usr/local/x-ui/bin/xray-linux-*
    

A few common failure modes that the logs will confirm or rule out: the panel binary is not compatible with the system's glibc (Debian 13 ships glibc 2.41+), the configured panel port is already in use by another process, or a database initialization error during the first run. The service file for Debian (x-ui.service.debian) uses Type=simple with Restart=on-failure, so a crash-on-startup loop will be visible in the journal.

Note that you are running dev-latest, which is a rolling pre-release built from the latest commit and is not a stable release. If the stable release (currently v3.4.1) is an option, installing that is also worth trying to rule out a transient build issue.

This reply was generated automatically; a maintainer may follow up.

<!-- gh-comment-id:4827271205 --> @github-actions[bot] commented on GitHub (Jun 28, 2026): The status screen shows the service is installed and set to autostart (the systemd unit is enabled), but the panel process exits immediately after being started. The logs are the only reliable way to find the cause — none were included in the report. Please run the following commands as root and paste the full output here: 1. Systemd unit status and recent exit reason: ```bash systemctl status x-ui ``` 2. Last 50 journal lines for the service: ```bash journalctl -u x-ui --no-pager -n 50 ``` 3. Panel application log (default path, confirmed in `internal/config/config.go`): ```bash ls -la /var/log/x-ui/ cat /var/log/x-ui/*.log 2>/dev/null || echo '(no log files)' ``` 4. System architecture and glibc version (relevant for binary compatibility on Debian 13 Trixie): ```bash uname -m ldd --version | head -1 ``` 5. Confirm the binary is present and executable: ```bash ls -la /usr/local/x-ui/x-ui /usr/local/x-ui/bin/xray-linux-* ``` A few common failure modes that the logs will confirm or rule out: the panel binary is not compatible with the system's glibc (Debian 13 ships glibc 2.41+), the configured panel port is already in use by another process, or a database initialization error during the first run. The service file for Debian (`x-ui.service.debian`) uses `Type=simple` with `Restart=on-failure`, so a crash-on-startup loop will be visible in the journal. Note that you are running `dev-latest`, which is a rolling pre-release built from the latest commit and is not a stable release. If the stable release (currently v3.4.1) is an option, installing that is also worth trying to rule out a transient build issue. *This reply was generated automatically; a maintainer may follow up.*
Author
Owner

@lixiaodongsql commented on GitHub (Jun 29, 2026):

Please enter your selection [0-28]: 15
x-ui.service is not active, cannot reload.
[INF] xray-core Restart signal sent successfully, Please check the log information to confirm whether xray restarted successfully
xray state: Not Running

<!-- gh-comment-id:4828287311 --> @lixiaodongsql commented on GitHub (Jun 29, 2026): Please enter your selection [0-28]: 15 x-ui.service is not active, cannot reload. [INF] xray-core Restart signal sent successfully, Please check the log information to confirm whether xray restarted successfully xray state: Not Running
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#3931
No description provided.