If you have to re-install a package but are heavily invested in that package (via the amount of content you have added using that package), is there any way to prevent content loss if you have to re-install that package?
I was thinking to install the nuget version of the package but do not want to lose the content within the doc types.
So if I uninstall the package, I'm assuming that the data will uninstall on all of the doc types and correspondingly I will lose all the content added via that package. But I was thinking that if I install that package via nuget before uninstalling the package from the back end, then the content wouldn't disappear because the property aliases, etc. that each doc type relies on would be present by way of the nuget.
There no dependency between package installing\uninstalling and content.
It can be only if there some custom logic in the package. To be sure check please needed package, has it some code like that or no.
Ok, awesome. I develop with VS so to prevent any content loss I'll just install the nuget then uninstall the package and it should work the same with no extra steps.
Package / Nuget Re-Install Prevent Content Loss
If you have to re-install a package but are heavily invested in that package (via the amount of content you have added using that package), is there any way to prevent content loss if you have to re-install that package?
I was thinking to install the nuget version of the package but do not want to lose the content within the doc types.
So if I uninstall the package, I'm assuming that the data will uninstall on all of the doc types and correspondingly I will lose all the content added via that package. But I was thinking that if I install that package via nuget before uninstalling the package from the back end, then the content wouldn't disappear because the property aliases, etc. that each doc type relies on would be present by way of the nuget.
Any ideas?
Hi Bobi
There no dependency between package installing\uninstalling and content. It can be only if there some custom logic in the package. To be sure check please needed package, has it some code like that or no.
What package you want to uninstall?
Thanks,
Alex
Hi,
Thanks for the reply.
The package is RankOne.
What about the nuget idea? If you install a nuget version would it work similarly to the package or is there some extra steps you have to take?
It should be absolutely the same. The only difference is how to do it and do you like to use Visual Studio or Umbraco Packages section.
Ok, awesome. I develop with VS so to prevent any content loss I'll just install the nuget then uninstall the package and it should work the same with no extra steps.
Thanks.
Cool stuff, Bobi. Nice to solve an issue before the weekend.
/Alex
If only it was so easy haha. The package won't uninstall. I think it is because I'm using doc types from the package. Any suggestions?
Didn't use this package before, maybe you are right.
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion