Database error

So, there are two issues here:

  1. The error is cryptic. For background, I use the Heartbeat table to verify that database reads and writes work. Version 1 didn’t wrap this error properly with a “hey, I can’t write to your database, is that filesystem OK?”. I fixed this in v2 (which is still in alpha).

    What version of PhotoStructure are you running? (You can see this in the “about” page)

  2. The underlying disk I/O problem–if you’re running docker, I actually recommend you use the :alpha build–there are a ton of bugfixes and new feature in v2.1. I suspect the error is coming from a bug in v1.1’s handling of database replicas–more details are here:

(TL;DR: if your library is on a local disk, set PS_FORCE_LOCAL_DB_REPLICA=false in your docker container configuration)