Unraid setup questions

Hello everyone

I’m starting with PhotoStructure using Docker on my Unraid server. For a first pass I just want to scan all the drives and build the database. There are a lot of files, about 1.3m, to process.

After about a week, the cache was filling up so I paused the sync and mover cleared the cache. I restarted and it continued no problem and cache has not been filling up for the week or two since then.

Today I was looking at some of the variables and restarted it again. However the file count of remaining files has jumped from 500k left to process to 700k.

I’m looking for the database on the drive to take a look.

So I guess I have two questions:

  • what could have caused the jump in files left to process
  • where do I find the database? I’ve looked in the directory that shows in docker but I don’t find it there

Happy for any help!

Welcome to PhotoStructure, @tim_hughes !

For the next month, I’d recommend using the beta tag, v2024.3. A new release is coming soon.

By default, the library database and PhotoStructure caches all live in the /ps/library bind mount volume.

https://photostructure.com/faq/library/#where-are-my-librarys-database-settings-sync-reports-and-preview-files

As far as what constitutes 500k vs 800k, it could be due to different file filter settings (but only if you changed them!)

If you’re using a beta build you can open and compare the sync reports to see what files are getting skipped over (and why), as well as what files are getting imported.

Hi Matthew, thank you for the warm welcome!

I’ve found the database is in the library location (not sure why but it had disappeared from there when I posted the question), I’ve updated to the beta version, and the sync is running again. I’ll check back in May :slight_smile:

It’s looking great for what I need so likely to be moving to plus, thanks for creating this and helping me untangle 10+ years of poor inventory management.

So I took a peak and see a number of problems with the upgrade. Here is what the “health check page” says:

Errors encountered during setup:

Upgrading database (20231116_rebuild_tag_asset_counts): failed: Migration 20231116_rebuild_tag_asset_counts timed out.¹


Migrating the models db failed: Migration 20231116_rebuild_tag_asset_counts timed out.¹

Any ideas?

Seems it needed a day or two to migrate. It’s scanning again now.

Glad it’s working for you! Sorry I haven’t been around, but feel free to “@” me if you run into any problems… I’ve got a pretty good grasp of Photostructure running on Unraid and am happy to help with any problems!

@tkohhh thank you! it is functioning but the library has moved to the tmp folder and it’s taking a very long time due to the volume. As my priority at the moment is clean-up I’ve paused it for now and instead created my own scripts to scan the drive and create a much simpler database to guide manual clean-up. I’m planning on a fresh restart once I’ve made inroads into the clean-up.

1 Like