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!
Resource icon

Script Xtream UI 22F Ubuntu 20.04 install 2020-12-17

Register & Get access to index
Hi, thank you for a great job.
I have a small problem.
On the main server, xtream ui mod is great work.
On the second server, where I only want to have a load balancer, i have this problem during installation.

┌─────────────────────────────────────────────────
│ Starting Xtream Codes │
└─────────────────────────────────────────────────

[14-Jan-2021 11:21:51] ERROR: failed to open configuration file '/home/xtreamcodes/iptv_xtream_codes/php/etc/f3rD1w.conf': No such file or directory (2)
[14-Jan-2021 11:21:51] ERROR: failed to load configuration file '/home/xtreamcodes/iptv_xtream_codes/php/etc/f3rD1w.conf'
[14-Jan-2021 11:21:51] ERROR: FPM initialization failed
[14-Jan-2021 11:21:51] ERROR: failed to open configuration file '/home/xtreamcodes/iptv_xtream_codes/php/etc/Rgv8i1.conf': No such file or directory (2)
[14-Jan-2021 11:21:51] ERROR: failed to load configuration file '/home/xtreamcodes/iptv_xtream_codes/php/etc/Rgv8i1.conf'
[14-Jan-2021 11:21:51] ERROR: FPM initialization failed
[14-Jan-2021 11:21:51] ERROR: failed to open configuration file '/home/xtreamcodes/iptv_xtream_codes/php/etc/rmsC3z.conf': No such file or directory (2)
[14-Jan-2021 11:21:51] ERROR: failed to load configuration file '/home/xtreamcodes/iptv_xtream_codes/php/etc/rmsC3z.conf'
[14-Jan-2021 11:21:51] ERROR: FPM initialization failed
┌────────────────────────────────────────────────┐
│ │
│ │
│ Installation completed! │
│ │
│ │
└────────────────────────────────────────────────┘

┌────────────────────────────────────────────────┐
│ Install Xtream Codes Main first! │
└────────────────────────────────────────────────┘
 
Hi, thank you for a great job.
I have a small problem.
On the main server, xtream ui mod is great work.
On the second server, where I only want to have a load balancer, i have this problem during installation.
Hi, thank you for a great job.
I have a small problem.
On the main server, xtream ui mod is great work.
On the second server, where I only want to have a load balancer, i have this problem during installation.
Did you install with the panel, or with the install.py script ?
 
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
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
Okay, it works now.
I have one more question, in order to install LB, I need to have MAIN server installed?

It is written in the script
┌────────────────────────────────────────────────┐
│ │
│ │
│ Installation completed! │
│ │
│ │
└────────────────────────────────────────────────┘

┌────────────────────────────────────────────────┐
│ Install Xtream Codes Main first! │
└────────────────────────────────────────────────┘
 
I installed using install.py
It is normally fixed
Okay, it works now.
I have one more question, in order to install LB, I need to have MAIN server installed?

It is written in the script
It is a reminder that you must install a main server first. It was in the original script, I'll move that away
 
Load balancer install is now working flawlessly from panel.
Even if your main or load is behind NAT, it will use the public ip to install.
 
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 bro, I installed from install.py and work perfect!
 
Thanks for your great project.
I tried your python3 files on Ubuntu 20.04.1 LTS.
I am getting this error.

Code:
root@u20:~# wget https://github.com/NeySlim/xtreamui_mirror/raw/master/install3.py;
--2021-01-14 20:46:06--  https://github.com/NeySlim/xtreamui_mirror/raw/master/install3.py
Resolving github.com (github.com)... 140.82.121.3
Connecting to github.com (github.com)|140.82.121.3|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://raw.githubusercontent.com/NeySlim/xtreamui_mirror/master/install3.py [following]
--2021-01-14 20:46:06--  https://raw.githubusercontent.com/NeySlim/xtreamui_mirror/master/install3.py
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.112.133
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.112.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 22153 (22K) [text/plain]
Saving to: ‘install3.py’

install3.py                       100%[============================================================>]  21.63K  --.-KB/s    in 0s

2021-01-14 20:46:06 (65.5 MB/s) - ‘install3.py’ saved [22153/22153]

root@u20:~# python3 install3.py
 ┌─────────────────────────────────────────────────┐
 │                                                 │
 │                                                 │
 │ X-UI 22f Mods Ubuntu 20.04 Installer - NeySlim  │
 │                                                 │
 │                                                 │
 └─────────────────────────────────────────────────┘


  Installation Type [MAIN, LB, ADMIN]: MAIN

 ┌─────────────────────────────────────────────────┐
 │             Start installation? Y/N             │
 └─────────────────────────────────────────────────┘

  Y

 ┌─────────────────────────────────────────────────┐
 │             Preparing Installation              │
 └─────────────────────────────────────────────────┘

