Add note about switching branches

closes #11
This commit is contained in:
Indrek Haav 2023-02-02 11:12:51 +02:00 committed by GitHub
parent a950b29f3d
commit 032b652b4f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 0 deletions

View File

@ -377,3 +377,13 @@ $ systemctl status photoprism
Also check the [PhotoPrism troubleshooting checklists](https://docs.photoprism.app/getting-started/troubleshooting/). Some of the information there is Docker-specific, but a lot is useful even with non-Docker setups.
If all else fails, you can try deleting `~/photoprism` (where you cloned the source code) and `/opt/photoprism` (where the built files were copied) and re-installing PhotoPrism. As long as you don't delete `/var/lib/photoprism`, your data and settings won't be lost.
In some cases you might run into a bug in PhotoPrism that has been fixed but the fix is not yet released. In that case, you can try switching to the "preview" branch (or even the bleeding-edge "develop" branch), although note that this might introduce other issues compared to the stable "release" version.
To switch branches (e.g. to "preview"), go to the directory where you checked out PhotoPrism and enter the following command:
```shell
$ git checkout preview
```
Then re-run the steps to build and install PhotoPrism.