'Uploading Applications' broken...but not always! **Answered

Help, Tips, and Tricks for deploying GoZync: our "sync" engine for FileMaker Go.
Posts: 22
Joined: Sun Jan 29, 2017 5:05 pm
PostPosted: Tue Mar 13, 2018 2:10 pm
Hi all,

I'm trying to upload a new version of the mobile file to the server. I run the script 'Zync - Prep and Upload New File' from the mobile file. The file is transferred to the temp directory on the local machine without a problem.

From GZM, I then select 'yes' to include a new version of GZM, then click on Upload.

I'm seeing the following error
Capture.PNG
Capture.PNG (15.37 KiB) Viewed 24518 times


If I log into GZM first as user admin, I don't get the error.
Rebooting the PC has not fixed the issue.

This process has been running smoothly :D I appreciate that this may not be a Go Zync issue, but I just can't think what has changed to cause the problem! Does anyone have any suggestions??
Last edited by Frostie on Mon Mar 19, 2018 4:19 pm, edited 1 time in total.
SeedCode Staff
SeedCode Staff
Posts: 357
Joined: Tue Nov 08, 2016 1:54 pm
PostPosted: Wed Mar 14, 2018 7:56 am
Hi Frostie,

Sorry to hear you're running into this issue. The first thing to check would be to make sure you're logging in to your mobile file with an account that has full-access privilege to GoZyncMobile (such as admin).

Let me know if that helps and I'll reach out to Todd to see if he has any suggestions on what else could be causing this issue.

Regards,

KC
SeedCode Staff
SeedCode Staff
Posts: 357
Joined: Tue Nov 08, 2016 1:54 pm
PostPosted: Wed Mar 14, 2018 3:19 pm
Hi Frostie,

The info I heard back from Todd is that it looks like GZM can't be exported to the temp directory. I don't know why that would be. You'll want to run that with script debugger and check the export path to see if there's an issue saving to that directory. One thing you could try first is running it from another machine to rule out any issues on the specific machine you're working with.

Let me know if that helps.

Regards,

KC
Posts: 22
Joined: Sun Jan 29, 2017 5:05 pm
PostPosted: Thu Mar 15, 2018 4:46 pm
Hi KC,

Thanks for your reply.

I've run this process using the debugger.

If I start from the beginning, open the mobile file (using an account with admin rights) and run 'Zync - Prep and upload....' and then from GZM
click on the 'Upload' button, the debugger reports that Get(AccountName) = Sync, and the script fails to save a compacted copy to $GZMPath.

If I re-login to GZM as Admin first, the process runs without error.

Should GZM be using the Admin or Sync account? How is this controlled??

Thanks again,

Frostie.
SeedCode Staff
SeedCode Staff
Posts: 357
Joined: Tue Nov 08, 2016 1:54 pm
PostPosted: Fri Mar 16, 2018 10:21 am
Thanks for the details, Frostie.

You'll need to log-in as the Admin user in order to export the file to a temporary directory to be uploaded to the GoZyncHosted file as the Sync user won't have permission to export the file. This is why you're seeing the error when it tries.

The Sync user is set-up to be able to synchronize data between your mobile and hosted files, but it's not set up to be able to upload new copies of your mobile file, as you may want to prevent any user from being able to run that script and replace the files available to everyone.

Regards,
KC
Posts: 22
Joined: Sun Jan 29, 2017 5:05 pm
PostPosted: Mon Mar 19, 2018 4:18 pm
Why didn't I notice that before? :oops: Doh!

Thanks KC :)
SeedCode Staff
SeedCode Staff
Posts: 357
Joined: Tue Nov 08, 2016 1:54 pm
PostPosted: Mon Mar 19, 2018 4:23 pm
Absolutely, Frostie!

Glad that helped.

Regards,

KC

Return to GoZync

Who is online

Users browsing this forum: No registered users and 3 guests

(855) SEEDCODE
[email protected]
Follow us: