Currently, these are in a early stage; some bugs may exist. If you find any, please log an issue
These are community maintained scripts to allow for a local install. If you have implemented an improvement, please consider opening up a pull request.
Script is not adopted to remote postgresql server.
Architecture: amd64
- Ubuntu 20.04.x LTS (server)
- Ubuntu 21.04 (desktop)
- Debian
Install git:
sudo apt install git -y
Execute the following commands as root. Edit the begining of the script, and execute. This will create systemuser 'librephotos', creates directories, installs necessary software, creates database and automaGically 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, must edit one of the /etc/nginx/nginx.conf
or /etc/nginx/sites-available/librephotos
. There are four places `alias /var/lib/librephotos.
No cheking Apache or any other web server exsistense on system. Please adopt the script. Easiest way to remove all lines, releated with nginx, and create virtual host in Apache.
nano /etc/librephotos/librephotos-backend.env
Installed systemd services:
librephotos-image-similarity.service
librephotos-thumbnail.service
librephotos-worker.service
librephotos-backend
librephotos-frontend
As root you can use
librephotos-cli build_similarity_index
librephotos-cli clear_cache
docker run -v photos:/var/lib/librephotos/photos/ -v thumbnails:/var/lib/librephotos/data/protected_media -v logs:/var/log/librephotos/ -v db:/var/lib/postgresql/data -p 3000:80 reallibrephotos/singleton
- remote / local user permissions to write to the photos folder (samba, webdav, nextcloud, nfs)
- android sync (client, synthing, webdav)