I upgraded a customer site from 8.5.5 to 8.11.1 with nuget
However, after the update I'm not getting any values from my fields- all fields are null. Actual nodes is fetched though, and everything works fine in backoffice.
There is a record in umbracoKeyValue, with the value in the Key-column, ending with “+Umbraco”. The date on that should be when you installed the update.
If not, you may be able to delete the record (or just change the key), to force umbraco to run the migrations again.
Anothe option is to rollback both database and code, end try the upgrade again.
I did the update wrong. But then I had to clean the cache and republish.
There also was some errors from the previous developer team (umbracoNavihide instead of umbracoNaviHide - so no IsVisible() worked) which made it all look really weird and confused the hell out of me!
Also, the previous team used the grid alot, but didn't make their own styling-theme-files and just used the default theme files for bootstrap3 and changed them (please don't do that) - so it was a pain in the ass to fix this also - and also added to the initial confusion.
No values after update
I upgraded a customer site from 8.5.5 to 8.11.1 with nuget
However, after the update I'm not getting any values from my fields- all fields are null. Actual nodes is fetched though, and everything works fine in backoffice.
Nothing in the logs.
Anyone got any idea what to try with?
Is there anything in developer tools console?
Nothing there either unfortunately.
How did you perform the upgrade?
What command did you use?
I used the nuget solution window, as I always do. No commands in general :)
I chose 8.11.1 as I'm running that on multiple other site and it's very stable for me.
Did the upgrade, accepted all config changes. Changed umbraco-version to 8.11.1 in webconfig.
I believe it's really not a question about the update procedure since I've done this hundreds of times...
It is really weird. Fortunately this is a test environment so it's all fine for now.
"Changed umbraco-version to 8.11.1 in webconfig."
I thought this was automated by Umbraco after any DB updates were applied (after logging into Umbraco).
Sorry I can't be any more help, I've never seem this issue before.
That is true. Wonder why I did that this time. Hmm. Maybe there is some issue after all.
if you edit it manually, it may result in the migrations not being run, which may be the cause of your issue.
I redid the whole installation and same thing happens when Umbraco changes the current version in webconfig... Hmm.
Are you able to edit the database?
There is a record in umbracoKeyValue, with the value in the Key-column, ending with “+Umbraco”. The date on that should be when you installed the update.
If not, you may be able to delete the record (or just change the key), to force umbraco to run the migrations again.
Anothe option is to rollback both database and code, end try the upgrade again.
Hth
I redid it with a fresh database and same thing happens.
It is weird that I get all data in the backoffice correctly, it's just in the templates that I'm not able to fetch any data...
Have you rebuild the cache and indexes? Published everything etc.
OK so there was multiple errors here.
I did the update wrong. But then I had to clean the cache and republish.
There also was some errors from the previous developer team (umbracoNavihide instead of umbracoNaviHide - so no IsVisible() worked) which made it all look really weird and confused the hell out of me!
Also, the previous team used the grid alot, but didn't make their own styling-theme-files and just used the default theme files for bootstrap3 and changed them (please don't do that) - so it was a pain in the ass to fix this also - and also added to the initial confusion.
Thanks everyone.
is working on a reply...