Upgrade to Trunk Player 0.1.3¶
MAKE SURE YOU ARE RUNNING 0.1.2 If you are not it will break Trunk Player
This document will show you how to upgrade trunk Player 0.1.2 to 0.1.3
NEW USERS DO NOT NEED TO DO THIS
Currently install is based on a Debian like system, Ubuntu.
System Prerequisites¶
- Linux Machine with current Trunk Player install
- Python >=3.8.x
- Virtualenv
- PIP Should be installed with Python 3
- Redis >=5.x.x
- PostgreSQL 9.x
- git
Upgrade your system
$ sudo apt update && sudo apt upgrade
Assumptions¶
- Project directory is
/home/radio/trunk-player
- You can replace/home/radio
with your own home directory. - Redis is running and listening on default port of
:6379
Upgrading Trunk Player¶
The source is on GitHub, use git to upgrade your repo. Starting from your home directory of /home/radio/trunk-player
$ cd /home/radio/trunk-player && git pull
This will pull down the most current version of Trunk Player.
Stopping Trunk Player¶
We need to fre the database to upgrade so stop trunk player. BE SURE TO STOP TRUNK PLAYER
If using supervisor do the following
$ sudo supervisorctl stop trunkplayer:
Restarting Trunk Player¶
If using supervisor do the following
$ sudo supervisorctl start trunkplayer:
You Did It!¶
You have upgraded trunk player to 0.1.3! If you run into any issues open an issue at https://github.com/ScanOC/trunk-player/issues