diff --git a/docs/UPGRADE.md b/docs/UPGRADE.md index c49f70bbf..0b877fdcd 100755 --- a/docs/UPGRADE.md +++ b/docs/UPGRADE.md @@ -13,16 +13,25 @@ There is a file `settings/version` containing the version number. **Note:*** This is work in progress, please share experience, improvements and insights in the [issue section](https://github.com/MiczFlor/RPi-Jukebox-RFID/issues). -# Upgrade from Version 1.1.1 to 1.1.2 +# Upgrade from Version 1.1.1 to 1.1.3 -A few important bug fixes. And a new design. And the option to decide what the 'second swipe' of a card does (see settings in the web app). +A few important bug fixes. And a new design. +And the option to decide what the 'second swipe' of a card does (see settings in the web app). +The following should get you all you need, without running the install script if you +only want to upgrade. ~~~ -cd -cd RPi-Jukebox-RFID -git fetch +cd /home/pi/RPi-Jukebox-RFID git checkout master +git fetch origin +git reset --hard origin/master git pull +sudo chown -R pi:www-data /home/pi/RPi-Jukebox-RFID/shared +sudo chmod -R 775 /home/pi/RPi-Jukebox-RFID/shared +sudo chown -R pi:www-data /home/pi/RPi-Jukebox-RFID/htdocs +sudo chmod -R 775 /home/pi/RPi-Jukebox-RFID/htdocs +sudo chown -R pi:www-data /home/pi/RPi-Jukebox-RFID/settings +sudo chmod -R 777 /home/pi/RPi-Jukebox-RFID/settings ~~~ # Upgrade from Version 1.0.0 to 1.1.1 diff --git a/scripts/installscripts/stretch-install-default.sh b/scripts/installscripts/stretch-install-default.sh index 341c9d3c3..3c671c557 100755 --- a/scripts/installscripts/stretch-install-default.sh +++ b/scripts/installscripts/stretch-install-default.sh @@ -618,8 +618,8 @@ sudo chmod -R 775 /home/pi/RPi-Jukebox-RFID/shared sudo chown -R pi:www-data /home/pi/RPi-Jukebox-RFID/htdocs sudo chmod -R 775 /home/pi/RPi-Jukebox-RFID/htdocs -sudo chown pi:www-data /home/pi/RPi-Jukebox-RFID/settings -sudo chmod 775 /home/pi/RPi-Jukebox-RFID/settings +sudo chown -R pi:www-data /home/pi/RPi-Jukebox-RFID/settings +sudo chmod -R 775 /home/pi/RPi-Jukebox-RFID/settings # audio folders might be somewhere else, so treat them separately sudo chown pi:www-data "$DIRaudioFolders" diff --git a/settings/version b/settings/version index 781dcb07c..1b87bcd0b 100755 --- a/settings/version +++ b/settings/version @@ -1 +1 @@ -1.1.3 +1.1.4 \ No newline at end of file