[GH-ISSUE #4132] /usr/bin/x-ui: line 2380: syntax error near unexpected token `;' #2804

Closed
opened 2026-10-31 20:28:05 +07:00 by bsakaguchi · 0 comments
Owner

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

Describe the bug

When I successfully updated from 2.9.2 to 2.9.3, I run into an error at the very end:

The OS release is: ubuntu
Arch: amd64
Running...
Updating and install dependency packages...
Current x-ui version: 2.9.2
Downloading new x-ui version...
Got x-ui latest version: v2.9.3, beginning the installation...
Stopping x-ui...
Removing old systemd unit version...
Removing old x-ui version...
Removing old xray version...
Removing old README and LICENSE file...
Installing new x-ui version...
Downloading and installing x-ui.sh script...
Changing owner...
Changing on config file permissions...
Installing debian-like systemd unit...
x-ui settings:
current panel settings as follows:
Panel is secure with SSL
hasDefaultCredential: false
port: 
webBasePath: /   /
Start migrating database...
Migration done!
SSL certificate is already configured

═══════════════════════════════════════════
     Panel Access Information
═══════════════════════════════════════════
Access URL: https://selfsigned:
═══════════════════════════════════════════
x-ui v2.9.3 updating finished, it is running now...

[INF] Update is complete, Panel has automatically restarted

Press enter to return to the main menu:

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

Please enter your selection [0-26]:
[ERR] Please enter the correct number [0-26]
/usr/bin/x-ui: line 2380: syntax error near unexpected token `;'
/usr/bin/x-ui: line 2380: `;'

How to repeat the problem?

Install x-ui 2.9.2 and update from menu to 2.9.3.

Expected action

There would not be a typo in the script; )

Received action

No response

3x-ui Version

2.9.3

Xray-core Version

No response

Checklist

  • This bug report is written entirely in English.
  • This bug report is new and no one has reported it before me.
Originally created by @farag2 on GitHub (Apr 28, 2026). Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/4132 ### Describe the bug When I `successfully` updated from 2.9.2 to 2.9.3, I run into an error at the very end: ``` The OS release is: ubuntu Arch: amd64 Running... Updating and install dependency packages... Current x-ui version: 2.9.2 Downloading new x-ui version... Got x-ui latest version: v2.9.3, beginning the installation... Stopping x-ui... Removing old systemd unit version... Removing old x-ui version... Removing old xray version... Removing old README and LICENSE file... Installing new x-ui version... Downloading and installing x-ui.sh script... Changing owner... Changing on config file permissions... Installing debian-like systemd unit... x-ui settings: current panel settings as follows: Panel is secure with SSL hasDefaultCredential: false port: webBasePath: / / Start migrating database... Migration done! SSL certificate is already configured ═══════════════════════════════════════════ Panel Access Information ═══════════════════════════════════════════ Access URL: https://selfsigned: ═══════════════════════════════════════════ x-ui v2.9.3 updating finished, it is running now... [INF] Update is complete, Panel has automatically restarted Press enter to return to the main menu: Panel state: Running Start automatically: Yes xray state: Running Please enter your selection [0-26]: [ERR] Please enter the correct number [0-26] /usr/bin/x-ui: line 2380: syntax error near unexpected token `;' /usr/bin/x-ui: line 2380: `;' ``` ### How to repeat the problem? Install x-ui 2.9.2 and update from menu to 2.9.3. ### Expected action There would not be a typo in the script; ) ### Received action _No response_ ### 3x-ui Version 2.9.3 ### Xray-core Version _No response_ ### Checklist - [x] This bug report is written entirely in English. - [x] This bug report is new and no one has reported it before me.
bsakaguchi 2026-10-31 20:28:05 +07:00
  • closed this issue
  • added the
    bug
    label
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#2804
No description provided.