Jump to content

Upgrading from v2 to v3 on CentOS 7: Difference between revisions

From Rivendell Wiki
imported>WaybackImport
Imported via HTML fallback (before-primary)
 
imported>ImportBot
Imported from scrape
 
Line 1: Line 1:
== Contents ==
* [#Verifying_the_presence_of_CentOS_7 1 Verifying the presence of CentOS 7]
* [#Verifying_that_configured_RLMs_have_replacement_PyPAD_scripts_available 2 Verifying that configured RLMs have replacement PyPAD scripts available]
* [#Backing_Up_the_Database 3 Backing Up the Database]
* [#Updating_the_repository_assignments 4 Updating the repository assignments]
* [#Updating_the_Rivendell_Packages 5 Updating the Rivendell Packages]
* [#Creating_Replacement_PyPAD_Instances 6 Creating Replacement PyPAD Instances]
=== Verifying the presence of CentOS 7 ===
=== Verifying the presence of CentOS 7 ===
First, check that the system is in fact running CentOS 7 by executing the following command:
First, check that the system is in fact running CentOS 7 by executing the following command:


  cat /etc/redhat-release
    cat /etc/redhat-release


You should get back something like this:
You should get back something like this:


  CentOS Linux release 7.6.1810 (Core)
    CentOS Linux release 7.6.1810 (Core)


Verify that the first number in the version string ('7.6.1810') is a 7. If it is not, or you get a 'No such file or directory' error, then STOP. You are not running CentOS 7, and proceeding may damage or destroy your installation!
Verify that the first number in the version string ('7.6.1810') is a 7. If it is not, or you get a 'No such file or directory' error, then '''STOP'''. You are '''not''' running CentOS 7, and proceeding may damage or destroy your installation!


=== Verifying that configured RLMs have replacement PyPAD scripts available ===
=== Verifying that configured RLMs have replacement PyPAD scripts available ===
Go into RDAdmin->ManageHosts->hostname->RDAirPlay->ConfigureNow&NextParameters and make a note of each entry in the 'Loadable Modules' list. Using the following table, verify that each RLM (in the 'Path' field) has a replacement PyPAD script. If one does not, then '''STOP'''. You will need to create your own PyPAD script to duplicate the functionality of the custom RLM.


Go into RDAdmin->ManageHosts->hostname->RDAirPlay->ConfigureNow&NextParameters and make a note of each entry in the 'Loadable Modules' list. Using the following table, verify that each RLM (in the 'Path' field) has a replacement PyPAD script. If one does not, then STOP. You will need to create your own PyPAD script to duplicate the functionality of the custom RLM.
{| class="wikitable"
 
|+PyPAD Script Replacements for RLMs
PyPAD Script Replacements for RLMs
|-
 
!RLM
RLM
!PyPAD
 
|-
PyPAD
|rlm_ando
 
|pypad_ando.py
rlm_ando
|-
 
|rlm_filewrite
pypad_ando.py
|pypad_filewrite.py
 
|-
rlm_filewrite
|rlm_icecast2
 
|pypad_icecast2.py
pypad_filewrite.py
|-
 
|rlm_inno713
rlm_icecast2
|pypad_inno713.py
 
|-
pypad_icecast2.py
|rlm_liqcomp
 
|pypad_liqcomp.py
rlm_inno713
|-
 
|rlm_live365
pypad_inno713.py
|pypad_live365.py
 
|-
rlm_liqcomp
|rlm_serial
 
|pypad_serial.py
pypad_liqcomp.py
|-
 
|rlm_shoutcast1
rlm_live365
|pypad_shoutcast1.py
 
|-
pypad_live365.py
|rlm_spinitroni_plus
 
|pypad_spinitron.py
rlm_serial
|-
 
|rlm_spottrap
pypad_serial.py
|pypad_spottrap.py
 
|-
rlm_shoutcast1
|rlm_tunein
 
|pypad_tunein.py
pypad_shoutcast1.py
|-
 
|rlm_udp
rlm_spinitroni_plus
|pypad_udp.py
 
|-
pypad_spinitron.py
|rlm_urlwrite
 
|pypad_urlwrite.py
rlm_spottrap
|-
 
|rlm_walltime
pypad_spottrap.py
|pypad_walltime.py
 
|-
rlm_tunein
|rlm_xds
 
|pypad_xds.py
pypad_tunein.py
|-
 
|rlm_xmpad
rlm_udp
|pypad_xmpad.py
 
|}
pypad_udp.py
 
rlm_urlwrite
 
pypad_urlwrite.py
 
rlm_walltime
 
pypad_walltime.py
 
rlm_xds
 
pypad_xds.py
 
rlm_xmpad
 
pypad_xmpad.py


=== Backing Up the Database ===
=== Backing Up the Database ===
 
Close all open Rivendell modules, then '''back up your database''', using RDAdmin->BackupDatabase.
Close all open Rivendell modules, then back up your database, using RDAdmin->BackupDatabase.


=== Updating the repository assignments ===
=== Updating the repository assignments ===
Update the respository assignments by running the following commands (as root):
Update the respository assignments by running the following commands (as root):


  yum clean expire-cache
    yum clean expire-cache
  mv /etc/yum.repos.d/Paravel-Broadcast.repo /etc/yum.repos.d/Paravel-Broadcast.repo-DISABLED
    mv /etc/yum.repos.d/Paravel-Broadcast.repo /etc/yum.repos.d/Paravel-Broadcast.repo-DISABLED
  wget [http://download.paravelsystems.com/CentOS/7rd3/Paravel-Rivendell3.repo http://download.paravelsystems.com/CentOS/7rd3/Paravel-Rivendell3.repo] -P /etc/yum.repos.d/
    wget http://download.paravelsystems.com/CentOS/7rd3/Paravel-Rivendell3.repo -P /etc/yum.repos.d/


=== Updating the Rivendell Packages ===
=== Updating the Rivendell Packages ===
Update the Rivendell packages by doing (as root):
Update the Rivendell packages by doing (as root):


  yum update rivendell
    yum update rivendell


=== Creating Replacement PyPAD Instances ===
=== Creating Replacement PyPAD Instances ===
Go into RDAdmin->ManageHosts->hostname->PyPADInstances and create a new instance for each RLM noted in the 2.x setup, using the proper replacement PyPAD script. Remove all of the default configuration for each instance, replacing it with the configuration copy/pasted from the original RLM configuration file (the 'Argument' field).
Go into RDAdmin->ManageHosts->hostname->PyPADInstances and create a new instance for each RLM noted in the 2.x setup, using the proper replacement PyPAD script. Remove all of the default configuration for each instance, replacing it with the configuration copy/pasted from the original RLM configuration file (the 'Argument' field).
Retrieved from "[[Upgrading_from_v2_to_v3_on_CentOS_7|http://wiki.rivendellaudio.org/index.php?title=Upgrading_from_v2_to_v3_on_CentOS_7&oldid=423]]"

Latest revision as of 10:18, 9 May 2026

Verifying the presence of CentOS 7

First, check that the system is in fact running CentOS 7 by executing the following command:

   cat /etc/redhat-release

You should get back something like this:

   CentOS Linux release 7.6.1810 (Core)

Verify that the first number in the version string ('7.6.1810') is a 7. If it is not, or you get a 'No such file or directory' error, then STOP. You are not running CentOS 7, and proceeding may damage or destroy your installation!

Verifying that configured RLMs have replacement PyPAD scripts available

Go into RDAdmin->ManageHosts->hostname->RDAirPlay->ConfigureNow&NextParameters and make a note of each entry in the 'Loadable Modules' list. Using the following table, verify that each RLM (in the 'Path' field) has a replacement PyPAD script. If one does not, then STOP. You will need to create your own PyPAD script to duplicate the functionality of the custom RLM.

PyPAD Script Replacements for RLMs
RLM PyPAD
rlm_ando pypad_ando.py
rlm_filewrite pypad_filewrite.py
rlm_icecast2 pypad_icecast2.py
rlm_inno713 pypad_inno713.py
rlm_liqcomp pypad_liqcomp.py
rlm_live365 pypad_live365.py
rlm_serial pypad_serial.py
rlm_shoutcast1 pypad_shoutcast1.py
rlm_spinitroni_plus pypad_spinitron.py
rlm_spottrap pypad_spottrap.py
rlm_tunein pypad_tunein.py
rlm_udp pypad_udp.py
rlm_urlwrite pypad_urlwrite.py
rlm_walltime pypad_walltime.py
rlm_xds pypad_xds.py
rlm_xmpad pypad_xmpad.py

Backing Up the Database

Close all open Rivendell modules, then back up your database, using RDAdmin->BackupDatabase.

Updating the repository assignments

Update the respository assignments by running the following commands (as root):

   yum clean expire-cache
   mv /etc/yum.repos.d/Paravel-Broadcast.repo /etc/yum.repos.d/Paravel-Broadcast.repo-DISABLED
   wget http://download.paravelsystems.com/CentOS/7rd3/Paravel-Rivendell3.repo -P /etc/yum.repos.d/

Updating the Rivendell Packages

Update the Rivendell packages by doing (as root):

   yum update rivendell

Creating Replacement PyPAD Instances

Go into RDAdmin->ManageHosts->hostname->PyPADInstances and create a new instance for each RLM noted in the 2.x setup, using the proper replacement PyPAD script. Remove all of the default configuration for each instance, replacing it with the configuration copy/pasted from the original RLM configuration file (the 'Argument' field).