Password error when upgrading from 3.5.3 to 4.x

If you are having a problem using Vault, post a message here.

Moderator: SourceGear

Post Reply
tjruska
Posts: 59
Joined: Tue May 13, 2008 7:35 am
Location: Milwaukee, WI
Contact:

Password error when upgrading from 3.5.3 to 4.x

Post by tjruska » Tue Mar 17, 2009 11:44 am

Here is the scenario:
I have a copy of production unloaded to a non-prod instance. And install the current version (3.5.3) with no problems. I used the current Admin credentials. I test everything and we are good to go. I do an iisreset and then start the 4.1.4 (and tried 4.0.6) and things go fine until I get prompted for the Admin credentials. I type them in as before and get this error:
Vault upgrade pw error.jpg
Vault upgrade pw error.jpg (32.94 KiB) Viewed 3287 times
After a few attempts, I cancel. Now remember, this is the same credentials I justed used to install 3.5.3 and the one I am logged onto the actual server itself. Nothing in the sgvault.log indicating an error.
I even disabled virus scan. Anything else I need to look at or do? At this point, I can install 3.5.3 with no problems
Please advise.

Thanks, Tom

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: Password error when upgrading from 3.5.3 to 4.x

Post by Beth » Tue Mar 17, 2009 1:27 pm

The logs to look at will be your Vault Server Log and the vault_install.log found at %username%/localsettings/temp. In the Vault server log, do you see any errors? Please post that.

One thing you could do is uninstall Vault 3.5.3 and then install 4.1.4. When you uninstall, you will choose the option to keep the database. Then when you install Vault 4.1.4, it will ask you if you want to use the same database and you'll say 'yes.' The admin password then will be a setting of the admin password instead of checking to see if it matches.
Beth Kieler
SourceGear Technical Support

tjruska
Posts: 59
Joined: Tue May 13, 2008 7:35 am
Location: Milwaukee, WI
Contact:

Re: Password error when upgrading from 3.5.3 to 4.x

Post by tjruska » Tue Mar 17, 2009 6:29 pm

Here are the 2 logs as requested.
vault_install.zip
(1.88 KiB) Downloaded 163 times
In the meantime, I will try your last suggestion of uninstalling 3.5.3 first (keeping the db) and then installing 4.1.4 and will post my results.

Thanks, Tom

tjruska
Posts: 59
Joined: Tue May 13, 2008 7:35 am
Location: Milwaukee, WI
Contact:

Re: Password error when upgrading from 3.5.3 to 4.x

Post by tjruska » Wed Mar 18, 2009 6:39 am

Update. I did get farther....but. :) I got another error. I've attached the log for your review.
vault_install_031809.zip
(38.31 KiB) Downloaded 177 times
Thanks, Tom

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: Password error when upgrading from 3.5.3 to 4.x

Post by Beth » Thu Mar 19, 2009 7:54 am

I'm going to add in a few steps here and have you try again.

1) Get rid of the current Vault databases, sgmaster and sgvault, that had the upgrade fail on them. You can either delete them, or just detach them and move them elsewhere.
2) Restore the Vault 3.5.3 database.
3) Install Vault 4.0.6. Don't install the client, only the server.
4) Uninstall Vault 4.0.6 using the instructions posted here: How to uninstall Vault 4.0.6 Server
5) Install 4.1.4.

Then let me know your results.
Beth Kieler
SourceGear Technical Support

tjruska
Posts: 59
Joined: Tue May 13, 2008 7:35 am
Location: Milwaukee, WI
Contact:

Re: Password error when upgrading from 3.5.3 to 4.x

Post by tjruska » Thu Mar 19, 2009 6:55 pm

That worked! Thanks a million! Hopefully my real production upgrade will be uneventful, but at least now I am better prepared :)

Tom

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: Password error when upgrading from 3.5.3 to 4.x

Post by Beth » Fri Mar 20, 2009 7:21 am

Thanks for the update. I'm happy to hear you got it working.
Beth Kieler
SourceGear Technical Support

Post Reply