Author Topic: live ingest  (Read 1028 times)

Offline Matthew

  • Newcomer
  • *
  • Posts: 15
  • Cardiff based Press and PR photographer
    • View Profile
    • matt-horwood.com
live ingest
« on: June 10, 2017, 11:28:06 am »
Hello,

Iím running Photo Mechanic Version 5.0, build 18359 (5034d39) on an Intel Mac (10.12)

Iím having a few sporadic issues with the Live Ingest feature in Photo Mechanic and was wondering if anyone could help?

I have my home server configured to run a FTP service (Mac OS Server) which is set up receive pictures from my wifi-enabled cameras. These are sent using a mobile broadband connection when Iím out in the field.

Within Photo Mechanic, the Live Ingest source folder is set to be the root FTP folder so when a picture is seen itís captioned, renamed and moved on.

The problem I am having is that occasionally the Live Ingest feature stops processing the JPGs and a backlog of files can build up in the Live Ingest source folder. To fix this I need to restart the Live Ingest process which clears the backlog and the files are moved.

I am only sending .JPG files. I have attached a screenshot of my Live Ingest settings page.

Is there any reason this is happening?

Thanks in advance,

Matthew
Press & PR photographer / matt-horwood.com

Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 17926
    • View Profile
    • Camera Bits, Inc.
Re: live ingest
« Reply #1 on: June 11, 2017, 07:02:19 pm »
I'd like to see your Photo Mechanic log.  In Photo Mechanic go to the Help menu and choose "Reveal Support Data..." and moments later a Finder window will come forward with the zipped log file selected.  Use the 'Attachments and other options' link when you're composing your reply to this message and there you'll be able to upload your zipped PM log file.

Thanks,

-Kirk

Offline Matthew

  • Newcomer
  • *
  • Posts: 15
  • Cardiff based Press and PR photographer
    • View Profile
    • matt-horwood.com
Re: live ingest
« Reply #2 on: June 12, 2017, 12:23:00 am »
Here you go. The problem happened last around June 2, 3 and 4.

Files were named MH_030617_Champions_League_Festival
« Last Edit: June 12, 2017, 12:24:47 am by Matthew »
Press & PR photographer / matt-horwood.com

Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 17926
    • View Profile
    • Camera Bits, Inc.
Re: live ingest
« Reply #3 on: June 27, 2017, 03:21:53 pm »
Matthew,

Here you go. The problem happened last around June 2, 3 and 4.

Files were named MH_030617_Champions_League_Festival

Looks to me like your source folder was a "Dropbox" which usually means that files can be created and written there, but cannot be read from there.  I don't know if your "/Volumes/MEDIA/Dropbox/Pictures/LIVE/" is really set up that way, but I can tell that Live Ingest is having trouble accessing files at that location.

-Kirk

Offline Matthew

  • Newcomer
  • *
  • Posts: 15
  • Cardiff based Press and PR photographer
    • View Profile
    • matt-horwood.com
Re: live ingest
« Reply #4 on: August 13, 2017, 01:17:07 pm »
Hi Kirk,

Thanks for looking into this.

Changing the Live Ingest source location to a location outside of the Dropbox has fixed this.
Press & PR photographer / matt-horwood.com

Offline Matthew

  • Newcomer
  • *
  • Posts: 15
  • Cardiff based Press and PR photographer
    • View Profile
    • matt-horwood.com
Re: live ingest
« Reply #5 on: November 27, 2017, 03:15:08 pm »
Hi Kirk,

Sorry to bring this up again but I'm still having this problem - despite the Live Ingest source location now being outside of a Dropbox folder.

Since my last message I've upgraded to High Sierra and as Apple have ditched FTP in Mac OS Server I'm now running Crush FTP.

The FTP location where pictures are received is /MEDIA/FTP and the destination is within the Dropbox folder at /MEDIA/Dropbox/Pictures/Live. This is a SSD drive using the new Apple filesystem.

