Unatended installation

Hello, I’m doing a unatended installation, because i want to try install servoy without GUI in case we need to do in a future. All the installation it’s okey, but at the point to start the server I have a trouble, and it’s that don’t run, and it’s because i don’t have installed any postgres database, and don’t know how to create one to after create the necessary servoy_repository. Any suggestion? i follow this steps.

http://wiki.servoy.com/display/public/D … stallation

I found in the application_server directory the postgres_db folder, and inside this i have the bin directory with all the executables and options, but in console i can’t execute anyone. I’m using Mac OS X

Hi pentamsi

Have you set up the servoy.properties file?

server.0.URL=jdbc\:mysql\://localhost/repository_server_61
server.0.catalog=<none>
server.0.connectionValidationType=0
server.0.driver=org.gjt.mm.mysql.Driver
server.0.enabled=true
server.0.maxConnectionsActive=30
server.0.maxConnectionsIdle=10
server.0.maxPreparedStatementsIdle=100
server.0.password=encrypted\:tLtAFvoHx4EF+Sd5llMQ3A\=\=
server.0.schema=<none>
server.0.serverName=repository_server
server.0.skipSysTables=false
server.0.userName=iniesta

This example works against a mysql connection. You can set a plain text password

server.0.password=this_is_my_password

Servoy will encrypt it for you :D

I hope this helps. Best regards, Roberto Blasco.

Hi pentamsi,

You say there is no database. Are there any subfolders in the application_server/database/ directory at all? If not then you need to use the initdb command to initialize the database cluster.
If it does have a folder structure then you can create new databases using the createdb command. Do make sure PostgreSQL is running, if not you can start it with the pg_ctl command.
All commands show help information when you add --help as argument.

Hope this helps.

Hello ROCLASI and thanks for all, in the application_server i have a subfolder called database but i don’t understand how i can inicialitate the database with this files.

And when i try to make this command i can’t start http://wiki.servoy.com/display/public/D … e+database