XUI.ONE Management Guide
Service Commands
To manage the XUI.ONE service, use the following commands:
bash
service xuione <start|stop|reload|restart>
Example:
bash
service xuione start
Generating and Reissuing Licenses
After Installation
-
Access the Setup Page:
- Visit:
http://yoursite.com:8080/accesscode
- Each installation has a unique access code. If the access code doesn’t work, follow the instructions below.
- Visit:
-
For Reissuing License:
- Visit the XUI Billing Panel and log in.
- Reissue your license (Main server only; skip this step for load balancers).
-
Update License File:
- Ensure your license number is in
/home/xui/config/config.ini
. - Run the following commands via SSH:
bash
rm /home/xui/config/license sudo -u xui /home/xui/bin/php/bin/php /home/xui/crons/license.php
- The
license.php
script will provide information about the license's validity.
- Ensure your license number is in
-
If Issues Persist:
- Contact support or post on the forum.
No Access Code
-
Check for Existing Codes:
- Look in
/home/xui/bin/nginx/conf/codes/
for a.conf
file. If found, use this code.
- Look in
-
Create a New Access Code:
- Copy
template
toadmin.conf
. - Edit
admin.conf
:- Replace
#CODE#
withadmin
. - Replace
#TYPE#
withadmin
. - Delete
#WHITELIST#
.
- Replace
- Run the following SQL command:
sql
USE `xui`; INSERT INTO `access_codes` ( `code`, `type`, `enabled`, `groups`) VALUES ('admin', 0, 1, '[1]');
- Reload the service:
bash
service xuione reload
- Access the admin panel via:
http://yoursite.com:8080/admin
- Copy
Login Error: "You do not have access"
- Ensure the access code used is correct for the user group. If necessary, create a new access code as described above.