Jump to content


  • Content count

  • Joined

  • Last visited

Everything posted by DataCruncher

  1. Hello all - So I got a larger MirrorSync installation to run beautifully between two FMS15 server sites. Sync times are a charm. My question is what the best practice is to make MirrorSync sync fastest. Currently, our hub server is in a colocation datacenter in Los Angeles with Gigabit connection. The spoke server is in our branch office, syncing through a 100/50 Mbit connection. MirrorSync server runs in the same datacenter as the hub server. My question is whether it would make sense to install the mirror sync server at the branch office location instead. That way, mirror sync could connect locally to the spoke server at 1 Gbit, and only pull all changes from the hub server over the 100/50Mbit internet connection. The way we have it now, mirror sync at the data center, it would only connect to the spoke server on the 50/100 Mbit connection. Since I don't know how mirror sync handles data traffic to the hub and spoke server (or if there is any difference at all), I don't know which way is better. Any advice would be appreciated! Robert
  2. ALL FIXED! Thank you Jesse for helping me through this. If anybody experiences similar issues, these were the steps we have undertaken to fix our MirrorSync FMS15-FMS15 issue: 1) Upgrade to FMS15. That makes JDBC an option. 2) Don't use JDBC if one of your records has a field with more than 35000 characters in it. It will not work. Use XML instead. 3) make sure you increase the memory allocation, if required, in three different spots: WPE on the hub server; WPE on the spoke server; and - also - on the mirror sync tomcat. We used 2048M and fared fine in the end. 4) If you timeout, increase the timeout. 5) Make sure you don't have calculation fields on your sync layouts. These can calculate locally and likely slow down your sync. 6) Make sure you don't sync external containers. These are not supported by MirrorSync. 7) Make sure your mirror sync table has no client record under 'internal' before you first sync. That's pretty much all I remember, but our installation works really well now. Thanks again 360works for all your assistance in getting this going!
  3. Hello all - I'm thinking about MirrorSync for a Filemaker Server to Filemaker Server replication. The old problem: Office in CA, Office in NY - latencies kill the Filemaker Pro clients that are on the other coast when connected to FMS on the other coast. Think of our database as a medical records system for patients in a clinic that also manages patient handling. Currently, we have one main table, PATIENTS. One of the fields in this table, PATIENT_STATUS, is a numerical value that ranges from 0 to 6 (0 patient just showed up, 1 patient in waiting room, 2 patient seeing the nurse, 3 patient seeing the doctor, 4 report transcribed, 5 prescription issued, 6 patient discharged). The workstations display lists showing the patients in each status. Obviously, as patients come and go, status changes, and we need as close to real time updates as we can get on these. Now, if you think about syncing a CA server with a NY server - that is easy enough, and i don't mind if it takes a minute to sync - but each respective office has fast local performance. I'm not sure what best practice would be to improve sync performance. In our current setup, the main table, PATIENTS, has about 150.000 records - comprising the 20 patients that are sitting in the clinic now, with PATIENT_STATUS from 0-5; but also, 149.980 records comprising discharged patients with with PATIENT_STATUS = 6. I need sync to be as fast as possible for the 20 patients that are in the office now; but I could absolutely do with less frequent sync intervals for the remaining 149.980 records. Also, something tells me that syncing 20 records would take a lot less time than syncing 150.000 records - especially when you try to get sync intervals down to a few seconds. My options, as I understand, are: 1- Leave the database structure as is, and hope it will be fast enough for our purposes (let filemaker handle the load) 2- Split the PATIENT table up in two tables: CURRENT_PATIENTS and ARCHIVE_PATIENTS. I would then run a mirrorsync every five seconds on the CURRENT_PATIENTS, but only once an hour on ARCHIVE_PATIENTS. This may come with its own set of problems, as we also search for patients by name and I'd have to script two consecutive searches, one in CURRENT_PATIENTS and one in ARCHIVE_PATIENTS and then merge the results somehow. I also imagine that splitting my tables would be quite a bit of work, adjusting layouts, scripts, and relationships. Lastly, upon discharge, the entire record would have to be moved over from the table CURRENT_PATIENTS to ARCHIVE_PATIENTS. 3 - Do the same as described in 2, but also create a new join table that servers as my new main table: GLOBAL_PATIENT, with a PATIENT_ID primary key that is related to a PATIENT_ID key in CURRENT_PATIENTS, but also to PATIENT_ID in ARCHIVE_PATIENTS. It is my understanding that in this approach, all that I would need to change in searches is to search GLOBAL_PATIENT as opposed to both the ARCHIVE_ and the CURRENT_ tables. Option 2 and 3 may well be the same, but to me, they seem different. I am not sure if I am missing out on potential other ways to make this work. I would appreciate any advice .... Have a great day!
  4. Bad Gateway?

    Bad Gateway error on sync = increase timeout in: /Library/FileMaker\ Server/Admin/admin-helper/WEB-INF/conf/mod_proxy.conf
  5. Thank you! Sending my email now... Now I did get it to work, but on a sample database. I can't employ the approach I had on one or two tables on my live database with 71 tables... So I'd love to get to the bottom of this...
  6. Jesse - Thank you. I still need you to look into this; the inital sync never works unless I delete all data and manually import piece by piece. It is impossible to keep doing this for every table. Once the initial sync is done, all incremental syncs work flawlessly. To answer your questions: Did increasing the timeout to 2000 have any effect on how long it took for that error to come up? - No. I even increased the timeout for XML web publishing in Catalina.sh to 20.000 - still got the internal server error. If you have the WPE at 8,000 megs of RAM, I doubt adding more will help. - I have it at 49000 at once just to try - still the same thing. What version of MirrorSync are you running? - 360Works MirrorSync 3.17, build 9239 (3/24/17) Now, this is my system setup: HUB: FMS 12.0.6 on Mac OS Spoke: FMS 12.0.2 on Mac OS Mirrorsync is running on ubuntu Ubuntu 17.04 (GNU/Linux 4.10.0-20-generic x86_64) We followed install instructions by the book; the only thing I could think of now is that we corrupted the installation of the MirrorSync scripts somewhat. During initial MirrorSync config, there is a page that required us to copy a table, some scripts and a layout to our FM database file. The tables and the layout copied fine; but the copy scripts button asked us which version of FM we are running (FM 13+) - but then gave us an error: Could not copy script onto clipboard: java.lang.NullPointerException Perhaps I'm not supposed to have empty spaces in my layout names? Either way, we have tried the configuration on 8 different client machines running different versions of java - all to no avail. As a workaround, 360works support emailed us a .fmp12 file that contained nothing but the mirrorsync scripts which we manually copied over into our database table and went through which fields should be referenced over the phone. I am uploading the empty .fmp12 with the scripts that I got from mirrorsync. Perhaps the most prudent way to try and untangle all of this would be to entirely reverse the process where we manually inserted mirrorsync scripts; and instead get the copy scripts function to run during initial mirrorsync configuration. We did send a ticket to 360works, but I doubt it would have logged any relevant information as the NullPointerException occurs on the local machine, I believe. Thank you! Robert MirrorSyncScripts-2.fmp12
  7. So increasing the timeout didn't work. Feeding the initial sync spoon by spoon, however, did. I first synced an empty clone database - which worked fine. Next, I imported 3000 of my 64000 records - which worked fine, too. I then imported another 5000 records - you get the idea. Once all 64.000 records were imported, incremental sync works fine and takes about 4 seconds. Next step will be to take the spoke machine off-site and see how latencies change these numbers. Thank you for your assistance
  8. OK - some news here. I have limited the sync part to one of my 72 tables only. That table has 62.000 records, text only, no containers. I have two instances of FMS12 set up on a local subnet, and mirrorsync running on a dedicated third machine with 8GB of RAM, SSD disks. They are all connected through a GB switch. On initial sync, it seems to start fine, but then fails after about 8 minutes with: java.io.IOException: Server returned a 500 (Internal server) error. This could be caused by many things, but it usually means that the Web Publishing Engine ran out of memory. The URL that generated the error is http://domain.com/fmi/xml/FMPXMLRESULT.xml?-db=TEST&-lay=MirrorSync&-script=MirrorSync+(TEST)&-script.param=doServerAction 1 Let([%24command%3D"getModificationsSince"%3B%24table%3D"sync_CASES"%3B%24%24sessionId%3D"67ab1e2d-dcf1-4505-91c0-8d16aebb9634"%3B%24dataMode%3D1%3B%24timestamp%3D""%3B%24%24MIRRORSYNC_USERTOKEN%3D""]%3BTrue)&-max=all&-findany So what I did was up the WPE timeout to 2000; and i also gradually increased the host FMS memory allocation from the default 500MB to 2000M and now 8000M - still the same thing. I'll allocate 16000M next - my concern simply is both databases are already there, I'm merely trying to sync the one new record. Hopefully, once i get past this initial sync, incremental sync will be more responsive - else I may really have to go CWP... I'm running out of ideas - it fails again with error 500 after 7 minutes - with 16 GB of memory allocated to WPE on FMS12. My entire database file only has 5 GB. Perhaps I'm doing it wrong...
  9. FileMaker crashes in field picker

    Having the same issue.
  10. Thank you, that's very good information. I'll run it and get back with results.
  11. I haven't run a full sync yet - partially because I want to have my database structure optimized before I do. I am not sure if having a SSD drive on the mirrorsync machine would make that much of a difference; we have set aside a machine with about 50GBs of RAM. I will report current sync times as soon as I have them.
  12. Installed mirrorsync 3.17 build 9239 on a Linux machine, connected to FMS 12 on Mac OS X using XML. All is well until I start to setup my first initial sync job. I copied and pasted the MirrorSync Table just fine. But then, the copy scripts step throws a java.lang.NullPointer.Exception error. Just out of curiosity, the third step - of copying the mirrorsync Layout would also work fine, but I'm not going there until I got the copy scripts step done. I realize it's convenient to click a button and have them in your clipboard, but at this rate, even a manual .txt version of the required scripts would at least allow me to manually copy these scripts... Any advice? Thank you!
  13. stderr log - newsyslog management

    Hi, It seems I ran into the same issue with stderr growing to GBs in size. Newsyslog may work, but since I can't add the default Filemaker Server path with the space in it, I was wondering how you had solved the issue. Can you simply re-name the FIlemaker Server directory to get rid of the space? I would be very hesitant to do it as the path name would surely have dozens, if not hundreds, of other references... Thank you!
  14. I'm sorry, forum - you serve a merely psychotherapeutic purpose today. I came here merely to VENT - because I have given up any hope that FileMaker will ever get its act together. As I am sure many of you have suffered through also, even the slightest one of software updates in either Filemaker or any of the supporting packages - from Java to OS X - will almost certainly result in an entirely unpredictable and prohibitively nonsensical trail of incompatibility issues, software errors, or warning messages that will wreck your system. Remember how, when FMS 12 came out, Web Publishing would keep crashing at random intervals and had to be restarted manually? Remember how, when FMS 13 came out, all of a sudden, the Java admin interface would not work any more for some security setting in the java engine? Enough to get your pulse pumping on any live or development system - but Filemaker 14 Server REALLY shoveled FileMaker's grave even deeper. Sure, it looks nice and fancy on FileMaker's own spam-emails. So I decided to give it a shot a while back. On one of our development servers. After downloading the FMS 14 server trial version, I was basically told to go ***** myself and the time I had spent trying to do it - it will only work from Version OS X 10.Y onwards. Right. Like I would entirely upgrade my development server just to see if I'd like to shove some more $$$$ up some Apple companies rear end. Which brings me to the next issue. The insane pricing model for FMS 14 server. There is no flat rate pricing any more - you pay per user. Which is insane if you run anything other than your local massage salon scheduling on it. Will I really risk having my clients locked out of access to our systems just because Filemaker didn't sense the last session close alright????? Without going into too much detail, FMS 14 is overpriced for anything behind a YMCA environment. Then, again, this may have been priced out of the market on purpose - because, as I had to find out after I had finally gotten FMS14 to run on another one of our servers - the database would completely clog down resources on our MONSTER machine of a server. Where FMS13 had performed flawlessly for years on a machine of even lesser hardware capabilities, FMS14 has managed to NOT EVEN ALLOW ONE SINGLE SIMULTANEOUS Web User to log in without catastrophically draining everything from memory to lag times to CPU utilization. You can't test-run FMS14 if another FMS version may still be installed. Not even on different ports. I've had trouble installing FMS14 from scratch on a brand new machine running Mac OS X - which is twice as frustrating considering that Filemaker is an Apple Company. The installer would simply crash mid-way saying nothing but 'Searching' on the main HD and becoming unresponsive. FMP 14 then, upon trying to connect to a server, simply flips you off by telling you 'The SSL certificate for FileMaker Server is not compatible with this Filemaker Client. Contact your server administrator'. Great. So I'm being told to contact myself about an issue that was not there before, has never been an issue, and is now supposedly made an issue by some brainiac FileMaker intern? How dare, Filemaker, you clog down my staff with issues that you create?! I should invoice you for the time my administrators have to spend chasing down your boggy issues. You should have enough cash on hand, courtesy of your volume licensing usury. And the best part: THIS WAS ON A NON-SSL test environment. Throwing an SSL error on a system that does not use SSL is like telling you your gas tank is empty when you're driving a Tesla. In short: FMS 14 is financially utterly disproportionate; technologically shockingly deficient; and, diligently, grossly negligent. This is coming from someone who has used nothing but Filemaker Solutions over the past 10+ years. It saddens me that an established line of software products that once led the market seems to be driven into the ground without any consideration for the fallout and the industry that was built around it over the past years. Again; your YMCA will still get your schedule right. But I would have to be placed under conservatorship should I ever sign up to FMS14 pricing.
  15. FM Server ready for prime time?

    If you are really really bored, you might get a moderately good giggle out of FMS14. Not sure if that was the intended purpose, though.
  16. Moving A file to a different directory

    Hi, This is amazing, but I can I use the FTPeek_Rename command also to move a folder? I am now downloading a file, and re-uploading it to a different folder, then delete the FTP origin directory. This is a burden on bandwidth - I am usually just a lot faster to simply move the directory remotely using a FTP client. Can we use FTPeek_Rename to move a folder around? I have also - unsuccessfully - attempted to use FTPeek_ExecuteCommand and RNFR - RNTO sequence; but that just threw errors.... Thank you!
  17. FMP Go and Dictation

    I don't think that's gonna work. I'm having the same challenge. I want to record Audio into a filemaker container field on the iPad, but then have it sent by email to a transcription service. My problem is: That audio recording window that pops up on the iPad is so large that it basically covers the entire screen! You can't view the contents of the filemaker page underneath the recording window! What good is that? Is there any way to minimize the audio recorder window so that it records in the background and retains the ability to look at the filemaker layout and read from there while dictating? That would make my day..... thanks
  18. A doc and docx convertor to PDF

    Wow - this was real faaaast! I'll have to try and make this work. I have the 3.0 beta 4 version, so I hope I'll be good. Thanx, I'll let you know how this went..
  19. A doc and docx convertor to PDF

    Hey John, I'm trying to address the same problem, I want a Filemaker Script (on a Mac) that basically converts a Word-Document to a PDF Document in the background, both Documents are stored in a separate SuperContainer location. I got this to run with jodconverter that I invoke with a command line java command. Problem is: This solution opens OpenOffice, so it does not run silent at all. How can I get your approach to run? Do I need to save your file as a java program, then call your .jar instead of jodconverter.jar? Thanks!
  20. Hi everyone, I'm having a big issue with Supercontainer that might have a quick and easy solution to it that I can't seem to figure out. I have a supercontainer field that stores an uploaded Word Doc in one directory named /files/ID/Docs/. Then, I have another supercontainer field that we currently upload a PDF version of the same Word Doc named /files/ID/PDFs/ The whole idea is to upload only the word document, and then hit a button in Filemaker that would then auto-generate the PDF version in the other folder. I guess I could get it done with AppleScript, but my concern is how would SuperContainer then realize that the PDF file is there when no one uploaded it to start with? It would basically just be in this folder that AppleScript would have created, with supercontainer not knowing what to do with it. Also, the RawData folder would not be generated? How could I best approach this issue ? Thanks!
  21. Hi all, I've struggled with this for a while now: I have an IWP site set up that will display a PDF stored in a supercontainer field. To achieve this, I have a filemaker web viewer set up that points to the RAW data of the PDF stored in the supercontainer field. This solution works very well when accessed using any web browser. It even works when accessed using Safari on an iPad; the first part of the PDF is displayed properly. But the problem is: I can't scroll anywhere. The iPad scroll function scrolls the entire page rather then just the PDF; I can not get to the second page of a multi-page PDF file, I can not zoom in, I can not move anywhere with this PDF. Can you think of any solution that would make this work on the iPad? I can't go with FileMaker Go. I need this to work with Safari or even another iPad web browser.... I was thinking if I should try to use Supercontainer companion plugin to download the supercontainer content into a filemaker content field, but that would defy the cause of using supercontainer in the first place, plus I'm not even sure it would behave any differently on the iPad. What can I do? Thanks,

Important Information

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