saltyorg / Sandbox

Saltbox Sandbox
GNU General Public License v3.0
63 stars 91 forks source link

App Request: Xtream UI #340

Open kromefww opened 3 months ago

kromefww commented 3 months ago

https://xtreamui.org/

chazlarson commented 3 months ago

There's no official docker image for this, and based on a half-hour of flailing there isn't a straightforward way to build one.

chazlarson commented 3 months ago

There's this: https://github.com/theraw/xtreamui-on-docker

kromefww commented 3 months ago

'sudo apt update && sudo apt full-upgrade -y ; sudo apt-get install dirmngr && sudo apt install python2 -y ; rm u20.py ; wget https://lofertech.com/xui/u20.py ; sudo python2 u20.py

saltydk commented 3 months ago

Python 2 is very much dead and buried.

kromefww commented 3 months ago

Python 2 is very much dead and buried.

https://lofertech.com/install-xui-one/#Step_1_Run_Installation_Script

How about this? It's an updated version

chazlarson commented 3 months ago

That seems like a different thing.

kromefww commented 3 months ago

That seems like a different thing.

It's a clone of the original app I posted. The old one was not being worked on anymore

maximuskowalski commented 3 months ago

XTREAM UI is a popular and easy-to-use platform for IPTV streaming providers to manage their own service and customer database. Learn how to install XTREAM UI on Ubuntu server, explore the latest mods and features, and find trusted providers and clients.

chazlarson commented 3 months ago

That XUI-One thing still uses Python2; also trying to run those setup steps inside a docker container runs into problems near the end as it appears to expect a reboot in there somewhere.

there's also a bit of interactivity [sysctl overwrite] near the end I couldn't get rid of [didn't look real hard] and a few errors that may or may not matter:

 |--------------------------------------------------------------|
 |                      Configuring System                      |
 |--------------------------------------------------------------|

System has not been booted with systemd as init system (PID 1). Can't operate.
Failed to connect to bus: Host is down
Configuration file /etc/systemd/system/xuione.service is marked executable. Please remove executable permission bits. Proceeding anyway.
Created symlink /etc/systemd/system/multi-user.target.wants/xuione.service → /etc/systemd/system/xuione.service.
Custom sysctl.conf - If you have your own custom sysctl.conf, type N or it will be overwritten. If you don't know what a sysctl configuration is, type Y as it will correctly set your TCP settings and open file limits.
Overwrite sysctl configuration? (Y / N): Y
modprobe: FATAL: Module ip_conntrack not found in directory /lib/modules/5.15.81-xanmod1

Database
------------------------------
Connected successfully.

Building search indexes...
chmod: cannot access '/home/xui/bin/php/sockets/*': No such file or directory
no crontab for root
chattr: No such file or directory while trying to stat /var/spool/cron/crontabs/root
no crontab for root
chattr: Operation not permitted while setting flags on /var/spool/cron/crontabs/root
Root crontab installed.

Configuration
------------------------------
Increasing file limit... You need to reboot your system!

Generating a new Redis password

Updating Redis password in database
System has not been booted with systemd as init system (PID 1). Can't operate.
Failed to connect to bus: Host is down
System has not been booted with systemd as init system (PID 1). Can't operate.
Failed to connect to bus: Host is down
 |--------------------------------------------------------------|
 |                                                              |
 |                                                              |
 |                   Installation completed!                    |
 |                                                              |
 |                                                              |
 |--------------------------------------------------------------|

 |--------------------------------------------------------------|
 |          Continue Setup: http://172.17.0.2/gWxNjUGf          |
 |--------------------------------------------------------------|

 |--------------------------------------------------------------|
 |          Your mysql credentials have been saved to:          |
 |--------------------------------------------------------------|

 |--------------------------------------------------------------|
 |                     /tmp/credentials.txt                     |
 |--------------------------------------------------------------|

 |--------------------------------------------------------------|
 |            Please move this file somewhere safe!             |
 |--------------------------------------------------------------|
chazlarson commented 3 months ago

This seems like it would be hard for anyone but someone who needs it to work on, since I assume it requires a particular type of IPTV account. Even if I got this to install and come up, there may be no way to verify it works.