I’m a new PhotoStructure user so please excuse me for this novice question. I’m currently using Photoview on Synology but feel Photoview a little too heavy, hence the migration. Anyway, I was able to run Photostructure on my Synology , but it doesn’t find any photos. The home page simply says “Your library is currently empty.” I also checked the FAQ article here but nothing matches my case. Any hint on where I should look at? Thanks in advance!
Hardware and Software Platform
Synology DS220+, DSM 7
Docker Setup
- I mounted an empty folder to
/ps/library
as the starting point. - I mounted my actual image folder to
/images
, and read-only
PhotoStructure Version
I tried both latest
and alpha
. Both have this problem.
PhotoStructure Configuration
Select key entries as follows:
copyAssetsToLibrary = false
scanAllDrives = false
scanPaths = [
"/images"
]
Docker Logs
Nothing super interesting…
2021-10-09 00:48:56,stdout, ...terminated.
2021-10-09 00:48:55,stdout,PhotoStructure library db has been backed up to /ps/library/.photostructure/models/backup.
2021-10-09 00:48:54,stdout,Shutting down PhotoStructure...
2021-10-09 00:48:54,stdout,"Session terminated, terminating shell...
2021-10-09 00:48:54,stdout,
2021-10-09 00:40:28,stdout,PhotoStructure is ready: <http://localhost:1787/>
2021-10-09 00:40:28,stdout,Your library is at /ps/library
/ps/logs
A bunch of errors but I’m not sure if they are relevant…
{"ts":1633740066823,"l":"error","ctx":"DbRequest","msg":"prep() failed","meta":{"sqlQuery":{"method":"select","options":{},"timeout":false,"cancelOnTimeout":false,"bindings":["enqueueAssetUpdates",3,"file:///"],"sql":"select * from `Operation` where `completedAt` is not null and `name` = ? and `version` = ? and `value` = ?"}}}
{"ts":1633740066824,"l":"error","ctx":"DbRetries","msg":"Caught db error. Not retrying.","meta":{"cause":{}}}
{"ts":1633740066827,"l":"error","ctx":"DbRequest","msg":"Error: DbRequest prep() failed {\"sqlQuery\":{\"method\":\"select\",\"options\":{},\"timeout\":false,\"cancelOnTimeout\":false,\"bindings\":[\"enqueueAssetUpdates\",3,\"file:///\"],\"sql\":\"select * from `Operation` where `completedAt` is not null and `name` = ? and `versio…\nSqliteError: no such table: Operation\n at Database.prepare (/ps/app/node_modules/better-sqlite3/lib/methods/wrappers.js:5:21)\n at /ps/app/bin/sync.js:9:707229\n at d.getOrSet (/ps/app/bin/sync.js:9:45413)\n at t.DbRequest.prep (/ps/app/bin/sync.js:9:707177)\n at /ps/app/bin/sync.js:9:707527","meta":{"method":"select","options":{},"timeout":false,"cancelOnTimeout":false,"bindings":["enqueueAssetUpdates",3,"file:///"],"sql":"select * from `Operation` where `completedAt` is not null and `name` = ? and `version` = ? and `value` = ?"}}
{"ts":1633740066832,"l":"error","ctx":"DbRequest","msg":"prep() failed","meta":{"sqlQuery":{"method":"select","options":{},"timeout":false,"cancelOnTimeout":false,"bindings":["applyNewTagger","fs",1],"sql":"select * from `Operation` where `completedAt` is not null and `name` = ? and `value` = ? and `version` = ?"}}}
{"ts":1633740066832,"l":"error","ctx":"DbRetries","msg":"Caught db error. Not retrying.","meta":{"cause":{}}}
{"ts":1633740066834,"l":"error","ctx":"DbRequest","msg":"Error: DbRequest prep() failed {\"sqlQuery\":{\"method\":\"select\",\"options\":{},\"timeout\":false,\"cancelOnTimeout\":false,\"bindings\":[\"applyNewTagger\",\"fs\",1],\"sql\":\"select * from `Operation` where `completedAt` is not null and `name` = ? and `value` = ? and `v…\nSqliteError: no such table: Operation\n at Database.prepare (/ps/app/node_modules/better-sqlite3/lib/methods/wrappers.js:5:21)\n at /ps/app/bin/sync.js:9:707229\n at d.getOrSet (/ps/app/bin/sync.js:9:45413)\n at t.DbRequest.prep (/ps/app/bin/sync.js:9:707177)\n at /ps/app/bin/sync.js:9:707527","meta":{"method":"select","options":{},"timeout":false,"cancelOnTimeout":false,"bindings":["applyNewTagger","fs",1],"sql":"select * from `Operation` where `completedAt` is not null and `name` = ? and `value` = ? and `version` = ?"}}
{"ts":1633740066841,"l":"error","ctx":"DbRequest","msg":"prep() failed","meta":{"sqlQuery":{"method":"select","options":{},"timeout":false,"cancelOnTimeout":false,"bindings":["forceRestartSync"],"sql":"select * from `Operation` where `completedAt` is null and `name` = ? order by `createdAt` asc"}}}
{"ts":1633740066841,"l":"error","ctx":"DbRetries","msg":"Caught db error. Not retrying.","meta":{"cause":{}}}
{"ts":1633740066843,"l":"error","ctx":"DbRequest","msg":"Error: DbRequest prep() failed {\"sqlQuery\":{\"method\":\"select\",\"options\":{},\"timeout\":false,\"cancelOnTimeout\":false,\"bindings\":[\"forceRestartSync\"],\"sql\":\"select * from `Operation` where `completedAt` is null and `name` = ? order by `createdAt` asc\"}}: Sq…\nSqliteError: no such table: Operation\n at Database.prepare (/ps/app/node_modules/better-sqlite3/lib/methods/wrappers.js:5:21)\n at /ps/app/bin/sync.js:9:707229\n at d.getOrSet (/ps/app/bin/sync.js:9:45413)\n at t.DbRequest.prep (/ps/app/bin/sync.js:9:707177)\n at /ps/app/bin/sync.js:9:707527","meta":{"method":"select","options":{},"timeout":false,"cancelOnTimeout":false,"bindings":["forceRestartSync"],"sql":"select * from `Operation` where `completedAt` is null and `name` = ? order by `createdAt` asc"}}