I am upgrading from version 7.4 to 7.10. So far I've ironed out a few package and documentation breaking changes. However, I appear to have duplicate datatypes causing issues.
I first noticed this when I tried to view an item in the back office:
Exception Details System.InvalidOperationException: Sequence contains
more than one matching element
Looks like this things back again. I was troubleshooting some breaking changes and it causes the umbraco upgrade screen to run again. I tried the nuget trick again to no avail. I'll see if I can log a more stable fix. It strangely always affects the RJP picker though.
Not seeing anything conclusive in the bin or database directly :(
Turned out to be a silly "mistake" but maybe the solution will help others.
My local environment is set up with the Visual Studio project in a specific directory, which deploys the site into another folder that IIS is bound to. When using Nuget to update Umbraco, it is recommended to say "no" to any config overwriting that Nuget tries to do. That means the Umbraco version never changes in the project, and each time you do a project deployent, Umbraco tries to run the install again.
In the end, I restored my DB backup, updated the version number in my project then deployed again. Umbraco then did its thing properly, and I did a beyond compare to make sure my project's web.config file matched the final product.
In our case we found out that RJP.MultiUrlPicker no longer uses the package.manifest. So after we deleted the manifest at ~/App_Plugins/RJP.MultiUrlPicker/package.manifest and refreshed the cache, it worked again.
Duplicate Data Types
I am upgrading from version 7.4 to 7.10. So far I've ironed out a few package and documentation breaking changes. However, I appear to have duplicate datatypes causing issues.
I first noticed this when I tried to view an item in the back office:
Then I traced this into the doc types:
I think I narrowed it down to errors being thrown in specific data types:
The two data types that are having issues also show up twice in the property editor dropdown (notice the duplicate Multi Url Picker):
Unfortunately, I cant see anything in the database that is causing those duplications. Any intuitions on this?
Hi Mike,
Do you perhaps have 2 versions of Multi Url Picker installed ?
Dave
Hey Dave, good to hear from you!
Maybe accidentally. I used Nuget to update the package - maybe I will see if an uninstall and reinstall works locally?
We had an issue in the past as well with a upgrade of RJP multi url picker, i guess that is the one your are using.
THe upgrade did not clean up the old version correctly. I think it's because the dll name got changed. If I recall correctly.
Dave
Interesting, yeah it's the RJP Multi Url Picker. I didnt notice any duplicate dlls, but I forced an
and I think it cleared it up.
Thanks a ton for the direction!
You are welcome !
Looks like this things back again. I was troubleshooting some breaking changes and it causes the umbraco upgrade screen to run again. I tried the nuget trick again to no avail. I'll see if I can log a more stable fix. It strangely always affects the RJP picker though.
Not seeing anything conclusive in the bin or database directly :(
Hi Mike,
The upgrade screen is normally only shown when a upgrade needs to happen.
So things you can check are the following :
Dave
Turned out to be a silly "mistake" but maybe the solution will help others.
My local environment is set up with the Visual Studio project in a specific directory, which deploys the site into another folder that IIS is bound to. When using Nuget to update Umbraco, it is recommended to say "no" to any config overwriting that Nuget tries to do. That means the Umbraco version never changes in the project, and each time you do a project deployent, Umbraco tries to run the install again.
In the end, I restored my DB backup, updated the version number in my project then deployed again. Umbraco then did its thing properly, and I did a beyond compare to make sure my project's web.config file matched the final product.
Thanks again for the assistance Dave!
Also noticed that replacing the entire root "/Config" folder helped.
Hi.
We had the exact same issue, today.
In our case we found out that RJP.MultiUrlPicker no longer uses the package.manifest. So after we deleted the manifest at ~/App_Plugins/RJP.MultiUrlPicker/package.manifest and refreshed the cache, it worked again.
I hope it helped somebody..
Helped me! thank you so much. :)
is working on a reply...