Unatended installation

Questions and answers for all installation-related topics for Servoy products

Unatended installation

Postby pentamsi » Fri Jul 13, 2012 6:04 pm

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
Image
User avatar
pentamsi
 
Posts: 335
Joined: Thu Nov 03, 2011 2:20 pm
Location: Barcelona, Spain

Re: Unatended installation

Postby Roberto Blasco » Sat Jul 14, 2012 9:58 am

Hi pentamsi

Have you set up the servoy.properties file?

Code: Select all
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

Code: Select all
server.0.password=this_is_my_password

Servoy will encrypt it for you :D

I hope this helps. Best regards, Roberto Blasco.
Un saludo. Roberto.

Madrid - Spain
Tfno: (+34) 625653066
E-mail: roberto.blasco.serrano@gmail.com
User avatar
Roberto Blasco
007
 
Posts: 355
Joined: Tue Apr 08, 2008 7:18 pm
Location: Madrid / Spain

Re: Unatended installation

Postby ROCLASI » Sat Jul 14, 2012 12:45 pm

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.
Robert Ivens
SAN Developer / Servoy Valued Professional / Servoy Certified Developer

ROCLASI Software Solutions / JBS Group, Partner
Mastodon: @roclasi
--
ServoyForge - Building Open Source Software.
PostgreSQL - The world's most advanced open source database.
User avatar
ROCLASI
Servoy Expert
 
Posts: 5438
Joined: Thu Oct 02, 2003 9:49 am
Location: Netherlands/Belgium

Re: Unatended installation

Postby pentamsi » Mon Jul 16, 2012 12:14 pm

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
Image
User avatar
pentamsi
 
Posts: 335
Joined: Thu Nov 03, 2011 2:20 pm
Location: Barcelona, Spain


Return to Installation

Who is online

Users browsing this forum: No registered users and 4 guests