OrchardCMS / Orchard

Orchard is a free, open source, community-focused Content Management System built on the ASP.NET MVC platform.
https://orchardproject.net
BSD 3-Clause "New" or "Revised" License
2.38k stars 1.12k forks source link

MsDeploy fails if the user/login already exists #6013

Open carlwoodhouse opened 8 years ago

carlwoodhouse commented 8 years ago

some changes to the msdeploy stuff in 1.9.2 seem to have broken it. It now calls createuser.sql and createlogin.sql on deployment, based on the parameters.xml, instead of the old install.sql.

The problem with this is that the old install.sql used to check is the user and login existed before trying to create them, the new script doesn't and now makes the deployment fail if they already exist.

sebastienros commented 8 years ago

The current script was given to me by the Azure team, would you mind making a PR with what you think should be changed? I could have them test it and update the 1.9.2 package.

carlwoodhouse commented 8 years ago

Yeah no worries 

— Sent from Mailbox

On Thu, Nov 5, 2015 at 5:02 PM, Sébastien Ros notifications@github.com wrote:

The current script was given to me by the Azure team, would you mind making a PR with what you think should be changed? I could have them test it and update the 1.9.2 package.

Reply to this email directly or view it on GitHub: https://github.com/OrchardCMS/Orchard/issues/6013#issuecomment-154122965