ADMS trouble

ADMS trouble

Anonymous
Not applicable
3,090 Views
13 Replies
Message 1 of 14

ADMS trouble

Anonymous
Not applicable

Hi 

I hope that anyone can help. 

I tried to restore a backup to a new server but somewhere during that the system stalled, and now I can´t detach the vault or delete it. ?

It has created the name but unable to do anything but move it.

How do i proceed so that I can do a restore....? 

 

Urgent help needed

 

-Pia

0 Likes
Accepted solutions (1)
3,091 Views
13 Replies
Replies (13)
Message 2 of 14

JamesMcMullen
Autodesk
Autodesk

Hi Pia,

 

Are you able to perform the restore operation again?  What are the log files showing?  They might shed some light on what you are seeing.

 

Thanks,

Jim


James McMullen
Principal SQA Eng.
0 Likes
Message 3 of 14

Anonymous
Not applicable

Hi James 

have tried restore again, but it fails due to vault not being enabled, but i´m not able to do so, the only thing that I can do is  move it, but that fails as well. 

 

I´m quiet new to this ADMS consol......

 

I have tried to delete the few files that it has restored, but no luck, have tried to go in manually and delete the vault but no luck there either......

I have even tried to reinstall and repair, but that did n´t do the trick either.......

do I have to go in to the SQL and remove it there....?

 

What i´m i doing wrong

 

Any suggestions 

0 Likes
Message 4 of 14

cbenner
Mentor
Mentor

@Anonymous

 

On your server, go to C:\Program Data\Autodesk\VaultServer\FileStore.  find the latest .log files that you see and attach them here so that @JamesMcMullen or one of his buddies can look them over.  They may tell him what happened.

0 Likes
Message 5 of 14

Anonymous
Not applicable

Hi

Herby the log file.

0 Likes
Message 6 of 14

JamesMcMullen
Autodesk
Autodesk

Hi Pia,

 

I am unsure what files you deleted.  Were they related to the Vault installation or to what you restored?  How comfortable are you with SQL?  You may have to go in and delete some databases to get yourself going again.  I didn't see much in the log file.  

 

Thanks,

Jim 


James McMullen
Principal SQA Eng.
0 Likes
Message 7 of 14

Anonymous
Not applicable

Hi Jim

The files were related to the restore..... I restored the deleted files again. so that i´m now back to were the trouble started.

 

I´m not comfortable with SQL, (don´t even know how to get in there)

 

Do you have any idea on how to delete it in the SQL ?

 

regards

 

- Pia

0 Likes
Message 8 of 14

JamesMcMullen
Autodesk
Autodesk
Accepted solution

Hi Pia,

 

 

Warning:  I would suggest working with support or your reseller on this if you are uncomfortable with SQL.

 

You will have to download Microsoft SQL Management Studio if it is not present on your machine already.  You can find it:  https://docs.microsoft.com/en-us/sql/ssms/download-sql-server-management-studio-ssms .  Once that is complete, I would log into the SQL instance and would log out of the ADMS Console if you have not done so already.  I am going to assume that you kept the default settings during the install.  You can use "sa" for the user name and "AutodeskVault@26200" for the password.  Once inside, in the database section only delete the vaults that you created and the KnowledgeVaultMaster. Â  Leave the other databases that are present.  At this point, you will have to go out to where the databases are located and delete them.  I believe SQL will have done this but this is a double check measure.  Mine are stored in the default location which was "C:\Program Files\Microsoft SQL Server\MSSQL11.AUTODESKVAULT\MSSQL\DATA".    You will also need to delete the file store.  Again, mine are in the default location which are located "C:\ProgramData\Autodesk\VaultServer\FileStore".  At this point in time, you should be able to restore the machine.

 

Warning:  Again, I would suggest working with support or your reseller on this if you are uncomfortable with SQL.  

 

NOTE: Autodesk does not recommend going into SQL and changing anything.  I am only suggesting this solution since a back-up already exists and the current state requires this action.

 

Thanks,

Jim


James McMullen
Principal SQA Eng.
Message 9 of 14

Anonymous
Not applicable

Many thanks Jim

I will try it out tomorrow with IT support. 🙂 I´ll let you know if it´s works. 

 

Best regards 

Pia

 

0 Likes
Message 10 of 14

mflayler
Advisor
Advisor

Shot in the dark, but before you did the restore was the Vault itself enabled?  If so, you shouldn't disable a Vault before a backup in my experience.

 

Do you still have the original server running?

Did you find this reply helpful ? If so please use the Accept as Solution or Kudos button below.

Mark Flayler - Engagement Engineer

IMAGINiT Manufacturing Solutions Blog: https://resources.imaginit.com/manufacturing-solutions-blog

0 Likes
Message 11 of 14

Anonymous
Not applicable

Hi Mark

Yes it was enabled and was running, it worked perfect.

 

And yes the original server is still running, and working.

This is a new server setup.

 

-Pia

0 Likes
Message 12 of 14

mflayler
Advisor
Advisor

Well if this is a new server there are some gotchas that you have to watch out for.  Not sure if this will solve your problem, but it is worth noting.

 

If you installed the SQL instance before the Autodesk Installation you have to be aware that your version of SQL is compatible with the version of Vault you are running.

 

2017-10-04_8-34-06.jpg

 

You also need to make sure if you did pre-install SQL that you set the compatibility to 2008 and did not leave it at 2012 or 2014.  This isn't documented very well, but the database needs to be at that compatibility level.

 

If you are using SQL Express that comes with the Vault then you can use what Vault automatically installs, but if your old server is using a licensed version of SQL you should stick with that as your amount of metadata may be over the threshold for SQL Express.

 

What is your current server running and what is the new server running in regards to SQL?  What is your database size at right now from your old server's ADMS console information?

 

Did you find this reply helpful ? If so please use the Accept as Solution or Kudos button below.

Mark Flayler - Engagement Engineer

IMAGINiT Manufacturing Solutions Blog: https://resources.imaginit.com/manufacturing-solutions-blog

0 Likes
Message 13 of 14

mflayler
Advisor
Advisor

Link to Upgrade guide if you haven't already found it...

 

http://www.autodesk.com/download-vault-upgrade-guide-enu

Did you find this reply helpful ? If so please use the Accept as Solution or Kudos button below.

Mark Flayler - Engagement Engineer

IMAGINiT Manufacturing Solutions Blog: https://resources.imaginit.com/manufacturing-solutions-blog

0 Likes
Message 14 of 14

Anonymous
Not applicable

Hi Jim 

It worked, deleted the vault, in SQL and I was able to delete the bad vault. 

Thanks. 🙂

 

-Pia

0 Likes