User Tools

This is an old revision of the document!


Damselfly

Damselfly

https://github.com/Webreaper/Damselfly/releases/download/4.1.0/damselfly-server-linux-4.1.0.zip

Non-containerized install instructions here

Create user and make it group photos:

groupadd photos
useradd -d /data/daemons/damselfly -m -g photos damselfly
su - damselfly
wget https://github.com/Webreaper/Damselfly/releases/download/4.1.0/damselfly-server-linux-4.1.0.zip
mkdir damselfly
cd damselfly
unzip damselfly-server-linux-4.1.0.zip

(the release zip file requires a sub-folder to store neatly all files)

In order for Damselfly to work you need to install some dependencies, which can be found in the Docker file.

There you go:

emerge -s media-fonts/liberation-fonts dev-dotnet/libgdiplus media-gfx/dcraw media-libs/exiftool

The supposed libgmp1 dependency is satisfied by adding openmp useflag to GCC (see here) which should be enabled by default in Gentoo.

Since Damselfly uses INotify triggers, you need to increase defaults or it will be unable to monitor large collections of photos (see here.

Create the file /etc/sysctl.d/damselfly.conf:

fs.inotify.max_user_instances=524288

And for it to be applied without a reboot:

 sysctl -p /etc/sysctl.d/damselfly.conf

Start:

./Damselfly.Web /path/to/my/photos

This website uses technical cookies only. No information is shared with anybody or used in any way but provide the website in your browser.

More information