Scheduled Deployment does not run (invalid date)

On several of my servers a scheduled deployment will not run. When the date/time of the deployment passes the scheduled date will change to “invalid date”.
I have updated to 4.9.0 and it still occurs.
Screenshot 2025-03-04 at 5.30.34 PM
Screenshot 2025-03-04 at 5.32.02 PM

Hey Nick,

Do you see the schedules for the deployments in the FileMaker Admin Console? Have they failed or something similar?

The schedules are system script schedules

-Kyle

There are schedules for all previous attempted deployments. Last Run says failed.
This was in the event log:

|2025-03-04 22:10:00.161 -0800|Information|148|xxx|Schedule OTTO_xxx - 000_auFp2 running.|
|2025-03-04 22:10:00.170 -0800|Information|688|xxx|Schedule OTTO_xxx - 000_auFp2 has started system script otto-cli with process ID 32332.|
|2025-03-04 22:10:00.262 -0800|Error|154|xxx|Schedule OTTO_xxx - 000_auFp2 aborted; otto-cli could not be found or is invalid.|
|2025-03-04 22:10:00.263 -0800|Information|1172|xxx|Schedule “OTTO_xxx - 000_auFp2” has been disabled since the schedule frequency is Once and either the script was executed or the schedule start date has expired.

Are you on Linux? Could you double check that the otto-cli binary is in your FileMaker Scripts folder? It should be at FileMaker Server/Data/Scripts/otto-cli

-Kyle

Mac servers. There is an alias at that location that points to /Applications/OttoFMS/bin/otto-cli
The file is there

Could it be OS related? I know some of our servers we have not updated the OS in awhile.

Hey Nick,

You could try deleting that alias and restarting OttoFMS, it should recreate it on startup. If that doesn’t work it might be a permissions problem where FileMaker can’t find the file because it doesn’t have permission to access it. Do you have any extra volumes or anything similar in there that could be affecting this?

Is there anything similar about the servers that are not working?

-Kyle

I deleted it and ran these 2 commands and it did not recreate:

sudo launchctl bootout system /Library/LaunchDaemons/com.proofgeist.ottofms.plist

sudo launchctl bootstrap system /Library/LaunchDaemons/com.proofgeist.ottofms.plist

Do you see that OttoFMS restarted in the otto-info.log?

-Kyle

Did you want me to delete the alias or the actual file?

The alias. It should recreate it. If you deleted the actual file try reinstalling OttoFMS.

-Kyle

After running the un-installer should the server be restarted before reinstalling?

It should not matter. Thanks Nick!

-Kyle