Warning |
---|
This page is a work in progress and is not usable yet. |
See the Avalon 6.5 Release Notes for more information.
...
Code Block | ||
---|---|---|
| ||
curl --silent --location https://dl.yarnpkg.com/rpm/yarn.repo | sudo tee /etc/yum.repos.d/yarn.repo sudo yum install nodejs # Tested with Node.js version 10 sudo yum install yarn yarn install # in Avalon root dir |
...
Code Block | ||
---|---|---|
| ||
passenger-config restart-app |
5. Upgrade Redis and Restart Resque (background jobs processor)
Code Block | ||
---|---|---|
| ||
sudo yum upgrade redis # Version 3.0+
sudo service redis restart
pkill -f resque
RAILS_ENV=production BACKGROUND=yes bundle exec rake resque:scheduler
RAILS_ENV=production BACKGROUND=yes QUEUE=* bundle exec rake resque:work |
6. Upgrade ffmpeg (version 4+). You can either download a prebuilt binary
Code Block | ||
---|---|---|
| ||
mkdir -p /tmp/ffmpeg && cd /tmp/ffmpeg
curl https://johnvansickle.com/ffmpeg/releases/ffmpeg-release-amd64-static.tar.xz | tar xJ
sudo cp `find . -type f -executable` /usr/bin |
...
Code Block |
---|
sudo service matterhorn restart |
This takes the HLS distribution module offline causing Matterhorn to appear in an error state on the about page. This does not indicate a real problem but you can optionally choose to fix it by manually deleting the module from the Matterhorn database.
Code Block |
---|
delete from mh_service_registration where service_type = 'org.opencastproject.distribution.hls'; |
Note that if you do this you should also remove the HLS distribution steps from the avalon workflows in /usr/local/matterhorn/etc/workflows.
8. Update encoding profiles
...
New encoding profiles may produce higher resolution derivatives, but not higher than the master files themselves. | ||
Code Block | ||
---|---|---|
| ||
wget -q https://raw.githubusercontent.com/avalonmediasystem/avalon-felix/e36aad51ee4a62795504f7a9e176e5f0ca7644b8/etc/encoding/avalon.properties -O /usr/local/matterhorn/etc/encoding/avalon.properties |
...
Info |
---|
More information about changes to the default encoding profile can be found in the avalon-felix repository. |
9. Setup nginx streaming if you had been previously depending on the rails server to serve the HLS content.
910. Run waveform backfill script
...
Code Block | ||
---|---|---|
| ||
RAILS_ENV=production bundle exec rails r script/waveform_backfill.rb |
11. Turn on the timeliner in settings.yml:
Code Block | ||
---|---|---|
| ||
timeliner:
timeliner_url: https://<hostname>/timeliner |
For Docker Installations
Update new code from avalon-docker
...