we have beenusing MSSQL as our repository. Now wish to use Postgres.
Have installed postgres, have it running and have created blank db called servoy_repository
Edited servoy.properties so that it now points at blank pstgres db, not MSSQL.
I know the connection is ok - because if I cange anything (db name, username etc) I get an error.
So, inside servoy dev repository-server db points at the empty postgres db.
So how do I force servoy to populate it as a new repository?
I have seen a number of posts where people indicate that you should get a popup message that asks you to create a new repo - but this hasnt happened. I have opened and closed dev several times - no popup. How can I force a repo creation?
When developer is not running as team server, it will not try to contact the repository data and it does not detect missing one.
If you change the setting ‘servoy.application_server.startRepositoryAsTeamProvider’ to true (on the admin page) and restart developer, the popup will come.
Alternatively, you can run the servoy_server.bat in the Application Server directory, with the -upgradeRepository flag added(you need to edit the bat file and add in the flag just after the line that ends %1 %2 %3 %4 %5 %6 %7 %8 %9).
This will populate your repo.
Note make sure developer isn’t running when you do this and also remember to remove the flag after your done.