Umbraco version 8.6.4 media push/pull issues with Usync.Complete in Azure.
Hi,
For my previous question, I was told to use usync.complete to push content/media to different environments.
I've setup 2 sites in Azure (production and staging deployment slots). I tested these 2 sites in my local machine and was able to move content.
When the sites are published to Azure using publish profile in visual studio, I'm seeing the following error. Could anyone please guide me to resolve this issue.
Also want to know if usync.complete plugin supports Azure?
Exception details :-
No Step alias? - Increment your ClientDependency version? Parameter name: StepAlias
No Step alias? - Increment your ClientDependency version?
Parameter name: StepAlias at uSync.Publisher.Controllers.uSyncPublisherApiController.
Yes uSync.Complete does support azure (and azure blob storage for media).
The error is likely because the files are cached on the server. so the advice is to increment the version number in the clientdependency.config file (in the config folder)
e.g change the number here:
This is the most common cause of the missing step error. Which is why we've put it in the error message - but its possible its other things, so you might want to check your uSync8.config file looks like the reference one.
for example sometime people change the settings in the publisher handler set, when really they shouldn't need touching (and we should really just hide them!)
I'm now able to push content after configuring again in the website. It worked like a charm. Thanks for your help.
Still facing an issue while retrieving content when performing pull from a media section. Suspecting that this is an issue from my side and investigating it. Any thoughts on below error? It is only me accessing both the applications at the moment.
I suspect its a config issue - with azure the site files are effectively shared between any instance of the site, and this included when azure swaps the underling site between servers.
It looks like you are running your azure site on SQLCE (which is what the .sdf file is) that's not recommended but i think it might be possible.
The lowest level Azure SQL DB will work fine for a small site, so you might want to look at switching to that - it will be more stable and faster.
If you do want SQLCE to work there are probably some azure settings you should look to ensure swapping doesn't break things (for example you might have to disable overlapped recycling - search for WEBSITEDISABLEOVERLAPPED_RECYCLING)
I would also check out the Umbraco Azure setup docs, there are a couple of settings there, you probably need to look at. For example the Umbraco.Core.LocalTempStorage moves the temp files to a location not shared between servers.
Umbraco version 8.6.4 media push/pull issues with Usync.Complete in Azure.
Hi,
For my previous question, I was told to use usync.complete to push content/media to different environments.
I've setup 2 sites in Azure (production and staging deployment slots). I tested these 2 sites in my local machine and was able to move content.
When the sites are published to Azure using publish profile in visual studio, I'm seeing the following error. Could anyone please guide me to resolve this issue.
Also want to know if usync.complete plugin supports Azure?
Exception details :-
No Step alias? - Increment your ClientDependency version? Parameter name: StepAlias
No Step alias? - Increment your ClientDependency version? Parameter name: StepAlias at uSync.Publisher.Controllers.uSyncPublisherApiController.
Hi
Yes uSync.Complete does support azure (and azure blob storage for media).
The error is likely because the files are cached on the server. so the advice is to increment the version number in the clientdependency.config file (in the config folder) e.g change the number here:
This is the most common cause of the missing step error. Which is why we've put it in the error message - but its possible its other things, so you might want to check your uSync8.config file looks like the reference one.
https://github.com/Jumoo/uSync.Complete.Issues/blob/main/configs/uSync8.config
for example sometime people change the settings in the publisher handler set, when really they shouldn't need touching (and we should really just hide them!)
Hi Kevin,
I've increased the version number and I'm still noticing the same error. I even restarted the app services for both stage and prod.
Exception details :-
No Step alias? - Increment your ClientDependency version? Parameter name: StepAlias at uSync.Publisher.Controllers.uSyncPublisherApiController.
Hi
I am wondering if it's actually an error in the step before that is causing the problem 🤔
I am looking around seeing if there is a specific configuration that might cause the steps not to be returned to the browser.
can you try the process again with the browser's developer console open and see if you get any other errors before this one?
Kevin
also can you confirm that where its failing?
do you for example get to the point where you see the server settings when you click on the server ?
e.g do you see something like this just before the error?
Hi Kevin,
I'm now able to push content after configuring again in the website. It worked like a charm. Thanks for your help.
Still facing an issue while retrieving content when performing pull from a media section. Suspecting that this is an issue from my side and investigating it. Any thoughts on below error? It is only me accessing both the applications at the moment.
Hi,
I suspect its a config issue - with azure the site files are effectively shared between any instance of the site, and this included when azure swaps the underling site between servers.
It looks like you are running your azure site on SQLCE (which is what the .sdf file is) that's not recommended but i think it might be possible.
The lowest level Azure SQL DB will work fine for a small site, so you might want to look at switching to that - it will be more stable and faster.
If you do want SQLCE to work there are probably some azure settings you should look to ensure swapping doesn't break things (for example you might have to disable overlapped recycling - search for WEBSITEDISABLEOVERLAPPED_RECYCLING)
I would also check out the Umbraco Azure setup docs, there are a couple of settings there, you probably need to look at. For example the
Umbraco.Core.LocalTempStorage
moves the temp files to a location not shared between servers.is working on a reply...