Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I have installed uSync into my v8.7.0 site, and it isn't exporting on save, but it does work when I do a full export from the dashboard.
I've left the config as default, and ExportOnSave is set to True.
<ExportOnSave>True</ExportOnSave>
There are no errors in the logs as far as I can see, and because it works when I manually click to Export, it can't be permissions.
Any ideas what could be wrong?
I don't suppose anyone has any ideas what I can try here? I'm still having issues. I've tried uninstalling and installing to no avail.
Hi Greg,
you could try turning debugging on for usync. and seeing if it shows you anything when you attempt the saves.
https://docs.jumoo.co.uk/uSync/v8/debug/
Kevin
Thanks Kevin, after looking at the logs I noticed this line:
"This is a replica server, uSync will not run any of the startup events"
I assume this is what's stopping the syncing.
What determines whether this is a "replica server", because I'm just running this locally?
it is umbraco's load balancing that determains what is or isn't a slave server https://our.umbraco.com/documentation/Getting-Started/Setup/Server-Setup/Load-Balancing/
but in essence, if you run the site locally, via IIS and say IISExpress then Umbraco will think that is two sites, and will start it's "master election".
if you are 1,000% sure you are only running the site via one site then you can set a setting in the web.config to turn this off, https://our.umbraco.com/documentation/Reference/Config/webconfig/#umbracocoredisableelectionforsingleserver then the server will always be a master. - but if you do access the site in more than one way this will cause issues
Thanks Kevin. That setting was exactly what I was looking for.
We do host this in a load balanced environment, so I'm setting it to true on local, and then resetting it during deployment.
Thanks again!
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
v8 not syncing on save, works manually
I have installed uSync into my v8.7.0 site, and it isn't exporting on save, but it does work when I do a full export from the dashboard.
I've left the config as default, and ExportOnSave is set to True.
There are no errors in the logs as far as I can see, and because it works when I manually click to Export, it can't be permissions.
Any ideas what could be wrong?
I don't suppose anyone has any ideas what I can try here? I'm still having issues. I've tried uninstalling and installing to no avail.
Hi Greg,
you could try turning debugging on for usync. and seeing if it shows you anything when you attempt the saves.
https://docs.jumoo.co.uk/uSync/v8/debug/
Kevin
Thanks Kevin, after looking at the logs I noticed this line:
"This is a replica server, uSync will not run any of the startup events"
I assume this is what's stopping the syncing.
What determines whether this is a "replica server", because I'm just running this locally?
Hi Greg,
it is umbraco's load balancing that determains what is or isn't a slave server https://our.umbraco.com/documentation/Getting-Started/Setup/Server-Setup/Load-Balancing/
but in essence, if you run the site locally, via IIS and say IISExpress then Umbraco will think that is two sites, and will start it's "master election".
if you are 1,000% sure you are only running the site via one site then you can set a setting in the web.config to turn this off, https://our.umbraco.com/documentation/Reference/Config/webconfig/#umbracocoredisableelectionforsingleserver then the server will always be a master. - but if you do access the site in more than one way this will cause issues
Thanks Kevin. That setting was exactly what I was looking for.
We do host this in a load balanced environment, so I'm setting it to true on local, and then resetting it during deployment.
Thanks again!
is working on a reply...