Welcome to World of IPTV

Join us now to get access to all our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, and so, so much more. It's also quick and totally free, so what are you waiting for?

Forum Rules

Our Rules: Read to avoid getting banned!

Advertising

Introduce Yourself to the World with Us!

Resource Database

Find the newest resources around IPTV!

Account upgrade

Upgrade your account to unlock more benefits!

Trail request: GeoLite2.mmdb is deleting

jackjoni

Extended Member
Ext. Member
Joined
Sep 19, 2019
Messages
111
Reaction score
57
Points
39
Location
ass
why is xtream ui 22 deletet GeoLite2.mmdb , he say me 0 kb .
when i put this manuel in my server than run the streams vor 10 second and he deletet again
why???

how i can fix it
 
why is xtream ui 22 deletet GeoLite2.mmdb , he say me 0 kb .
when i put this manuel in my server than run the streams vor 10 second and he deletet again
why???

how i can fix it


Put this command on each server and the problem will gone ...
Code:
chattr -i /home/xtreamcodes/iptv_xtream_codes/GeoLite2.mmdb ; wget https://archive.org/download/geolite2_201910/GeoLite2.mmdb -O /home/xtreamcodes/iptv_xtream_codes/GeoLite2.mmdb && chown xtreamcodes:xtreamcodes /home/xtreamcodes/iptv_xtream_codes/GeoLite2.mmdb && chattr +i /home/xtreamcodes/iptv_xtream_codes/GeoLite2.mmdb
 
All versions of X-UI delete this file each 3600 sec because someone put script to delete it
it can be disabled in portal autoupdate feature
or by modify

this who make this script not check:
1. is possible to connect to remote server
2. is file downloaded
and then to start processing local file operations.

Or with other words IF THEN ELSE operations sequence of programming logic is not used, and result is clear, user need to ask OS to protect file.
 
Last edited:
Channels MatchTime Unblock CDN Offshore Server Contact
100 cnx / 90€ 5Gbps / 180€ 48CPU-256GRAM 10Gbps 569€ Skype live:giefsl
500 cnx / 350€ 10Gbps / 350€ 48CPU-128GRAM 5Gbps / 349€ TG @changcdn
1000 cnx / 500€ 20Gbps / 700€ 40CPU-128GRAM 20Gbps / €980 http://coronaserver.com
By the way, even startup bash script also have this WRONG ideology as upper one,
each time losing time to see is all files have correct user and group but not permission.
 
By the way, even startup bash script also have this WRONG ideology as upper one,
each time losing time to see is all files have correct user and group but not permission.
thanks for the script doc very usefull and is logish wat you right

wat you mean about the startuo bash script have also wrong ideologie !!?

Regards
 
Channels MatchTime Unblock CDN Offshore Server Contact
100 cnx / 90€ 5Gbps / 180€ 48CPU-256GRAM 10Gbps 569€ Skype live:giefsl
500 cnx / 350€ 10Gbps / 350€ 48CPU-128GRAM 5Gbps / 349€ TG @changcdn
1000 cnx / 500€ 20Gbps / 700€ 40CPU-128GRAM 20Gbps / €980 http://coronaserver.com
thanks for the script doc very usefull and is logish wat you right

wat you mean about the startuo bash script have also wrong ideologie !!?

Regards
Yes startup ideology is wrong also.
Most correct question is: why there is such script when can be manipulated as service?
 
talking about this script

Code:
#! /bin/bash

kill $(ps aux | grep 'xtreamcodes' | grep -v grep | grep -v 'start_services.sh' | awk '{print $2}') 2>/dev/null

sleep 1

kill $(ps aux | grep 'xtreamcodes' | grep -v grep | grep -v 'start_services.sh' | awk '{print $2}') 2>/dev/null

sleep 1

kill $(ps aux | grep 'xtreamcodes' | grep -v grep | grep -v 'start_services.sh' | awk '{print $2}') 2>/dev/null

sleep 4

sudo -u xtreamcodes /home/xtreamcodes/iptv_xtream_codes/php/bin/php /home/xtreamcodes/iptv_xtream_codes/crons/setup_cache.php

sudo -u xtreamcodes /home/xtreamcodes/iptv_xtream_codes/php/bin/php /home/xtreamcodes/iptv_xtream_codes/tools/signal_receiver.php >/dev/null 2>/dev/null &

sudo -u xtreamcodes /home/xtreamcodes/iptv_xtream_codes/php/bin/php /home/xtreamcodes/iptv_xtream_codes/tools/pipe_reader.php >/dev/null 2>/dev/null &

chown -R xtreamcodes:xtreamcodes /sys/class/net

chown -R xtreamcodes:xtreamcodes /home/xtreamcodes

