-
Notifications
You must be signed in to change notification settings - Fork 70
Update Guide
In order to update MLSC, follow the steps below:
Ensure you are not inside the MLSC music_led_strip_control directory.
/share/music_led_strip_controlis the default directory.
Stop the MLSC service:
sudo systemctl stop mlsc.serviceRun the MLSC Automated installation Script:
curl -sSL https://raw.githubusercontent.com/TobKra96/music_led_strip_control/master/setup.sh | sudo bash
Input "Y", when the following prompt appears:
[2/4] Installing MLSC...
MLSC is already installed. Do you want to reinstall it? [y/N]Start the MLSC service:
sudo systemctl start mlsc.serviceEnsure you are inside the MLSC music_led_strip_control directory.
Stop the MLSC service:
sudo systemctl stop mlsc.serviceRun the following git commands:
git checkout master
git pull origin master
If you want to use a different branch, replace
masterwith the required one, for example,dev_2.3.
Start the MLSC service:
sudo systemctl start mlsc.serviceIf you run into any issues while updating MLSC, just delete the whole repository, and clone it again:
cd /share/
sudo rm -r music_led_strip_control/
sudo git clone https://github.com/TobKra96/music_led_strip_controlExporting the config file using the Web Interface is advised in case you accidentally delete the
.mlscdirectory.
Note: Your config will be automatically restored after updating MLSC. If you want to manually make a backup of config.json, it is saved in /share/.mlsc/config.json.