chattr: No such file or directory while trying to stat /home/xtreamcodes/iptv_xtream_codes/GeoLite2.mmdb
 ┌─────────────────────────────────────────────────┐
 │         Install MariaDB 10.5 repository         │
 └─────────────────────────────────────────────────┘

 ┌─────────────────────────────────────────────────┐
 │               Installing libcurl4               │
 └─────────────────────────────────────────────────┘

 ┌─────────────────────────────────────────────────┐
 │             Installing libxslt1-dev             │
 └─────────────────────────────────────────────────┘

 ┌─────────────────────────────────────────────────┐
 │             Installing libgeoip-dev             │
 └─────────────────────────────────────────────────┘

 ┌─────────────────────────────────────────────────┐
 │              Installing e2fsprogs               │
 └─────────────────────────────────────────────────┘

 ┌─────────────────────────────────────────────────┐
 │                 Installing wget                 │
 └─────────────────────────────────────────────────┘

 ┌─────────────────────────────────────────────────┐
 │               Installing mcrypt                 │
 └─────────────────────────────────────────────────┘

 ┌─────────────────────────────────────────────────┐
 │                 Installing nscd                 │
 └─────────────────────────────────────────────────┘

 ┌─────────────────────────────────────────────────┐
 │                 Installing htop                 │
 └─────────────────────────────────────────────────┘

 ┌─────────────────────────────────────────────────┐
 │                 Installing zip                  │
 └─────────────────────────────────────────────────┘

 ┌─────────────────────────────────────────────────┐
 │                Installing unzip                 │
 └─────────────────────────────────────────────────┘

 ┌─────────────────────────────────────────────────┐
 │                 Installing mc                   │
 └─────────────────────────────────────────────────┘

 ┌─────────────────────────────────────────────────┐
 │           Installing mariadb-server             │
 └─────────────────────────────────────────────────┘

 ┌─────────────────────────────────────────────────┐
 │             Installing libpng16-16              │
 └─────────────────────────────────────────────────┘

 ┌─────────────────────────────────────────────────┐
 │               Installing libzip5                │
 └─────────────────────────────────────────────────┘

 ┌─────────────────────────────────────────────────┐
 │           Installing python3-paramiko           │
 └─────────────────────────────────────────────────┘

 ┌─────────────────────────────────────────────────┐
 │          Installing python-is-python3           │
 └─────────────────────────────────────────────────┘

 ┌─────────────────────────────────────────────────┐
 │           Creating user xtreamcodes             │
 └─────────────────────────────────────────────────┘

 ┌─────────────────────────────────────────────────┐
 │              Downloading Software               │
 └─────────────────────────────────────────────────┘

 ┌─────────────────────────────────────────────────┐
 │               Installing Software               │
 └─────────────────────────────────────────────────┘

 ┌─────────────────────────────────────────────────┐
 │               Configuring MySQL                 │
 └─────────────────────────────────────────────────┘

Traceback (most recent call last):
  File "install3.py", line 277, in <module>
    if not mysql(rUsername, rPassword): sys.exit(1)
  File "install3.py", line 148, in mysql
    rFile.write(rMySQLCnf)
TypeError: write() argument must be str, not bytes
root@u20:~#
 
Thanks for your great project.
I tried your python3 files on Ubuntu 20.04.1 LTS.
I am getting this error.

Code:
root@u20:~# wget https://github.com/NeySlim/xtreamui_mirror/raw/master/install3.py;
--2021-01-14 20:46:06--  https://github.com/NeySlim/xtreamui_mirror/raw/master/install3.py
Resolving github.com (github.com)... 140.82.121.3
Connecting to github.com (github.com)|140.82.121.3|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://raw.githubusercontent.com/NeySlim/xtreamui_mirror/master/install3.py [following]
--2021-01-14 20:46:06--  https://raw.githubusercontent.com/NeySlim/xtreamui_mirror/master/install3.py
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.112.133
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.112.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 22153 (22K) [text/plain]
Saving to: ‘install3.py’

install3.py                       100%[============================================================>]  21.63K  --.-KB/s    in 0s

2021-01-14 20:46:06 (65.5 MB/s) - ‘install3.py’ saved [22153/22153]

root@u20:~# python3 install3.py
┌─────────────────────────────────────────────────┐
│                                                 │
│                                                 │
│ X-UI 22f Mods Ubuntu 20.04 Installer - NeySlim  │
│                                                 │
│                                                 │
└─────────────────────────────────────────────────┘


  Installation Type [MAIN, LB, ADMIN]: MAIN

┌─────────────────────────────────────────────────┐
│             Start installation? Y/N             │
└─────────────────────────────────────────────────┘

  Y

┌─────────────────────────────────────────────────┐
│             Preparing Installation              │
└─────────────────────────────────────────────────┘

chattr: No such file or directory while trying to stat /home/xtreamcodes/iptv_xtream_codes/GeoLite2.mmdb
┌─────────────────────────────────────────────────┐
│         Install MariaDB 10.5 repository         │
└─────────────────────────────────────────────────┘

