Updated FAQs (markdown)

Bill Zimmerman 2020-04-11 23:40:09 +02:00
parent e79feed599
commit 038abd94f6
1 changed files with 4 additions and 2 deletions

@ -42,11 +42,13 @@ You are free to SSH in to restore those files to their rightful position. Howeve
Login credentials are stored in `/etc/raspap/raspap.auth`. The password is encrypted and cannot be edited manually. However, deleting this file with `sudo rm /etc/raspap/raspap.auth` will restore the default admin password.
## <a name="upgrade"></a>What are the steps to upgrade RaspAP?
Upgrading your current install to a **specific release** is very straightforward. For example, to upgrade to the current release [version 2.3](https://github.com/billz/raspap-webgui/releases/tag/2.3), enter the following in the RaspAP install folder (default location is `/var/www/html`):
Upgrading your current install to a **specific release** is very straightforward. For example, to upgrade to the [latest release](https://github.com/billz/raspap-webgui/releases/latest), enter the following in the RaspAP install folder (default location is `/var/www/html`):
```
sudo git fetch --tags
sudo git checkout tags/2.3
latest=$(git describe --tags `git rev-list --tags --max-count=1`)
echo $latest
sudo git checkout $latest
```
A tag is a pointer that isn't connected to the main development tree that git knows about. As a result, git will reply that you're in a 'detached HEAD' state. This isn't a big deal, it just means that you have a specific version of the code that isn't connected to the git tree.