Page 1 of 1

upgradeRepository issue

PostPosted: Sun Mar 04, 2012 7:20 am
by Providence1
I'm trying to move to Sybase 11 and when I run:

servoy_server.bat -upgradeRepository


in the command line of the application_server folder I get the following issues:

C:\Servoy\application_server>servoy_server.bat -upgradeRepository
Upgrading repository.
Error upgrading repository: com.servoy.j2db.persistence.RepositoryException: com.servoy.j2db.persistence.RepositoryException: A column on table servoy_content_spec/server repository_server with name is_deprecated already exists


Attached is a picture of the servoy_content_spec table showing the is_deprecated culprit.

Many thanks in advance for the proper next step in this adventure.

Re: upgradeRepository issue

PostPosted: Tue May 01, 2012 8:46 am
by jcompagner
so you moved to a new database, where you just created a fresh new repository? And you did get that error?

Re: upgradeRepository issue

PostPosted: Tue May 01, 2012 7:50 pm
by Providence1
Yes. And I am basically stuck there as my back up of that database produces the same error.

Ever seen this behavior before?

Re: upgradeRepository issue

PostPosted: Thu May 03, 2012 12:57 pm
by jcompagner
so if you just delete all servoy tables from the repository server and then let servoy create a brand new one it fails?
That sounds like a bug, you should create a case

I think in your current setup something is gone wrong and your repository could now be in a wrong state, if you really need that repository (so you can't start over and import your solutions)
then contact support so that we can look directly in your database and try to fix it there

Re: upgradeRepository issue

PostPosted: Sat May 23, 2020 2:28 pm
by gdurniak
I realize this post is very, very old, but ...

In the Documentation for the -upgradeRepository option, please add the advice you give above e.g. "delete all servoy tables from the repository server" ( to re-build )

I needed to clean out a 7.4.3 Repository full of junk, and this important step, while obvious to you, was not to me

'Thanks !

greg