AnsweredAssumed Answered

All system-level scripts are failing after upgrade to FMS 10

Question asked by lexan on Feb 3, 2009
Latest reply on Feb 17, 2009 by TSGal

Summary

All system-level scripts are failing after upgrade to FMS 10

Description of the issue

FileMaker Server 10 ADV (10.0.1.64)Mac OS X Server 10.5.6 Build 9G55 ================================== After upgrading to FMS 10 all (FM) system-level scripts suddenly fail on execution! The error message is: "aborted; unexpected error. (-1) "Please note:  a) scripts were running fine for almost ten months (FMS9!)  b) the script contents were not changed  c) scripts permissions are OK (fmserver/fmsadmin rwx/r-x)  d) paths are OK e) all these scripts work fine if launched from a terminal window  These scripts should compress an hosted database, add a timestamp to the zipped filename and save the zip file to a given directory (local or remote)Example: dbName= "myDB" ; path=myPath--> zipped filename = "/myPath/myDB_2008-02-04|0045.zip" Is it a bug? How to successfully run a system script? /Stefano Lesandrini   ---------------------- This is a script example -----------------#!/bin/sh## REQUIRED PARAMETERS########################################################################dbName="FLEXO9"  sourceDir="/Volumes/Backup/fmBackup/FLEXO/lastBackup/"destDir="/Volumes/Backup/fmBackup/FLEXO/HISTORIC/"## CREATE THE ZIPPED FILE#######################################################################ditto -ck --sequesterRsrc $sourceDir $destDir$dbName$(date "+_%Y_%m_%d|%H%M.zip")

Outcomes