┌─────────────────────────────────────────────────┐
│               Installing libcurl4               │
└─────────────────────────────────────────────────┘

┌─────────────────────────────────────────────────┐
│             Installing libxslt1-dev             │
└─────────────────────────────────────────────────┘

┌─────────────────────────────────────────────────┐
│             Installing libgeoip-dev             │
└─────────────────────────────────────────────────┘

┌─────────────────────────────────────────────────┐
│              Installing e2fsprogs               │
└─────────────────────────────────────────────────┘

┌─────────────────────────────────────────────────┐
│                 Installing wget                 │
└─────────────────────────────────────────────────┘

┌─────────────────────────────────────────────────┐
│               Installing mcrypt                 │
└─────────────────────────────────────────────────┘

┌─────────────────────────────────────────────────┐
│                 Installing nscd                 │
└─────────────────────────────────────────────────┘

┌─────────────────────────────────────────────────┐
│                 Installing htop                 │
└─────────────────────────────────────────────────┘

┌─────────────────────────────────────────────────┐
│                 Installing zip                  │
└─────────────────────────────────────────────────┘

┌─────────────────────────────────────────────────┐
│                Installing unzip                 │
└─────────────────────────────────────────────────┘

┌─────────────────────────────────────────────────┐
│                 Installing mc                   │
└─────────────────────────────────────────────────┘

┌─────────────────────────────────────────────────┐
│           Installing mariadb-server             │
└─────────────────────────────────────────────────┘

┌─────────────────────────────────────────────────┐
│             Installing libpng16-16              │
└─────────────────────────────────────────────────┘

┌─────────────────────────────────────────────────┐
│               Installing libzip5                │
└─────────────────────────────────────────────────┘

┌─────────────────────────────────────────────────┐
│           Installing python3-paramiko           │
└─────────────────────────────────────────────────┘

┌─────────────────────────────────────────────────┐
│          Installing python-is-python3           │
└─────────────────────────────────────────────────┘

┌─────────────────────────────────────────────────┐
│           Creating user xtreamcodes             │
└─────────────────────────────────────────────────┘

┌─────────────────────────────────────────────────┐
│              Downloading Software               │
└─────────────────────────────────────────────────┘

┌─────────────────────────────────────────────────┐
│               Installing Software               │
└─────────────────────────────────────────────────┘

┌─────────────────────────────────────────────────┐
│               Configuring MySQL                 │
└─────────────────────────────────────────────────┘

Traceback (most recent call last):
  File "install3.py", line 277, in <module>
    if not mysql(rUsername, rPassword): sys.exit(1)
  File "install3.py", line 148, in mysql
    rFile.write(rMySQLCnf)
TypeError: write() argument must be str, not bytes
root@u20:~#

That's why it is not documented anywhere.
 
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
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
Installation via python3 works well :) Great job
 
How to change the default ports to cloudflare porst?
I tried to change that in the panel,but it doesnt change actually and streams doesnt work.
Any more steps to take ?
 
After restarting server with the new python3 install3.py.
I get 502 bad Gateway error?
restarting in ssh i get these error:

root@vps1:~# /home/xtreamcodes/iptv_xtream_codes/start_services.sh
[15-Jan-2021 22:04:24] ERROR: failed to open configuration file '/home/xtreamcodes/iptv_xtream_codes/php/etc/VaiIb8.conf': No such file or directory (2)
[15-Jan-2021 22:04:24] ERROR: failed to load configuration file '/home/xtreamcodes/iptv_xtream_codes/php/etc/VaiIb8.conf'
[15-Jan-2021 22:04:24] ERROR: FPM initialization failed
[15-Jan-2021 22:04:24] ERROR: failed to open configuration file '/home/xtreamcodes/iptv_xtream_codes/php/etc/JdlJXm.conf': No such file or directory (2)
[15-Jan-2021 22:04:24] ERROR: failed to load configuration file '/home/xtreamcodes/iptv_xtream_codes/php/etc/JdlJXm.conf'
[15-Jan-2021 22:04:24] ERROR: FPM initialization failed
[15-Jan-2021 22:04:24] ERROR: failed to open configuration file '/home/xtreamcodes/iptv_xtream_codes/php/etc/CWcfSP.conf': No such file or directory (2)
[15-Jan-2021 22:04:24] ERROR: failed to load configuration file '/home/xtreamcodes/iptv_xtream_codes/php/etc/CWcfSP.conf'
[15-Jan-2021 22:04:24] ERROR: FPM initialization failed
 
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
Please,

How to fix this error?

502 Bad Gateway
nginx/1.19.2
 
Hi everyone.

I made an ubuntu 20.04 install.

Update 11/01/21:
Revamped install
Fixed everything.

Updated Xui to mods 13.
reboot and now I get 502 bad Gateway error.... please solution...
 
shape1
shape2
shape3
shape4
shape5
shape6
Back
Top