mrm

Members
  • Posts

    26
  • Joined

  • Last visited

Posts posted by mrm

  1. Howdy! I'm the author of PhotoStructure.

    • Make sure you're pulling an alpha image (photostructure/server:alpha) (the alpha build is actually fairly stable: I've been stuck on "alpha" because I only use "stable" when all supported platforms are good, and macOS Gatekeeper is currently giving me attitude)
    • Crank up log level to debug by setting PS_LOG_LEVEL=info (or debug) as an environment variable in your unraid template. You can then cat and tail logs using these tools.
    • Check PhotoStructure's new health check page: it's a new nav menu item, or go directly to http://192.168.1.129:1787/health (assuming I got your LAN IP address correct)

    Note that I only saw this from a google search alert -- if you can, please hop into our official discord or forum (whatever you prefer) and I can help you there.

     

    Cheers!

  2. 1 hour ago, Profezor said:

    Error: code EACCES: EACCES: permission denied, open '/ps/config/settings.toml'

     

    Howdy, thanks for trying out PhotoStructure!

     

    I suspect you may be missing a bind mound for `/ps/config`. PhotoStructure v1.1 requires several bind mounts (which the template should guide you through), but more details about what's going on is here: https://photostructure.com/server/photostructure-for-docker/#docker-volume-setup

     

    Note that the next release will only require one bind mount, which should simplify this setup. More details here: https://forum.photostructure.com/t/new-easy-mode-for-docker-coming-in-v2-1/1278

  3. 2 hours ago, shrekfx said:

    Question regarding the setup.  Reading the instructions, the /ps/tmp location.  If I have the /ps/ location for the general files on my array, how do i map the /ps/tmp to a ssd cache drive?

    Click "show more settings...", and click "edit" by "Temp/Scratch disk". Click "Host Path" and pick a directory your SSD (mine is set to /mnt/cache/appdata/photostructure/tmp/ )

     

    Feel free to hop into the PhotoStructure#unraid discord room if you want more real-time help!

  4. 37 minutes ago, shrekfx said:

    How is this for photo storage?

     

    It's designed for photo and video storage, and handles most image and video types (including JPEG, most RAW formats, and tons of different video formats). Truth be told, I made it to clean up my own mess.

     

    If she's using other software already, know that I've tried to make it interoperable (especially with XMP sidecars and Google Takeouts).

     

    37 minutes ago, shrekfx said:

    Looking at possibly using this vs nextcloud maybe??

     

    Nextcloud provides as a folder view of your files.

     

    PhotoStructure is designed specifically to intelligently deduplicate and organize photos and videos, with instant browsing of photos and videos (by date, filesystem, type, keywords, and albums).

     

    37 minutes ago, shrekfx said:

    Wife is a photographer and have a good number of images...

     

    My own library is tracking 500k+ files (I have a lot of duplicate files, and ~300k unique "assets"). Many other users have similarly sized libraries.

  5. 8 minutes ago, Cheeshead said:

    Tried upgrading with the :beta tag but would not start. Is this not supported yet?

     

    I do have several users successfully running the beta on UnRaid: I just finished backing up everything from my FreeNAS box and am in the middle of converting it to an UnRAID box, specifically to help support y'all.

     

    I suspect the issue may be due to opened-by locks from an ungraceful shutdown, or auth issues from the new UID/GID code.

    • Thanks 1
  6. 1 hour ago, seekis said:

    I have the installed and enabled ALL available Dev Tools and Nerd Tools, but still nada. I am not sure what to do next.

    Sorry about that! I've only validated those build instructions on Ubuntu and macOS.

     

    I actually changed how HEIF support is handled in the next version of PhotoStructure: you'll just need to install the libheif-examples package, which provides the heif-convert tool:

     

    https://forum.photostructure.com/t/heic-support-for-docker-image/78/4

     

    (I'll add installation instructions for Unraid in the linked page soon).

  7. 1 hour ago, Vaslo said:

    So when I set it to automatic, it finds my "/pictures" folder without issue.  It also scans the /ps/library folder (as warned in the settings).  This makes sense as I am putting the files in the /mnt/user/Photos/, and that is what I have mapped to be /pictures in the Docker Settings.

     

    However when I change it from Automatic to Manual Scan of only /mnt/user/Photos/, it no longer tries to scan the "/pictures" folder, which I beileve is /mnt/user/Photos/.  Should I be using the container's folders in the settings to force automatic?  Does this manual function NOT search the unRaid hierarchy?

     

    Thanks.

    PhotoStructure from within docker can only access files and directories that are bind-mounted into the container, so if you want it to see your stuff, you need to add a bind mount to that stuff.

     

    I may be misunderstanding what you're asking, though?

  8. 48 minutes ago, Vaslo said:

    I am also having similar issues that others are having.  So far:

     

    -Installed the Docker from the App Store

    -In the settings I asked it to manually load from one folder, namely /mnt/user/Photos

    -When using windows, this "Photos" folder is in the same folder as other things like "flash"

    -I put both movies (.mov) and photos (.jpg).  For testing I only have one picture and about a dozen movies

    -I go to the web UI through unRaid and get to the main page.  It says scanning and never changes even after a few hours (12 movies and 1 pic should be quick right?)

    -If I stop the scan I just get a simple page that says "Your library is currently empty"

    -If I rescan I still get nothing

     

    I've done about a dozen other apps that require media from other folders (Plex, Booksonic, Calibre, etc) with no issues. Any thoughts here?  I thought this would be pretty easy but no clue why this won't detect my media in that single folder.

    Does /mnt/user/Photos have a .nomedia file in it, perhaps? PhotoStructure respects those: https://photostructure.com/faq/how-to-hide-directories/

     

    If not, I'd echo my previous reply:

     

  9. On 12/16/2020 at 10:21 PM, thespooler said:

    it doesn't seem to support .HEIC files out of the box

    Nope, it doesn't, but you can compile in support. Note that Live Photos aren't supported yet (ironically, due to lacking video control support in Safari that I need to figure out a workaround for).

     

    Edit: The next version will have improved HEIC support.

     

    On 12/16/2020 at 10:21 PM, thespooler said:

    scroll ALOT to hit 2001

    Oof, yeah, I actually just switch to tiny thumbnails (which isn't a fix, I know).

     

    I'm going to add different "views" of child tags. One will be iconic, so subdirectories with more than a handful of direct children are more comfortably navigable.

    On 12/16/2020 at 10:21 PM, thespooler said:

    I had hoped my original directory structure would be keyword tagged to the files

    That is a reasonable hope! I've actually added "browse by filesystem" to the next release, which gets you some of the way there. I've also added Album extraction (if you have Google Takeouts, or have used something that exported IPTC or XMP album tags).

     

    I think with the addition of new tags that are essentially "saved searches", you'll get the Cuba browsing experience that you deserve.

     

    On 12/16/2020 at 10:21 PM, thespooler said:

    I don't care about Camera or Lens as categories, so I would want settings to turn them off.

     

    Sure: set the `excludedRootTags` library setting to include "Camera" and "Lens". I'm making the navigation bar dynamically include or exclude root tags in the next version.

     

    Thanks for your feedback!

    • Like 1
  10. 1 hour ago, CEH1934 said:

    If PhotoStructure is running on the UNRAID server, on my iMac (10.15.7) do I export photos from Photos and load them to a share folder, that PhotoStructure accesses?

    That would certainly work. My NAS has a full backup of my computer, so it's local, but importing over a share (and even storing your library on a share) is totally supported.

     

    1 hour ago, CEH1934 said:

    OR, for an UNRAID installation, does some of PhotoStructure also run on my iMac?

    No: PhotoStructure just needs filesystem access to your files, and that filesystem can be local disk or remotely mounted (or even a FUSE mount).

     

    1 hour ago, CEH1934 said:

    Ideally, I want to get rid of the Photos library, freeing up the space. But I think PhotoStructure wants to sync with the photo source?

    You'll want to copy those assets to your UnRAID box, then (and make sure you have backups of everything before your delete anything!

     

    That copy can happen by you running `rsync`, or by PhotoStructure running automatic organization. You may want to verify all the files you expected to get copied [_actually_ got copied](https://photostructure.com/server/tools/#which-files-in-a-directory-didnt-get-imported).

    • Like 1
  11. 1 hour ago, bar1 said:

    ok noted...what else can i check?

    as i mentioned...

    i am just getting this :

    /pictures

    Processing

     

    and your library is empty

    I'd set logging to "debug" and then kick off another sync. You can also do this by hand by shelling into your container and running "photostructure sync --force --debug" (possibly pipe though less, it's quite verbose!)

     

    Or send me the logs and I can take a look: https://photostructure.com/faq/error-reports/#how-to-manually-send-your-logs

     

    Also, have you marked anything with NoMedia? https://photostructure.com/faq/how-to-hide-directories/

     

    Also know that there are several filters applied to keep cruft out of your library (but these filters are all configurable): https://photostructure.com/faq/why-is-my-file-missing/

     

     

  12. 1 hour ago, jonathanm said:

    automatic shutdowns need to be handled gracefully and with as little delay as possible

    Agreed. PhotoStructure already does periodic maintenance while running, so I can skip some of this work on docker shutdown, but it still needs time to copy the db replica back to the library (which should take milliseconds, but sometimes disks are spun down and it takes a while to copy it over). I'll make this change in the next version.

     

    Until then, though, I'll check the docs to see if I can extend the shutdown grace period in the template

  13. 18 hours ago, Zerreth said:

    Upon reboot, photostructure won't start anymore:

    
    ... Error: Library is already opened ...

     

    This will happen if shutdown isn't graceful. PhotoStructure does some housekeeping at shutdown time, and once it's all done, the opened-by lock is removed. https://photostructure.com/faq/how-to-start-and-stop-photostructure/#why-does-it-take-so-long-to-shut-down

     

    I wonder if there's something I can patch in the template to tell Unraid to be patient with shutdown? Pointers would be great (I've been using and writing Unix software for 20+ years, but I'm an UnRAID n00b).

  14. Also: anyone having issues with their installation, or if you find anything else buggy, odd, or confusing: first off, thanks for giving PhotoStructure a spin, and sorry if it's misbehaving for you: please send me an email with details (ideally, with):

     

    1. Relevant details about your setup

    2. What you did

    3. What you expected to happen

    4. What actually happened

  15. On 11/25/2020 at 9:22 AM, eds said:

    Are you required to sign up or is installing the docker enough?

    I only ask for email so I can broadcast security updates or large version changes. It's totally optional.

     

    You will have to accept the EULA as part of the welcome process. PhotoStructure is commercial software.

    On 11/25/2020 at 9:22 AM, eds said:

    Any chance a video player function gets added?

    Automatic video transcoding is already built-in. Please email me if it (or anything else!) doesn't work. support [at] photostructure.com

     

    On 11/25/2020 at 9:22 AM, eds said:

    How much is that going to cost? And is it a one-time charge or reoccurring cost?

    This has all the details: https://photostructure.com/about/v-0-9/#-this-_really-will_-be-our-last-beta-version

  16. On 11/19/2020 at 6:17 AM, Ford Prefect said:

    Before you start tinkering with this, maybe some info on "how unraid works under the hood" is in order...

     

    ...due to the unique architecture in unRaid, there is no need to find out if there is traffic or sync events by the app and then have the app take action accordingly.

     

    Ah. I think it might be simpler for health checks to just be disable-able, then. I'll add those settings in the next alpha release. Thank you for your help!

     

     

    On 11/19/2020 at 7:34 PM, [email protected] said:

    Quick one, does anyway understand this error message...

    
    {"ts":1605842460524,"l":"error","ctx":"SyncFileService","msg":"isUnhealthy()","meta":{"result":true,"ok":["Library and support directories are OK","RSS memory used by sync-file (730 MB) is OK"],"warn":[],"bad":["Used memory used by sync-file (560 MB) is high"],"fail":[]}}

    I do have an extremely large library but never get further than 100k images imported. My unraid machine has 32gb of ram.

    Massive thanks in advance.

     

    PhotoStructure runs a cluster of sync-file processes (both to isolate memory leaks and to support concurrent file imports), so those messages shouldn't cause the import to break: just for that process to be recycled (and a new sync-file to be spawned).

     

    If your sync is getting "stuck", could you follow these steps and email me your logs?

     

     

    11 hours ago, Naonak said:

    There's no upload feature

    I currently recommend to my beta users that they use a sync tool on their phone.

    11 hours ago, Naonak said:

    no sync feature

    Your PhotoStructure library should mirror what you've got on your filesystem. See https://photostructure.com/about/v-0-9/#-scan-path-improvements for details.

    11 hours ago, Naonak said:

    no way to organize files

    Perhaps you missed this? https://photostructure.com/getting-started/automatic-library-organization/

     

    If you meant keyword or other metadata editing, then yes, that is missing, and on my todo list.

     

  17. On 11/17/2020 at 2:27 PM, SohailS said:

    This container stops my drives going to sleep is there anyway to stop this?

    PhotoStructure periodically runs health checks that include a bunch of system and internal diagnostic tests, including round-trip database writes, which, unfortunately, will keep your cache volume and library volume spinning.

     

    I guess if there hasn't been web traffic for, say, N minutes, and there hasn't been a sync for M minutes, it could go into "hibernation" mode?

     

    I'll think about this some more, it should be doable.

    • Like 1