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!

How to Change main server Xtream Ui

Status
Not open for further replies.

casperch

Extended Member
Ext. Member
Joined
Sep 22, 2019
Messages
2
Reaction score
23
Points
11
Location
suisse
How to change main server?
First of all we need to take important backups.

  1. Go to manage servers page, edit main server and add your new server ip and save it. Never run start_services.sh or any other command.
  2. Go to settings ==> Backups ==> Create New backup
  3. Now login to your main server ssh via WinSCP and go to /home/xtreamcodes/iptv_xtream_codes/adtools/backups and download your latest backup locally.
  4. Now download this file locally from your main server and all your LBs /home/xtreamcodes/iptv_xtream_codes/nginx/conf/ngix.conf
  5. Now as our main server has now new IP and MySQL password, get main server MySQL password then run this command one by one on each LB to update IP and MySQL Pass
    Bash:
    wget https://raw.githubusercontent.com/shinctl/XtreamUI/master/pytools/config.py && python config.py ENCRYPT
 
Last edited by a moderator:
Status
Not open for further replies.
shape1
shape2
shape3
shape4
shape5
shape6
Back
Top