Good Evening to all,
I have been using DotnetNuke now DNN since version 5 and have always set web.config:
key="AutoUpgrade" value="false"
with the new upgrade mechanism should I now reset this to:
key="AutoUpgrade" value="true"
You opions would be greatly appreciated.
Kind Regards Trevor
When you do/did a DNN upgrade, basically you copied all files from the upgrade package over to the 'live' website folder. So when this setting is set to true, the next person who visited your website would trigger the upgrade process. Which is a pretty bad thing in my opinion. So when you set the setting to false, you would actually have to go to www.website.com/install/install.aspx or www.website.com/install/upgradewizard.aspx to trigger the actual update. Even though there are some great improvements in the upgrade process in dnn 10, I think this mechanism still works the same, so the best thing is to keep this to false. The new upgrade process will eventually still trigger by calling the /install/upgradewizzard.aspx
Thank you.
Just to add a bit more clarity here. That flag ONLY applies if you manually unzip the installation over the top of the existing site. If you use the new upgrade process, it essentially isn't going to be an issue or action that could be there. Long-term, I believe we will remove that setting, but for now I would suggest leaving it false as others have mentioned. I just wanted to add clarity of when it could still apply.
These Forums are for the discussion of the open source CMS DNN platform and ecosystem.
For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:
Awesome! Simply post in the forums using the link below and we'll get you started.