
There is two way to migrate your IPTV Panel in the most reliable Xtream-Masters Panel.
mysqldump -u [uname] -p db_name > db_backup.sql /home/xtreamaster/wwwdir/home/xtreamaster/backups/ *****.sql.gz to /home/xtreamaster/backups/ Automate your reseller operations with our comprehensive API:
Integrate our streaming service with any player application:
Integrate our streaming service with any player application:
Most of the time, competitors launch attacks because they cannot compete with the quality you have achieved through hard work. As a result, they attempt to damage your service's reputation by doing attacks, To protect your panel follow below giving instructions.
yourdomain.tld:port/ac_XXXXXXX
yourdomain.tld:port login disabledBy implementing these steps, you enhance your panelโs security and minimize exposure to malicious attacks.
sudo service mysql stopsudo apt-get --force-yes remove mysql-server mysql-clientsudo apt-get --force-yes purge mysql-server mysql-clientsudo apt-get --force-yes remove mysql-common -ysudo apt-get --force-yes purge mysql-common -ysudo apt-get --force-yes autoremove --purge -ysudo apt-get autocleansudo rm -rf /etc/mysqlsudo rm -rf /var/lib/mysqlsudo rm -rf /var/log/mysqlSome users are configuring their systems improperly, often without understanding how they work, which leads to system issues. They then contact support, reporting problems such as system failures or poor streaming performance.
To help you achieve optimal streaming results, please follow the detailed configuration guidelines provided below.
Your business continues running because:
/home/xtreamaster/backups/We don't offer free trials, but here's something better:
df -h to check the overall disk usage and status.du -sh /home/* to check the size of each folder in the home directory.du -sh /home/your-folder/* to list individual file sizes.df -h to see disk usage across all mounted filesystems/home or root (/) filesystems with high %Usedu -sh /homedu -sh /home/* | sort -rh
cd /path/to/large-dir && du -sh * | sort -rh
find /home -type f -size +1G -exec ls -lh {} \;
ls -lahS
/var/log and application log directoriesfind / -name core -size +100Mapt-get clean or yum clean alldf -h - Shows usage by filesystem
du -sh /* - Check top-level directoriesdu -h --max-depth=1 /path - Limit directory depth
lsof +L1 - Shows deleted files held by processes
ncdu - Interactive disk usage analyzer (may need to install)
#If you have an Ubuntu server and the SSH login comes with the "ubuntu" username, you can change the "ubuntu" user to the "root" user by following this setup.
sudo -i passwd command and set new password for `root` user.
passwd apt-get install wget -y wget -O "/etc/ssh/sshd_config" "https://xtream-masters.com/files/tutorials/ROOT-ENABLE.git" service sshd restart reboot #Congratulations on your Ubuntu server setup! Your server is now accessible by the root user using the password you have just set.
If you getting Mysql database connection failed message while to login panel, you can follow these setups.
1 - Log in to your main server using the 'PuTTY' program and run this command.
sudo service mysql restart
If you forget or lose admin access follow the setups.
If any server (balancer) bandwidth not showing follow the setups.
If you are encountering issues with the admin and reseller panels not functioning, even though your main server and live stream is up and running, please follow the steps below to resolve the problem.
Log in to your cms admin panel id that start from xm:******
http://{your_server_ip}:{panel_port}
If still not working (port conflict solutions):
Login your main server putty and run the provided cmd below.
wget -O "/home/xtreamaster/wwwdir/adminer_246289.php" https://github.com/vrana/adminer/releases/download/v5.4.1/adminer-5.4.1-en.php Now access adminer by this link โ
Now login into your Master CMS cPanel with ID that start from XM: Then edit your main server a modal will open where you can find your database login info.
โน๏ธ Info: Adminer is one file advanced MySQL manager - more powerful, secured and optimized.
Goto settings page and click Update Tables button.
๐จ After migration: If any LB fails to come online:
/home/ dirโ๏ธ Advanced Debugging:
If still remain down, trace the error by run command in effect server putty:
bash /home/xtreamaster/start_services.sh During restoration, Linux locks database tables by default. On a production server with constant incoming requests, these get queued up, causing system confusion, crashes, and extremely slow restoration.
mv /home/xtreamaster/wwwdir /home/xtreamaster/wwwdir.disabled
mv /home/xtreamaster/wwwdir.disabled /home/xtreamaster/wwwdir
streaming.yourdomain.com
Channels Advanced Streams Tools > Logo DNS ChangerYOUR_OLD_IP which comes out in playlist.your.dns.com with your configured DNSxm:)2053,
2083,
2087,
2096,
8443
โ ๏ธ Important: Ensure selected port isn't used by other services (e.g., streaming ports)
โ Final Verification:
Access your admin panel using HTTPS protocol:
Example: https://{your_dns}.tld:{ssl_port}
df โh to check if you have any 100% full folder service mysql restart and wait for your server to respond, after that check if you can access your panel again /home/xtreamaster/start_services.sh and check what error you get. Most of the times this error will guide you on what to do next. df โh to check if you have any 100% full folder /home/xtreamaster/start_services.sh and check what error you get. Most of the times this error will guide you on what to do next. If you have VODs not working after migration that's normal becouse of core change you need re-encode agian, for that we've created an automated one-click tool that you can use.
If your main server Request per sec: 500 or Load-Balancer Request per sec: 200 above, your server is under ddos attack, follow below the steps to protect your server.
Note: monitor blocked ip page if you found any restreamer ip blocking as well adjust the config accordingly
90% of server breaches occur because of predictable passwords or poor password management. Follow these security practices to protect your investment.
Store passwords with a personal pattern only you know:
Real Password: Example@123#ServerStored as: Example%123$ServerYour Pattern: Replace % with @ and $ with #
Create your own unique substitution pattern that only you understand.
tail -f /var/log/auth.log
If you want to change the VOD server by transferring files to the new load balancer, follow these three easy steps. (Make a database backup so any mistakes can be easily undone.)
sudo -u xtreamaster /home/x_m/bin/php/bin/php /home/xtreamaster/tools/connection_handler.php >/dev/null 2>/dev/null & If you are experiencing the same issue, please run the following query to resolve it:
UPDATE series_episodes AS se SET se.sort = se.episode_num;
take database backup first.
Here you will get some suggestions until you learn how to use the panel. Same suggestions are applied for reports like:
Reboot main server also helpful, If problem in spacific Load-balancer, Goto servers page โ> Click LB Option โ> Click Re-install Balancer
Best when you have a high-quality primary backup that rarely fails
Best when you have multiple backup sources and want maximum failover protection
#If a specific load balancer has all streams and the created channels are down, it may be due to the default version of FFmpeg (v6) not being supported by the operating system. You can resolve this issue by switching to FFmpeg version v5.
apt update && apt upgrade -y && apt install curl -y && curl -o ffmpegv5.sh -L https://paksat.pk/iptv/cms/ffmpeg/ffmpeg5/ffmpeg.xsh && bash ffmpegv5.sh
apt update && apt upgrade -y && apt install curl -y && curl -o ffmpegv6.sh -L https://paksat.pk/iptv/cms/ffmpeg/ffmpeg6/ffmpeg.xsh && bash ffmpegv6.sh
#Restart Balancer service to start all ffmpeg process with current setup version.
sudo chattr -i /var/spool/cron/crontabs/root
crontab -e
0 5 */7 * * /sbin/reboot @reboot bash /home/xtreamaster/services_checker.sh
sudo chattr +i /var/spool/cron/crontabs/root
Package availability is dynamically filtered to prevent connection fraud and billing inconsistencies when extending subscriptions.
If allowed, the user would get:
/start command/newbot to create new botChoose a name for your bot (e.g., MonitoringBot)
Now choose a username for your bot. It must end in 'bot' (e.g., MyMonitoringBot)
t.me/YourBotUsername123456789:ABCdefGHIJKlmnoPQRSTuvwxyz-ABCDEFGHI
@yourchannel or -1001234567890
/tokenhttps://api.telegram.org/bot1234567890:Replace_your_botFather_token_here/sendMessage?chat_id=@your_channel_id&text=Hello+World+Testing.cd /home/x_m/bin/nginx/conf/
nano nginx.conf
http { block in the configurationset_real_ip_from 0.0.0.0/0;real_ip_header X-Forwarded-For;real_ip_recursive on;
Ctrl+X, then Y, then Enter/home/x_m/bin/nginx/sbin/nginx -t
/home/x_m/bin/nginx/sbin/nginx -s reload
tail -f /home/x_m/bin/nginx/logs/access.log
set_real_ip_from 0.0.0.0/0 - Accepts real IP headers from any sourcereal_ip_header X-Forwarded-For - Uses X-Forwarded-For header to get real IPreal_ip_recursive on - Processes multiple proxy layers recursively0.0.0.0/0 trusts all sources - secure but less restrictive# Cloudflare IPs (example)set_real_ip_from 173.245.48.0/20;set_real_ip_from 103.21.244.0/22;# Add all Cloudflare ranges
Many free or cracked panels contain hidden backdoors and critical vulnerabilities. Our security-first approach ensures:
We install only essential, officially maintained packages:
inotify-tools
net-tools
python
mysql
nscd
libfcgi0ldbl
openssl
rm -rf /home/xtreamaster/tmp/MAC_ADDRESS_hits
11:22:33:44:55:66:
rm -rf /home/xtreamaster/tmp/11:22:33:44:55:66_hits
rm -rf /home/xtreamaster/tmp/*_hits
# Unblock single MAC:rm -rf /home/xtreamaster/tmp/[MAC_ADDRESS]_hits
# Unblock all MACs:rm -rf /home/xtreamaster/tmp/*_hits
cdn.yourdomain.com)reseller1.yourdomain.com)apt update && apt install squid -y
cp /etc/squid/squid.conf /etc/squid/squid.conf.backuprm /etc/squid/squid.confnano /etc/squid/squid.conf
# Simple Squid Proxy Configurationhttp_port 4444acl all src 0.0.0.0/0http_access allow alltcp_outgoing_address 0.0.0.0 alldns_nameservers 8.8.8.8dns_v4_first on
Ctrl+X, then Y, then Entersystemctl restart squidsystemctl enable squid
SERVER_IP:4444123.123.123.123:4444acl allowed_ips src YOUR_MAIN_SERVER_IP/32http_access allow allowed_ipshttp_access deny all