Damselfly icon indicating copy to clipboard operation
Damselfly copied to clipboard

Won't run - "Damselfly Webserver terminated with exception: Function not implemented"

Open yllekz opened this issue 2 years ago • 1 comments

The Docker container for Damselfly won't run on macOS, even via Rosetta x86 emulation. See below logs.

Platform: Apple M1 with Docker Desktop

docker-compose:

---
version: "2.1"
services:
  damselfly:
    image: webreaper/damselfly:latest
    container_name: damselfly
    restart: unless-stopped
    volumes:
    - "/path/to/config/damselfly:/config"
    - "/path/to/config/damselfly/thumbs:/thumbs"
    - "/path/to/Photos:/pictures:ro"
    ports:
      - 6363:6363/tcp
Preparing to start Damselfly....

  ./Damselfly.Web /pictures --config=/config --thumbs=/thumbs 

[02:29:06.050-0001-INF] === Damselfly Log Started ===

[02:29:07.136-0001-INF] Log folder: /config/logs

[02:29:07.165-0001-INF] LogLevel: Information

[02:29:07.227-0001-INF] Initialised thumbnails storage at /thumbs

[02:29:07.230-0001-INF] Startup State:

[02:29:07.261-0001-INF]  Damselfly Ver: 2.9.6.0

[02:29:07.291-0001-INF]  CLR Ver: 6.0.2

[02:29:07.305-0001-INF]  OS: Unix 5.10.104.0

[02:29:07.314-0001-INF]  CPU Arch: X64

[02:29:07.322-0001-INF]  Processor Count: 4

[02:29:07.328-0001-INF]  Read-only mode: False

[02:29:07.329-0001-INF]  Synology = False

[02:29:07.330-0001-INF]  Indexing = True

[02:29:07.332-0001-INF]  ThumbGen = True

[02:29:07.334-0001-INF]  Images Root set as /pictures

[02:29:07.334-0001-INF]  TieredPGO Enabled=True

[02:29:07.338-0001-INF]  Sqlite Database location: /config/db/damselfly.db

[02:29:09.157-0001-INF] Running Sqlite DB migrations...

[02:29:22.104-0001-INF] Running Sqlite DB optimisation...

[02:29:22.402-0001-INF] DB optimisation complete.

[02:29:22.425-0001-INF] Full-text search index rebuilt.

[02:29:22.482-0001-INF] Initialising Damselfly...

[02:29:22.994-0001-INF] Damselfly Webserver terminated with exception: Function not implemented

[02:29:22.998-0001-INF] Shutting down.

yllekz avatar May 11 '22 02:05 yllekz

I currently don't provide a docker image for Windows or Mac, so if you want to run Damselfly you'll need to use this method:

https://github.com/Webreaper/Damselfly/blob/master/docs/Installation.md#can-i-run-damselfly-without-docker

You can track progress here: https://github.com/Webreaper/Damselfly/issues/295

Webreaper avatar May 13 '22 13:05 Webreaper