Skip to main content
Content Protection

This content is protected and intended for legitimate IPTV service providers. Unauthorized distribution or use is strictly prohibited.

๐Ÿ–ฅ๏ธ XUI.ONE Panel Management Guide

Note: This guide provides essential commands for managing your XUI.ONE panel. All commands should be executed in the /home/xui/ directory unless specified otherwise.

๐Ÿ“‹ Prerequisitesโ€‹

  • Linux server with XUI.ONE installed (Ubuntu 18.04 or 20.04 recommended)
  • Root privileges or sudo access
  • Basic SSH and terminal knowledge
  • MariaDB installed (version 10.5.x recommended)

๐Ÿš€ Essential Commandsโ€‹

โ–ถ๏ธ Start Servicesโ€‹

Starts all XUI.ONE panel services.

service xuione start
# Alternative method
/home/xui/service start

โน๏ธ Stop Servicesโ€‹

Gracefully stops all XUI.ONE panel services.

service xuione stop
# Alternative method
/home/xui/service stop

๐Ÿ”„ Restart Servicesโ€‹

Restarts all panel services (stops and starts).

service xuione restart

๐Ÿ”„ Reload Servicesโ€‹

Reloads configuration without stopping services.

service xuione reload

๐Ÿ“Š Check Panel Statusโ€‹

Displays the current status of XUI.ONE services.

/home/xui/status
# Alternative method
service xuione status

๐Ÿ“Š Monitoring Commandsโ€‹

๐Ÿ“ˆ View Server Resourcesโ€‹

Check CPU, memory, and disk usage.

top -b -n 1 | head -n 20

๐ŸŒ Check Network Connectionsโ€‹

Monitor active connections to your server.

netstat -tulpn | grep -i xui

๐Ÿ› ๏ธ Maintenance Commandsโ€‹

๐Ÿงน Clean Temporary Filesโ€‹

Clears temporary files to free up disk space.

/home/xui/tools/clean

๐Ÿ”„ Reset Panelโ€‹

Resets the panel to its default state. Warning: This may cause data loss, so back up first.

/home/xui/tools/reset

๐Ÿ’พ Backup Panel Creates a backup of the XUI.ONE panel and database.

/home/xui/tools/backup

๐Ÿ”™ Restore Backupโ€‹

Restores a previously created backup.

/home/xui/tools/restore

๐Ÿ”’ Fixing Ownership and Permissionsโ€‹

๐Ÿ”„ Reset File Ownershipโ€‹

Reset ownership of all XUI.ONE files to the correct user and group:

chown -R xui:xui /home/xui/

๐Ÿ”ง Set Correct Permissionsโ€‹

Set proper permissions for the XUI.ONE directory:

find /home/xui/ -type d -exec chmod 755 {} \;
find /home/xui/ -type f -exec chmod 644 {} \;
chmod -R 777 /home/xui/tmp
chmod +x /home/xui/service
chmod +x /home/xui/status
chmod +x /home/xui/tools/*

๐Ÿ” Verify Permissionsโ€‹

Check current ownership and permissions:

ls -la /home/xui/

โš ๏ธ Common Permission Issuesโ€‹

  • If streams fail, check Nginx and PHP-FPM logs in /home/xui/logs/
  • If the panel shows 500 errors, verify file permissions
  • After updates, always reset permissions

๐Ÿ“ Important Notesโ€‹

  • Root Access: Most commands require root privileges. Use sudo or log in as the root user.
  • Caution with Resets: Commands like reset can erase data. Always back up using backup first.
  • Xtream-UI Differences: Unlike Xtream-UI, XUI.ONE uses /home/xui/ and service xuione for service management.
  • MySQL User: Verify your MySQL user in /home/xui/config/config.ini if user_iptvpro doesn't apply.
  • Backups: Regularly back up your panel using the backup command to avoid data loss.

๐Ÿ’ก Tipsโ€‹

  • Always back up your database before updates (mysqldump xui > backup.sql)
  • Monitor disk space with df -h
  • Check logs in /home/xui/logs/ for errors
  • Use screen or tmux for long-running commands

๐Ÿ” Troubleshootingโ€‹

  • If services fail to start, check the status with /home/xui/status
  • Ensure MariaDB is running (service mariadb status) before maintenance commands
  • For persistent issues, consult the XUI.ONE community or official support channels

Last updated: July 2025