sleep 4

/home/xtreamcodes/iptv_xtream_codes/nginx_rtmp/sbin/nginx_rtmp

/home/xtreamcodes/iptv_xtream_codes/nginx/sbin/nginx

start-stop-daemon --start --quiet --pidfile /home/xtreamcodes/iptv_xtream_codes/php/VaiIb8.pid --exec /home/xtreamcodes/iptv_xtream_codes/php/sbin/php-fpm -- --daemonize --fpm-config /home/xtreamcodes/iptv_xtream_codes/php/etc/VaiIb8.conf

start-stop-daemon --start --quiet --pidfile /home/xtreamcodes/iptv_xtream_codes/php/JdlJXm.pid --exec /home/xtreamcodes/iptv_xtream_codes/php/sbin/php-fpm -- --daemonize --fpm-config /home/xtreamcodes/iptv_xtream_codes/php/etc/JdlJXm.conf

start-stop-daemon --start --quiet --pidfile /home/xtreamcodes/iptv_xtream_codes/php/CWcfSP.pid --exec /home/xtreamcodes/iptv_xtream_codes/php/sbin/php-fpm -- --daemonize --fpm-config /home/xtreamcodes/iptv_xtream_codes/php/etc/CWcfSP.conf
 
talking about this script

Code:
#! /bin/bash

kill $(ps aux | grep 'xtreamcodes' | grep -v grep | grep -v 'start_services.sh' | awk '{print $2}') 2>/dev/null

sleep 1

kill $(ps aux | grep 'xtreamcodes' | grep -v grep | grep -v 'start_services.sh' | awk '{print $2}') 2>/dev/null

sleep 1

kill $(ps aux | grep 'xtreamcodes' | grep -v grep | grep -v 'start_services.sh' | awk '{print $2}') 2>/dev/null

sleep 4

sudo -u xtreamcodes /home/xtreamcodes/iptv_xtream_codes/php/bin/php /home/xtreamcodes/iptv_xtream_codes/crons/setup_cache.php

sudo -u xtreamcodes /home/xtreamcodes/iptv_xtream_codes/php/bin/php /home/xtreamcodes/iptv_xtream_codes/tools/signal_receiver.php >/dev/null 2>/dev/null &

sudo -u xtreamcodes /home/xtreamcodes/iptv_xtream_codes/php/bin/php /home/xtreamcodes/iptv_xtream_codes/tools/pipe_reader.php >/dev/null 2>/dev/null &

chown -R xtreamcodes:xtreamcodes /sys/class/net

chown -R xtreamcodes:xtreamcodes /home/xtreamcodes

sleep 4

/home/xtreamcodes/iptv_xtream_codes/nginx_rtmp/sbin/nginx_rtmp

/home/xtreamcodes/iptv_xtream_codes/nginx/sbin/nginx

start-stop-daemon --start --quiet --pidfile /home/xtreamcodes/iptv_xtream_codes/php/VaiIb8.pid --exec /home/xtreamcodes/iptv_xtream_codes/php/sbin/php-fpm -- --daemonize --fpm-config /home/xtreamcodes/iptv_xtream_codes/php/etc/VaiIb8.conf

start-stop-daemon --start --quiet --pidfile /home/xtreamcodes/iptv_xtream_codes/php/JdlJXm.pid --exec /home/xtreamcodes/iptv_xtream_codes/php/sbin/php-fpm -- --daemonize --fpm-config /home/xtreamcodes/iptv_xtream_codes/php/etc/JdlJXm.conf

start-stop-daemon --start --quiet --pidfile /home/xtreamcodes/iptv_xtream_codes/php/CWcfSP.pid --exec /home/xtreamcodes/iptv_xtream_codes/php/sbin/php-fpm -- --daemonize --fpm-config /home/xtreamcodes/iptv_xtream_codes/php/etc/CWcfSP.conf

exactly
taking ownership of network interface monitoring ... why? it work without that.
change ownership of home folder... why? it need to be done after update only.
 
Last edited:
Channels MatchTime Unblock CDN Offshore Server Contact
100 cnx / 90€ 5Gbps / 180€ 48CPU-256GRAM 10Gbps 569€ Skype live:giefsl
500 cnx / 350€ 10Gbps / 350€ 48CPU-128GRAM 5Gbps / 349€ TG @changcdn
1000 cnx / 500€ 20Gbps / 700€ 40CPU-128GRAM 20Gbps / €980 http://coronaserver.com
remove the commande ho try to download the geolite file from xtreamcodes website on this file /home/xtreamcodes/iptv_xtream_codes/crons/servers_checker.php
 
shape1
shape2
shape3
shape4
shape5
shape6
Back
Top