I've been struggling to put SilverStripe behind a load balancer and I've been fixing multiple problems with rsyncing the instances and using shared storage and have almost got it stable, however I've found another issue which breaks the CMS.
Specifically when you try to add a link in the CMS in the TinyMCE editor, when the pop-up screen shows to select the page/file the JavaScript throws an exception that tinyMCE.activeEditor
returns null
.
I've rsynced the cache directory silverstripe-cache
between the two servers and still there is a discrepancy between the m=timestamp
of only a few seconds, but I'm guessing this is enough to cause tiny_mce_gzip.php
to be forced to load again.
I have a shared redis cache for session storage, shared db, have rsynced the cache directory and use CodeDeploy
to deploy the app so it should all be in sync. What other storage areas could cause the different m
timestamp? Has anyone had success with SilverStripe CMS being used behind a load balancer without sticky sessions?