Tutorial Changing Main Server - XUI ONE

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 @changglobize
1000 cnx / 500 20Gbps / 700 40CPU-128GRAM 20Gbps / 980 http://coronaserver.com
Advertise with us
Welcome!
Join this incredible group of like-minded people and start discussing everything IPTV.
Register now
May 8, 2024
1
0
Brasil
This Thread had not been rated yet
1. installed XUI on new server.

2. On old server make a database backup with this command

./home/xui/xui_backup
3. find the created SQL backup file in /home/xui/backups/ folder
the file name has timestamp when the backup is created and copy this SQL file to the new server directory /home/xui/backups/

4. copy /home/xui/www/images/ folder from old to new server - use the same location (here is located your channels picons and VOD images)

5. copy /home/xui/bin/nginx/conf/codes/ folder from old to new server - use the same location (here is the nginx access codes to match your old database)

6. login to new server and go to Backup Settings and at the right side of your backup file hit Restore backup

7. when restore finished login to new XUI panel BUT NOW WITH YOUR OLD ACCESS CODE !!! The access code what are using before backup no longer works because your database was restored from old server. So use old access code + old admin username and password.
If XUI login page dont load restart XUI with command

service xuione restart
and try again login.

8. In XUI panel go to Servers / manage servers / edit server and check if SERVER IP adress is the same as your actual server IP adress (I have here the IP address from old server but streams work i dont know why but change this SERVER IP to the new server IP address) .
If you use SSL and domain change your domain in Domains tab (redirect you dns to your new server IP before generating SSL), go to SSL Certificate - generate SSL certificate and when SSL sucessfully generated ENABLE HTTPS

9. You can see all your Loadbalancer is Offline because you must also need to edit all your loadbalancer local config files to be able to access the mysql database from loadbalancer (loadbalancer still have IP of your old server)

10. In your loadbalancer servers find the file /home/xui/config/config.ini and edit the line

hostname = "xxxxxxxxx"
and change the xxxxx to your new main server IP adress. Save the file and run this command in your loadbalancer

service xuione restart
After this check if Loadbalancer appear online on your main server.
Repeat step 10. in all your loadbalancer servers.
 
This Thread had not been rated yet
AdBlock Detected

We get it, advertisements are annoying!

Sure, ad-blocking software does a great job at blocking ads, but it also blocks useful features of our website. For the best site experience please disable your AdBlocker.

I've Disabled AdBlock