Hi Nik.
Yes, I followed all the steps and upgraded via Nuget.
I might add that this upgrade works perfectly fine in Dev and in staging environment.
One hint that might be related: I've upgraded in production environment, but to a dummy website, without Https (just a local iis site).
Hi Alex,
Not sure actually.
Trees.config and Dashboard.config are two separate files, so i'm not sure what you meant by "merge", but as I was saying, the same version of code is working flawlessly on stage and dev. I can only suspect a missing file or web.config issue..
Hi Alex,
I've downloaded UmbracoCms.7.13.2.zip and took a look in tree.config and dashboard.config.
It's two separate files ,and the content is identical to what I currently have, so that is not the issue. Furthermore, trees.config and dashboard config are responsible on the left hand tree, and on the image one sees when clicking on one of the branches, so it has nothing to do with the problem at hand :)
Ok, I solved the issue.
A quick explanation:
When One tries to publish, a POST request is being sent by the handler to Umbraco's server (RestServices).
The server expects a specific HTTP Header to be sent along with that request.
x-umb-xsrf-token (xsrf is Angular's version of csrf - Croos Site Resource Forgery). This token is compiled from a random GUID and the session ID (it meant to prevent someone calling this service from afar and publish in your behalf, so this token identifies you as the user).
Anyway, to make a long story short, this token was undefined, and that's why I got this 417 (Expectation failed).
The resolution was quite simple:
It appeared that my web.config's compilation tag had debug set to "true" (A huge mistake by itself).
Setting it to "false" solved the issue.
Cannot publish after upgrade
Hi All, I've upgraded Umbraco from version 7.4.3 to 7.13.2 From some reason, every time I try to publish a page, I get the following error:
any idea what this might be?
Hi Rotem
Did you clean browser cache and change ClientDependency version? It might be the wrong js part.
Here are the steps to clear the ClientDependency cache:
Delete files in /AppData/TEMP/ClientDependency (might be in /data or /AppData/ClientDependency depending on your install)
Open /config/clientDependency.config and increase the version attribute by
Touch your web.config
Hope this helps,
Thanks,
Alex
Hi Alex, Thanks, but unfortunately it does not work.
Hi Rotem,
When you did the upgrade did you follow the version specific upgrade steps as well?
As you were going from version 7.4 to version 7.13, there are a few different version specific steps that need to be checked. ( https://our.umbraco.com/documentation/Getting-Started/Setup/Upgrading/version-specific )
Also, was this upgrade performed via NuGet?
Thanks
Nik
Hi Nik. Yes, I followed all the steps and upgraded via Nuget. I might add that this upgrade works perfectly fine in Dev and in staging environment. One hint that might be related: I've upgraded in production environment, but to a dummy website, without Https (just a local iis site).
Can it be related?
thanks
It's possible, if your web config is saying this in app settings:
<add key="umbracoUseSSL" value="true" />
Then you could be getting that issue, but I'm not certain. Not seen a 417 error before.
Hi Nik, Unfortunately it does not.
This error is an anigma
Rotem, did you merge all needed config files successfully?
Hi Alex, Not sure actually. Trees.config and Dashboard.config are two separate files, so i'm not sure what you meant by "merge", but as I was saying, the same version of code is working flawlessly on stage and dev. I can only suspect a missing file or web.config issue..
one more thing that might assist. I sometimes get the following error when I select a page for the first time:
Trees.config and Dashboard.config should be merged or just try to use ones from the latest version.
Hi Alex, I've downloaded UmbracoCms.7.13.2.zip and took a look in tree.config and dashboard.config. It's two separate files ,and the content is identical to what I currently have, so that is not the issue. Furthermore, trees.config and dashboard config are responsible on the left hand tree, and on the image one sees when clicking on one of the branches, so it has nothing to do with the problem at hand :)
Why did you upgrade to 7.13.2? 7.14 is the latest one
I upgraded my dev and stage 2 months ago, so now I'm trying to do the same on production. Didn't have time for that up until now :)
Ok, I solved the issue. A quick explanation: When One tries to publish, a POST request is being sent by the handler to Umbraco's server (RestServices). The server expects a specific HTTP Header to be sent along with that request. x-umb-xsrf-token (xsrf is Angular's version of csrf - Croos Site Resource Forgery). This token is compiled from a random GUID and the session ID (it meant to prevent someone calling this service from afar and publish in your behalf, so this token identifies you as the user). Anyway, to make a long story short, this token was undefined, and that's why I got this 417 (Expectation failed).
The resolution was quite simple: It appeared that my web.config's compilation tag had debug set to "true" (A huge mistake by itself). Setting it to "false" solved the issue.
Now I get the token when I'm trying to publish:
is working on a reply...