I can't understand what is causing PM's ingest feature to seize up. I'm not always sending from areas with good signal and so it's possible that on occasion the FTP transfer from the camera will stop and then start again shortly after... could this be the issue?

Press & PR photographer / matt-horwood.com

Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 17926
    • View Profile
    • Camera Bits, Inc.
Re: live ingest
« Reply #6 on: November 27, 2017, 04:53:01 pm »
Hi Kirk,

Sorry to bring this up again but I'm still having this problem - despite the Live Ingest source location now being outside of a Dropbox folder.

Since my last message I've upgraded to High Sierra and as Apple have ditched FTP in Mac OS Server I'm now running Crush FTP.

The FTP location where pictures are received is /MEDIA/FTP and the destination is within the Dropbox folder at /MEDIA/Dropbox/Pictures/Live. This is a SSD drive using the new Apple filesystem.

I can't understand what is causing PM's ingest feature to seize up. I'm not always sending from areas with good signal and so it's possible that on occasion the FTP transfer from the camera will stop and then start again shortly after... could this be the issue?

If the access control lists of the Dropbox folder are inherited by the Pictures/Live folder then they're essentially dropbox folders too.  Is there a reason you need dropbox semantics?

As for stalled uploads, Live Ingest should patiently wait for the images to finish.  But if it can't read them then it isn't going to work.  Live Ingest must be allowed to read directories, write directories, and read files in order to function correctly.

-Kirk

Offline Matthew

  • Newcomer
  • *
  • Posts: 15
  • Cardiff based Press and PR photographer
    • View Profile
    • matt-horwood.com
Re: live ingest
« Reply #7 on: November 28, 2017, 06:23:46 am »
Hi Kirk,

Just to be clear, the Dropbox folder is only now being used as a destination - the source folder is outside the Dropbox folder.

Yes, itís key the output folder is a Dropbox one because the idea of the setup is the images are automatically uploaded after being received into the folder. Most of the time it works absolutely fine but occasionally it jams up and there doesnít seem to be any indication why.

I should add that occasionally, removing particular images that have gathered in /MEDIA/FTP can Ďunblockí the system and everything moves across nicely.

I understand Live Ingest needs to be able to write and read directories and the files within them and thought moving the source directory out of the Dropbox folder would overcome this. I donít think I can recall an issue with permissions when writing to a Dropbox folder but maybe PM is operating at a much lower level.

Whatís odd is I can reliably send via FTP from the camera into the Dropbox folder (bypassing PM) without issue. The problem here is that I canít benefit from the Live Ingest features such as captioning renaming etc and the client can end up seeing half complete pictures that are currently uploading.
 
Press & PR photographer / matt-horwood.com

Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 17926
    • View Profile
    • Camera Bits, Inc.
Re: live ingest
« Reply #8 on: November 28, 2017, 09:51:35 am »
It could be useful to see another PM.log, when the above case happens.

You're using {seqn} in his renaming, which could indeed cause Live Ingest to hang waiting for a specific file before continuing, if for some reason that file never became "ready" for transfer.

Could you try not using {seqn} in your naming and see if that improves things?  You'll likely need to use something else like {frame4} instead to avoid naming collisions.

Thanks,

-Kirk

Offline Matthew

  • Newcomer
  • *
  • Posts: 15
  • Cardiff based Press and PR photographer
    • View Profile
    • matt-horwood.com
Re: live ingest
« Reply #9 on: November 28, 2017, 11:43:01 am »
It could be useful to see another PM.log, when the above case happens.

You're using {seqn} in his renaming, which could indeed cause Live Ingest to hang waiting for a specific file before continuing, if for some reason that file never became "ready" for transfer.

Could you try not using {seqn} in your naming and see if that improves things?  You'll likely need to use something else like {frame4} instead to avoid naming collisions.

Thanks,

-Kirk


Thanks. I'll try {frame4} instead and see how I get on with that. If I have the issue again I'll post the log.
Press & PR photographer / matt-horwood.com