Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

AutoUpdate plug-in can't find file that exists?

Featured Replies

Hello all -

I'm trying to figure out how to get client machines to automagically download plug-ins needed by a file. I've followed the FM documentation and placed my plug-ins in

/Library/FileMaker Server/Data/Databases/AutoUpdate/myFMbutler_DoScript/1.0.1.0/myFMbutler_DoScript.fmplugin.tar

and

/Library/FileMaker Server/Data/Databases/AutoUpdate/myFMbutler_DoScript/1.0.1.0/myFMbutler_DoScript.fmx

The group is "fmsadmin" for everything under the AutoUpdate folder, and the permissions for everything are g+rwx.

I created a table with some global variables, as described in the FM documentation, and a little script that checks for the AutoUpdate plug-in and the remote (server) version number of the plug-in. These both work correctly. The local version of the plug-in, being non-existent (hasn't been downloaded yet) will not match the remote version number, so the script then calls FMSAUC_UpdatePlugin("myFMbutler_DoScript 1.0.1.0") and stores the return value in another global field.

I always get "5" for that return value, which, according to the FM documentation, means that "The download file can’t be found in the AutoUpdate folder on the FileMaker Server computer".

The file is in the above specified location, with the correct group and permission settings, and AutoUpdate is enabled in FMS Admin. Any ideas why I keep getting this error code?

Thanks!

  • Author

Okay, I figured out where this was going wrong... at least, I think I did.

I had made a .tar of the .fmplugin file using "Compress", and I don't think the format was quite right. When I used the "tar" command-line utility to create a new .tar file, I stopped receiving the "5" error code and was able to correctly download the plugin.

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.