Migration Guide (Experimental) Print

  • 24

Assistance

In case you would like us to do the Migration for you, you can submit a Ticket for Migration.

We are assisting Production Migrations in slots Monday to Thursday from 06:00 GMT+0.

 

Preparation


The server where you are running the migration script will need access to the DB server of the migrated system.
In case direct connection is not possible, you may achieve this with ssh tunneling:
ssh -N -L DBPORT:127.0.0.1:DBPORT [email protected]
In the example DBPORT is the port where DB server is running and DBSERVERIP is the ip of the DB server.

During the migration you will be asked to supply:
DB HOST, DB PORT, DB USER, DB PASS, DB NAME (optional)

 

From StreamCreed

Tested version: 1.0.4

Default DB NAME: streamcreed_db

Basic usage


cd /home/onestream/iptv
php artisan migrate-system:from streamcreed |& tee migration.log.txt

Without any params, VODs will be migrated in a way that you would need to have the sources available on the servers.

There is and option to use the already encoded by StreamCreed files as sources to your VODs.


cd /home/onestream/iptv
php artisan migrate-system:from --force-symlink streamcreed |& tee migration.log.txt

From XUI.one/Xtream ui

Default DB NAME: xuoione


cd /home/onestream/iptv
php artisan migrate-system:from xuione |& tee migration.log.txt

From Xtream Codes

Tested version: 22 ck41

!!! Manually set DB NAME: xtream_iptvpro

Basic usage

The migration script for StreemCreed is compatible with Xtream Codes, just have to enter 'xtream_iptvpro' for the database name when prompted during migration.


cd /home/onestream/iptv
php artisan migrate-system:from streamcreed |& tee migration.log.txt

From NXT-DASH

Default DB NAME: nxt


cd /home/onestream/iptv
php artisan migrate-system:from nxt |& tee migration.log.txt


After migration

There are things that are not migrated and some that are migrated incomplete and have to be set manually.

Streams and VODs are migrated in a stopped state.

- Review system settings. You may like to adjust them to suit your needs.
http://mainserver:8087/settings

- Transcoding profiles are migrated, but without their settings.
Need to be set manually.
http://mainserver:8087/transcoding_profiles

  • Streaming servers are migrated, but without SSH passwords.
    Passwords need to be set manually and "Install Server" function to be used in order to install the OneStream software on these servers.
    Proceed to this step with caution and only after you have verified that all is OK with the migrated data.
    http://mainserver:8087/servers

 

STOP STREAMCREAD OR XTREAMCODE

kill $(ps aux | grep 'xtreamcodes' | grep -v grep | grep -v 'start_services.sh' | awk '{print $2}') 2>/dev/null
sleep 1
kill $(ps aux | grep 'xtreamcodes' | grep -v grep | grep -v 'start_services.sh' | awk '{print $2}') 2>/dev/null
sleep 1
kill $(ps aux | grep 'xtreamcodes' | grep -v grep | grep -v 'start_services.sh' | awk '{print $2}') 2>/dev/null
sleep 4


Was this answer helpful?

« Back