What's new

How to Install XtreamUI on Ubuntu 18.04

Not open for further replies.


Staff member
Mar 30, 2018
Reaction score

Previously in R22 Early Access (A-D):
  • Fixed movies not showing in bouquet order.
  • Forced security upgrades to fix Xtream Codes exploit.
  • Patched all files against XSS exploits.
  • Added GeoLite2 updater.
  • Reintegrated database editor.
  • Added user-agent to Live Connections page.
  • Fixed search not being actioned on refresh.
  • Added stream icons to stream page.
  • Added EPG status indicator to stream page.
  • Added settings option to disable auto-refresh by default.
  • Ensured quotes " don't appear in bouquets in SQL. Can break things otherwise.
  • Fixed any bouquet issues (I believe).
  • Added noindex and nofollow to header to deter search engines from indexing.
  • Updated NGINX to newer, faster version.
  • Removed reseller API for now, the code may be insecure.
  • Fixed activity logs page.
  • Added interactive connection statistics to dashboard plus cron. Enable in Settings.
  • Added port selection to Install Load Balancer.
  • Added ability to change port. Edit server, change the ports. Restart server afterwards.
  • Added ability to reboot server instead of just restart services.
  • Fixed newline in textareas.
  • Changed year to appear in brackets instead of after a hyphen.
  • Added option to extend sidebar in profile.
  • Fixed various bugs.
  • 70% translation completed... taking it's swweeeett time.
  • Hidden expired MAG / Enigma passwords in reseller dashboard.
  • Added current release to Settings page so you can stay up to date.
  • Added advanced manual channel order.
  • Added bouquet ordering.
  • Partial localisation.
  • Fixed movie and episode adding, MySQL was parsing order as a command rather than column.
  • Fixed various page bugs due to XSS parsing by implementing HTML Purifier.
  • Fixed 2020 years not parsing in the python parser.
  • Fixed EPG URL not parsing correctly due to XSS decode not being available.
  • Fixed unicode line username and passwords not working.
  • Fixed never for expiration date (NULL was being parsed as 'NULL').
  • Fixed Restrictions not showing selected IP's or User-Agents.
  • New bouquet will be added to end of bouquet list rather than beginning.
  • Fixed bouquet ordering.
  • Fixed missing action buttons on Stream page.
  • Stream icon will show blank if not PNG, this is a limitation of no GD library.
  • Moved Hash Load Balancers to Settings page under Streaming instead of forced.
  • Added page to show User IP's per line for the previous Hour, 24 Hours or 7 Days.
  • Modified directory scanning to work with remote mounts like NextCloud.
  • Added "strict" to Geo IP options.
  • Added ISP to Activity Logs. Requires modifications to your main & LB's. Enable in settings.
  • Various bug fixes.

Yes this includes a rudimentary implementation of ISP's. I'll be adding ISP blocking etc in the next release but for now I've just implemented the API that actually grabs them. It's currently limited to 1,000 requests per day so if you have a lot of connections don't turn it on yet or you'll exhaust your limit immediately. Wait until I implement it in full as I'll have an unlimited supplier then.

To enable this, go to Settings, Streaming and tick Enable ISP's. You will also need to modify your /etc/hosts file to include the following:

apt-get update && apt-get upgrade -y
sudo apt-get install mysql-server
sudo apt-get install python
sudo apt install apache2
sudo apt-get install libxslt1-dev
sudo apt-get install libgeoip-dev
apt-get update && apt-get upgrade -y
sudo apt install phpmyadmin php-mbstring php-gettext
wget https://xtream-ui.com/install/install.py
sudo python install.py

NEW installation, choose MAIN and then use update command to get admin panel interface.
After Install Do  Update


For manual update, download the release from the link below.

[URL unfurl="true"]http://xtream-ui.com/releases/release_22e.zip[/URL]

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 && rm -rf /home/xtreamcodes/iptv_xtream_codes/adtools && wget http://xtream-ui.com/releases/release_22e.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 && rm /home/xtreamcodes/iptv_xtream_codes/tmp/crontab_refresh && /home/xtreamcodes/iptv_xtream_codes/start_services.sh && chattr +i /home/xtreamcodes/iptv_xtream_codes/GeoLite2.mmdb
Not open for further replies.
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