Skip to content

Commit

Permalink
Merge pull request #234 from MiczFlor/develop
Browse files Browse the repository at this point in the history
fix in setup script for version 1.1.4
  • Loading branch information
MiczFlor authored Oct 2, 2018
2 parents 6312df2 + 21fb4ad commit 8eaaee2
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 8 deletions.
19 changes: 14 additions & 5 deletions docs/UPGRADE.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions scripts/installscripts/stretch-install-default.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion settings/version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.1.3
1.1.4

0 comments on commit 8eaaee2

Please sign in to comment.