From 038abd94f6d42b0f4a4e046466f9a578ba42c32e Mon Sep 17 00:00:00 2001 From: Bill Zimmerman Date: Sat, 11 Apr 2020 23:40:09 +0200 Subject: [PATCH] Updated FAQs (markdown) --- FAQs.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/FAQs.md b/FAQs.md index 3a098d4..54d2520 100644 --- a/FAQs.md +++ b/FAQs.md @@ -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. ## 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.