diff --git a/docs/installation/manual-debian-install.md b/docs/installation/manual-debian-install.md deleted file mode 100644 index 50b0448..0000000 --- a/docs/installation/manual-debian-install.md +++ /dev/null @@ -1,81 +0,0 @@ ---- -title: "πŸ’» Local" -excerpt: "How to install Libre Photos locally on Debian-based operating systems." -sidebar_position: 4 ---- - -LibrePhotos can be installed locally on Debian-based operating systems with systemd. - -## Notes - -We currently only support nginx. If you want something custom, adapt the script to your liking. -We do not support a remote PostgreSQL server yet. - -## Compatibility - -Architecture: -amd64 - -- Ubuntu 20.04.x LTS (server) -- Ubuntu 21.04 (desktop) -- Debian - -## Pre-Installation - -Install git: - -``` -sudo apt install git -y -``` - -## Installation - -### Debian like distribution - -Execute the following commands as root. Edit the beginning of the script, and execute. This will create system user 'librephotos', creates directories, installs necessary software, creates database and automatically writes some variables to librephotos-backend.env file. - -``` -sudo su -cd -git clone https://github.com/LibrePhotos/librephotos-linux.git -cd librephotos-linux -nano install-librephotos.sh -``` - -``` -./install-librephotos.sh -``` - -After changing the photos directory, you must edit either `/etc/nginx/nginx.conf` or `/etc/nginx/sites-available/librephotos`. There are four places where you have to update the location. - -``` -nano /etc/librephotos/librephotos-backend.env -``` - -## Additional information - -Installed systemd services: - -``` -librephotos-image-similarity.service -librephotos-worker.service -librephotos-backend -librephotos-frontend -``` - -### librephotos-cli - -As root, you can use - -``` -librephotos-cli build_similarity_index -librephotos-cli clear_cache -``` - -### Video are not playing - -This is a permissions issue. The subdirectories need others read and execute permissions, and the video files need others read permissions. This is true even if everything is owned by librephotos:librephotos - -## Next Steps - -Next, take a look at the [first steps after setup](../user-guide/first-steps.md). diff --git a/docs/installation/raspberry-pi.md b/docs/installation/raspberry-pi.md deleted file mode 100644 index bdd093e..0000000 --- a/docs/installation/raspberry-pi.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: "πŸ“ Raspberry Pi Installation" -excerpt: "How to install a premade image for the Raspberry Pi " -sidebar_position: 2 ---- - -## LibrePhotosOS - -An out-of-the-box [Raspberry Pi](http://www.raspberrypi.org/) distro with [LibrePhotos](https://github.com/LibrePhotos) installed. You can find the [repository from guysoft here](https://github.com/guysoft/LibrePhotosOS). - -### 🌟 Features - -- [LibrePhotos](https://github.com/LibrePhotos) -- Automatically mounts hard drive attached to Pi and links librephotos to the "librephotos" folder on that drive - -### πŸ—ΊοΈ Where to get it? - -You can use the [pi-imager](https://github.com/guysoft/pi-imager/releases) community Raspberry Pi imager here, unofficial section. - -Or download directly from the official mirror [here](http://unofficialpi.org/Distros/LibrePhotosOS) - -### πŸš€ How to use it? - -- Unzip the image and install it to an SD card [like any other Raspberry Pi image](https://www.raspberrypi.org/documentation/installation/installing-images/README.md) -- Configure your Wi-Fi by editing `LibrePhotosOS-wpa-supplicant.txt` at the root of the flashed card when using it like a flash drive -- Boot the Pi from the SD card -- Hostname is `librephotosos` (not `raspberrypi` as usual), username: `ubuntu` and initial password is: `ubuntu` -- After a few minutes, you should be able to access `http://librephotosos.local/` or `http://librephotosos.lan/` -- You can change the settings of the docker settings are located at `/boot/docker-compose/librephotos/` - -### βœ”οΈ Requirements - -- Raspberry Pi 3 and above, needs a 64bit capable pi -- 2A power supply - -### πŸ”¨ Developing - -Go to the [repository from guysoft](https://github.com/guysoft/LibrePhotosOS) to find more information about it. diff --git a/docs/installation/standard-install.md b/docs/installation/standard-install.md index 7adfee5..2a02b2f 100644 --- a/docs/installation/standard-install.md +++ b/docs/installation/standard-install.md @@ -53,20 +53,3 @@ docker-compose down docker-compose pull docker-compose up -d ``` - -## Docker - -Overview of the folders that can be mounted as volumes: - -- `/var/lib/librephotos/photos/` your actual photos -- `/var/lib/librephotos/data/protected_media/` thumbnails -- `/var/log/librephotos/` logs -- `/var/lib/postgresql/data/` database - -Replace the first part that is in brackets with the actual location of the folder: - -```sh -sudo docker run -v :/var/lib/librephotos/photos/ -v :/var/lib/librephotos/data/protected_media -v :/var/log/librephotos/ -v :/var/lib/postgresql/data -p 3000:80 -d reallibrephotos/singleton -``` - -If you run into any permission issue, add `-e FIXPERMISSIONS=true` or change the permission to allow read/write/execute your photo folder to other users. diff --git a/docs/installation/unraid.md b/docs/installation/unraid.md index f4dadc6..80327dd 100644 --- a/docs/installation/unraid.md +++ b/docs/installation/unraid.md @@ -4,10 +4,6 @@ excerpt: "How to install LibrePhotos on Unraid using Docker Compose." sidebar_position: 3 --- -## Community App - -We are now also a [community app](https://unraid.net/community/apps?q=LibrePhotos#r) based on the singleton image. - ## Docker Compose You have to download docker-compose. You can add the following to your /boot/config/go file to make sure it's always available: