Page tree
Skip to end of metadata
Go to start of metadata

Java Version

We stronlgy recommend using a Java-Version from Oracle because PicApport is running very slow with OpenJDK.


Installation

Raspberry Pi Installation

  1. Installing operating system images:

    1. https://www.raspberrypi.org/documentation/installation/installing-images/

  2. Getting started with your Raspberry Pi (https://www.raspberrypi.org/help/quick-start-guide/)
    1. Open SSH-Client for example Putty
    2. Type in the IP of the Rasperry
    3. Sign in with user pi and password raspberry
    4. For a quick setup type sudo raspi-config (https://www.raspberrypi.org/documentation/configuration/raspi-config.md)


PicApport Installation with dpkg -i (Recommended)

  1. Preparation
    1. Install Java: sudo apt-get install oracle-java8-jdk
    2. Install Screen: sudo apt-get install screen

  2. Download of the PicApport package
    1. Change directory to home dir: cd ~
    2. Download PicApport via Terminal: wget https://www.picapport.de/prepare_download.php?dlfile=7-0-05%2fpicapportpi.deb -O picapportpi.deb 
    3. Also you can download PicApport  here: https://www.picapport.de/en/photo-server-download.php .
      1. Upload the Package to the Raspberry via WinSCP (or some other FTP-Client)

  3. Installation 
    1. Install PicApport: sudo dpkg -i picapportpi.deb


  4. Run PicApport
    1. To start the Application run: /etc/init.d/picapport start
    2. The first start of the Server will take 2-3 minutes. 
    3. Open a browser and fill in the IP of the Raspberry.
    4. PicApport will run automatically when booting the Raspberry.


PicApport Installation without package.

here: .Installation of PicApport under Linux 

start with step 2 of 3

Before you start PicApport we recommend changing the StartPicApport.sh-File to:

#!/bin/bash
java -Xms256m -Xmx512m -Duser.language=en -Duser.home=/opt/picapport -jar /opt/picapport/picapport-headless.jar




Sample configurations

 Sample configuration PI 3B+ with 44.000 Fotos

orientdb.properties (im .picapport-Verzeichnis)

  • storage.useWAL=false

picapport.properties

  • server.port=80
  • server.ssl=false
  • user.log.access=true
  • gui.enabled=false
  • robot.root.0.id=Fotos
  • robot.root.0.isuploadroot=true
  • robot.root.0.path=/home/pi/NAS/Bilder
  • robot.rescan.minutes=999
  • client.timeout.long.millis=100000
  • client.folder.sort=name
  • plugin.shadow.path=/PicApportShadowFiles

StartPicapport.sh

  • java -Xms512m -Xmx512m -XX:MaxDirectMemorySize=256m -Dstorage.diskCache.bufferSize=256 -Duser.language=de -Duser.home=/opt/picapport -jar /opt/picapport/picapport-headless.jar

Java Version

  • java version "1.8.0_221"
  • Java(TM) SE Runtime Environment (build 1.8.0_221-b11)
  • Java HotSpot(TM) Client VM (build 25.221-b11, mixed mode)