Servoy Server Password

Hi
I have an application working fine, but yesterday afeternon, I can´t access to Servoy Server. User or password Incorrect.

There are any option for change user and password Servoy Server?
I remember before, changing in the developer, change in the server but now this does not happen.

I use Servoy 5.1.2
PostgreSql

Thanks

Hi!

JuanMartin:
I remember before, changing in the developer, change in the server but now this does not happen.

The problem is that user info in Developer is stored in a file (security.sec), not in the database (the same behaviour that i18n keys)… Server is accesing to database to perform the login, due to this, you have to do a ‘commit’ of the changes made in the Developer to Servoy Repository (to do this, the property ‘servoy.application_server.startRepositoryAsTeamProvider’ must to be true *). This way, Servoy’ll perform the changes in database.

  • You have to disconnect temporay your resources from SVN connection if exists, and share them in Servoy Repository to do the commit.

I hope this helps!

Gracias Gerardo

Todo OK

I too upgraded to 5.2 and now when the server is running and I access it through the admin pages before I get there it is asking for an admin user and password. This was set up ok before the upgrade and now its not accepting the name/password.
I did also upgrade to using subclipse via the developer before I start the server.
Is there not a better way to upgrade than to follow the precedent forum advice?

an upgrade of servoy shouldn’t do anything with your users
Are you sure you do use the same admin user as before?

subclipse has nothing to do with the server, thats just a eclipse plugin used in the developer.

@Johan,
yes I did no change to the admin user that was there before upgrading form 5.1.x to 5.2.0 and then adding subclipse. Now running the server batch file and then attempting to access through the admin page always asks for the user/password which I enter but it does not like the answer.

In the developer I did add a new user (since security has changed) in the administrator group and set a password but this did not change the outcome (I did commit it via subclipse as well).

So any advice on how to get into the admin pages now? Should I try another user in admin group?

if you commit through subclipse then you commit into a SVN not our team server.
So you didnt update any thing at your server, for that you have to import it straight into the server (through the admin pages which is a problem)
or connect to the server to the servoy team repository and commit it then (but then you have to share your project through the servoy’s team repository and not use svn)

@Johan
So you admit this is a real issue?
There seems to be a gap here in what is expected of us to do. Use svn/subclipse or not or a mixture? THIS is confusing.

I guess I should raise a case if others agree there is no good work around situation.

Update,
I followed the advice of gerardo.gomez but when I do the share to the servoy_repository it gives an error

'Cannot share ‘ess_pitc’. null

(note that the resources is called ess_pitc)

Maybe I should re-install 5.2 and see if I get it all back?

Thomas Parry:
@Johan
So you admit this is a real issue?
There seems to be a gap here in what is expected of us to do. Use svn/subclipse or not or a mixture? THIS is confusing.

No if you have a setup like

Developer with SVN and a SVN server where you checkout and checkin your solutions.
Besides that a Servoy server where you run your solutions on (for testing or production). So i dont talk here about the server thats inside the developer so mostly the localhost:8080 on the developer machine, but really a server where you can start smart clients from.

Then those 2 things have nothing to do with each other, the only way to get a solution from your developer into your testing or production server is to export your solution as a .servoy file and then import it through the admin pages.
Users should be created on the servers admin pages (or exported with the exported solution). Committing them in the developer only commits a text file into the svn server.

What you can do is get a sql tool and connect directly on the servers repository database and checkout the user tables (and see what users are there, you could even clear those tables so that all users are gone and you have to create a new one)

OK so I cleared the users table and was then able to get in to the admin page to add proper credentials.

What is confusing for me is the developer has this user area to be able to edit but I had forgotten that it is only useful when importing a solution with these users defined. :oops:

Thanks.