- Install xtream ui panel rm install.py; apt install python;wget https://bitbucket.org/emre1393/xtreamui_mirror/downloads/install.py; sudo python install.py - If you need update command with r22f link (link is new, file is same) sha-1: 95471A7EFEB49D7A1F52BAB683EA2BF849F79983 apt-get install unzip e2fsprogs python-paramiko -y && chattr -i /home/xtreamcodes/iptv_xtream_codes/GeoLite2.mmdb && rm -rf /home/xtreamcodes/iptv_xtream_codes/admin && rm -rf /home/xtreamcodes/iptv_xtream_codes/pytools && wget "https://bitbucket.org/emre1393/xtreamui_mirror/downloads/release_22f.zip" -O /tmp/update.zip -o /dev/null && unzip /tmp/update.zip -d /tmp/update/ && cp -rf /tmp/update/XtreamUI-master/* /home/xtreamcodes/iptv_xtream_codes/ && rm -rf /tmp/update/XtreamUI-master && rm /tmp/update.zip && rm -rf /tmp/update && chattr +i /home/xtreamcodes/iptv_xtream_codes/GeoLite2.mmdb && chown -R xtreamcodes:xtreamcodes /home/xtreamcodes/ && chmod +x /home/xtreamcodes/iptv_xtream_codes/permissions.sh && /home/xtreamcodes/iptv_xtream_codes/permissions.sh && /home/xtreamcodes/iptv_xtream_codes/start_services.sh - If you are getting nginx permission denied error, make nginx binaries executable again, also force panel to run updatetables function with an empty .update file to make sure tables are up to date for r22f. sudo chmod +x /home/xtreamcodes/iptv_xtream_codes/nginx_rtmp/sbin/nginx_rtmp; sudo chmod +x /home/xtreamcodes/iptv_xtream_codes/nginx/sbin/nginx; sudo touch /home/xtreamcodes/iptv_xtream_codes/admin/.update; sudo /home/xtreamcodes/iptv_xtream_codes/start_services.sh; - Auto LB install from bitbucket mirror Panel calls pytools/balancer.py, it connects to lb with ssh and downloads another balancer.py from xtream-ui.com (it is offline atm) and runs it to install lb server. --Edit /home/xtreamcodes/iptv_xtream_codes/pytools/balancer.py, replace https://xtream-ui.com/install/balancer.py with https://bitbucket.org/emre1393/xtreamui_mirror/downloads/balancer.py - HOW TO GET YOUR MYSQL PASSWORD python /home/xtreamcodes/iptv_xtream_codes/pytools/config.py DECRYPT wget https://raw.githubusercontent.com/shinctl/XtreamUI/master/pytools/config.py && python config.py DECRYPT && rm config.py - Sorted devices table for "Download Playlist" menu List starts with m3u, put the sql file to your server, import the sql file. (it has only devices table) sudo mysql -u root xtream_iptvpro < /root/xc_sorted_devices.sql - Rolling table backups then truncates. wget https://raw.githubusercontent.com/urgodfather/various_scripts/master/table-backup.sh && chmod a+x table-backup.sh usage intended to be used with cronjob to schedule as needed. 'example' 2 * * * /root/table-backup.sh [] DIR is the /path/where/to/backup.gzip t is the table to backup then truncate set your crontabe -e to suit your need per table it backups + %date then truncates https://crontab-generator.org/ crontab-generator.org db_host is localhost - How to use ssl certificate and https protocol on xtream ui panel? thanks to urgodfather for his nginx config file, i edited a bit and added small things. btw, it is working with cloudflare proxy full strict mode as i hoped. https://i.imgur.com/SdVcjQO.png then add server id numbers to setting table, use_https data in db, it will be like this, ["1", "2", ..., "15"] -How to change a server's http broadcast port? --open nginx.conf with; sudo nano /home/xtreamcodes/iptv_xtream_codes/nginx/conf/nginx.conf --find listen 25461; and change port number, --then save it with ctrl+s and exit with ctrl+x, --now test it with, sudo /home/xtreamcodes/iptv_xtream_codes/nginx/sbin/nginx -t --then reload nginx if test is successfull, sudo /home/xtreamcodes/iptv_xtream_codes/nginx/sbin/nginx -s reload --Go to Manage Serverspage, edit the server's http broadcast port. --restart services on servers with, sudo /home/xtreamcodes/iptv_xtream_codes/start_services.sh - HOW TO ADD DATABASE EDITOR BACK IN THE PANEL Using File Zilla or something similar, add code from the DBCodeforsettings.php text file to line 910 in settings.php in the admin folder and save. Then upload the database.php to the admin folder. If done correctly you will now see the DB editor back in the settings tab of the panel. You will need to do this everytime you update the panel. - Auto db backup and send with mail or/and copy to rclone remote What it does, backups db as panel does, without logs, (optional)then compresses and sends it as your choice. It works with xc crontab. Enable auto backup in panel settings. Open it with a text editor(notepad++, vs code, etc), Read instructions, you only need to edit the 6 lines between 44-60.